Skip to content
Draft
732 changes: 732 additions & 0 deletions common/dist/schemas/annotation_v3.schema.json

Large diffs are not rendered by default.

64 changes: 0 additions & 64 deletions common/dist/schemas/checkLink_v3.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,70 +63,6 @@
}
}
],
"components": {
"schemas": {
"string": {
"title": "Check link (detailed)",
"description": "Check if an HTTP or HTTPS URL returns an acceptable status code from a GET request.",
"type": "string",
"pattern": "(^(http://|https://|\\/).*|\\$[A-Za-z0-9_]+$)",
"transform": [
"trim"
]
},
"object": {
"title": "Check link (detailed)",
"description": "Check if an HTTP or HTTPS URL returns an acceptable status code from a GET request.",
"type": "object",
"additionalProperties": false,
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "URL to check. Can be a full URL or a path. If a path is provided, `origin` must be specified.",
"pattern": "(^(http://|https://|/).*|\\$[A-Za-z0-9_]+)",
"transform": [
"trim"
]
},
"origin": {
"type": "string",
"description": "Protocol and domain to navigate to. Prepended to `url`.",
"transform": [
"trim"
]
},
"statusCodes": {
"description": "Accepted status codes. If the specified URL returns a code other than what is specified here, the action fails.",
"anyOf": [
{
"type": "integer"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
}
]
}
}
],
"default": [
200,
301,
302,
307,
308
]
}
}
}
}
},
"examples": [
"https://www.google.com",
"/search",
Expand Down
121 changes: 0 additions & 121 deletions common/dist/schemas/click_v3.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,127 +115,6 @@
"type": "boolean"
}
],
"components": {
"schemas": {
"string": {
"title": "Click element (simple)",
"type": "string",
"description": "Identifier for the element to click. Can be a selector, element text, ARIA name, ID, or test ID."
},
"button": {
"description": "Kind of click to perform.",
"type": "string",
"enum": [
"left",
"right",
"middle"
]
},
"object": {
"title": "Click element (detailed)",
"type": "object",
"anyOf": [
{
"required": [
"selector"
]
},
{
"required": [
"elementText"
]
},
{
"required": [
"elementId"
]
},
{
"required": [
"elementTestId"
]
},
{
"required": [
"elementClass"
]
},
{
"required": [
"elementAttribute"
]
},
{
"required": [
"elementAria"
]
}
],
"properties": {
"button": {
"description": "Kind of click to perform.",
"type": "string",
"enum": [
"left",
"right",
"middle"
]
},
"elementText": {
"type": "string",
"description": "Display text of the element to click. If combined with other element finding fields, the element must match all specified criteria."
},
"selector": {
"type": "string",
"description": "Selector of the element to click. If combined with other element finding fields, the element must match all specified criteria."
},
"elementId": {
"type": "string",
"description": "ID attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
},
"elementTestId": {
"type": "string",
"description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
},
"elementClass": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Class or array of classes that the element must have. Each class supports exact match or regex pattern using /pattern/ syntax. Element must have all specified classes."
},
"elementAttribute": {
"type": "object",
"description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"elementAria": {
"type": "string",
"description": "Computed accessible name of the element per ARIA specification. Supports exact match or regex pattern using /pattern/ syntax."
}
}
}
}
},
"examples": [
true,
"right",
Expand Down
Loading