Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
249 changes: 249 additions & 0 deletions dist/schemas/config_v3.schema.json

Large diffs are not rendered by default.

200 changes: 200 additions & 0 deletions dist/schemas/report_v3.schema.json

Large diffs are not rendered by default.

449 changes: 449 additions & 0 deletions dist/schemas/resolvedTests_v3.schema.json

Large diffs are not rendered by default.

100 changes: 100 additions & 0 deletions dist/schemas/screenshot_v3.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,56 @@
}
}
]
},
"sourceIntegration": {
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "sourceIntegration",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"integrationName"
],
"properties": {
"type": {
"type": "string",
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
"enum": [
"heretto"
]
},
"integrationName": {
"type": "string",
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
},
"fileId": {
"type": "string",
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
},
"filePath": {
"type": "string",
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
},
"contentPath": {
"type": "string",
"description": "The local path to the file that references this source. Used for resolving relative paths."
}
},
"examples": [
{
"type": "heretto",
"integrationName": "my-heretto",
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
},
{
"type": "heretto",
"integrationName": "my-heretto",
"filePath": "images/screenshot.png",
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
}
]
}
},
"title": "Capture screenshot (detailed)"
Expand Down Expand Up @@ -383,6 +433,56 @@
}
}
]
},
"sourceIntegration": {
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "sourceIntegration",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"integrationName"
],
"properties": {
"type": {
"type": "string",
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
"enum": [
"heretto"
]
},
"integrationName": {
"type": "string",
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
},
"fileId": {
"type": "string",
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
},
"filePath": {
"type": "string",
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
},
"contentPath": {
"type": "string",
"description": "The local path to the file that references this source. Used for resolving relative paths."
}
},
"examples": [
{
"type": "heretto",
"integrationName": "my-heretto",
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
},
{
"type": "heretto",
"integrationName": "my-heretto",
"filePath": "images/screenshot.png",
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
}
]
}
},
"title": "Capture screenshot (detailed)"
Expand Down
50 changes: 50 additions & 0 deletions dist/schemas/sourceIntegration_v3.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "sourceIntegration",
"description": "Information about the source integration for a file, enabling upload of changed files back to the source CMS.",
"type": "object",
"additionalProperties": false,
"required": [
"type",
"integrationName"
],
"properties": {
"type": {
"type": "string",
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
"enum": [
"heretto"
]
},
"integrationName": {
"type": "string",
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
},
"fileId": {
"type": "string",
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
},
"filePath": {
"type": "string",
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
},
"contentPath": {
"type": "string",
"description": "The local path to the file that references this source. Used for resolving relative paths."
}
},
"examples": [
{
"type": "heretto",
"integrationName": "my-heretto",
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
},
{
"type": "heretto",
"integrationName": "my-heretto",
"filePath": "images/screenshot.png",
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
}
]
}
Loading