{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bugbug-io/json-schema/bugbug-io-patched-step-response-schema.json",
  "title": "PatchedStepResponse",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bugbug-io-openapi.json#/components/schemas/PatchedStepResponse",
  "oneOf": [
    {
      "$ref": "#/$defs/PatchedV2AnswerPromptStep"
    },
    {
      "$ref": "#/$defs/PatchedAssertStep"
    },
    {
      "$ref": "#/$defs/PatchedPastFromClipboardStep"
    },
    {
      "$ref": "#/$defs/PatchedChangeStep"
    },
    {
      "$ref": "#/$defs/PatchedClearStep"
    },
    {
      "$ref": "#/$defs/PatchedClickStep"
    },
    {
      "$ref": "#/$defs/PatchedCloseTabStep"
    },
    {
      "$ref": "#/$defs/PatchedV2DragAndDropStep"
    },
    {
      "$ref": "#/$defs/PatchedElementVisualRegressionStep"
    },
    {
      "$ref": "#/$defs/PatchedExecuteStep"
    },
    {
      "$ref": "#/$defs/PatchedGotoStep"
    },
    {
      "$ref": "#/$defs/PatchedOpenInboxStep"
    },
    {
      "$ref": "#/$defs/PatchedGoBackStep"
    },
    {
      "$ref": "#/$defs/PatchedGoForwardStep"
    },
    {
      "$ref": "#/$defs/PatchedHoverStep"
    },
    {
      "$ref": "#/$defs/PatchedIfConditionStep"
    },
    {
      "$ref": "#/$defs/PatchedMouseDownStep"
    },
    {
      "$ref": "#/$defs/PatchedMouseMoveStep"
    },
    {
      "$ref": "#/$defs/PatchedMouseUpStep"
    },
    {
      "$ref": "#/$defs/PatchedNewTabStep"
    },
    {
      "$ref": "#/$defs/PatchedPageVisualRegressionStep"
    },
    {
      "$ref": "#/$defs/PatchedReloadPageStep"
    },
    {
      "$ref": "#/$defs/PatchedScrollStep"
    },
    {
      "$ref": "#/$defs/PatchedSelectStep"
    },
    {
      "$ref": "#/$defs/PatchedSetLocalVariableStep"
    },
    {
      "$ref": "#/$defs/PatchedSwitchContext"
    },
    {
      "$ref": "#/$defs/PatchedTypeStep"
    },
    {
      "$ref": "#/$defs/PatchedUploadStep"
    }
  ],
  "$defs": {
    "PatchedAssertStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        },
        "continueOnFailure": {
          "type": "boolean",
          "default": false
        },
        "assertionProperty": {
          "enum": [
            "checked",
            "count",
            "customJavaScript",
            "exist",
            "notChecked",
            "notExist",
            "notVisible",
            "textContent",
            "hasAttribute",
            "hasNotAttribute",
            "value",
            "visible",
            "pageTitle",
            "pageShowsText",
            "pageDoesNotShowText",
            "pageUrlIs",
            "downloadStarted",
            "variableValue",
            "clipboardValue",
            "disabled",
            "notDisabled"
          ],
          "type": "string",
          "description": "* `checked` - Checked\n* `count` - Count\n* `customJavaScript` - Custom Javascript\n* `exist` - Exist\n* `notChecked` - Not Checked\n* `notExist` - Not Exist\n* `notVisible` - Not Visible\n* `textContent` - Text Content\n* `hasAttribute` - Has Attribute\n* `hasNotAttribute` - Has Not Attribute\n* `value` - Value\n* `visible` - Visible\n* `pageTitle` - Page Has Title\n* `pageShowsText` - Page Shows Text\n* `pageDoesNotShowText` - Page Does Not Show Text\n* `pageUrlIs` - Page Url Is\n* `downloadStarted` - Download Started\n* `variableValue` - Variable Value\n* `clipboardValue` - Clipboard Value\n* `disabled` - Disabled\n* `notDisabled` - Not Disabled",
          "x-spec-enum-id": "b5d5334dffa133aa"
        },
        "assertionType": {
          "enum": [
            "contain",
            "equal",
            "greaterThan",
            "lessThan",
            "match",
            "notContain",
            "notEqual",
            "notMatch",
            "any"
          ],
          "type": "string",
          "description": "* `contain` - Contain\n* `equal` - Equal\n* `greaterThan` - Greater Than\n* `lessThan` - Less Than\n* `match` - Match\n* `notContain` - Not Contain\n* `notEqual` - Not Equal\n* `notMatch` - Not Match\n* `any` - Any",
          "x-spec-enum-id": "6003949797c000b0"
        },
        "assertionCaseInsensitive": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "assertionAttributeName": {
          "type": [
            "string",
            "null"
          ]
        },
        "assertionExpectedValue": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 10000
        },
        "assertionJavaScript": {
          "type": [
            "string",
            "null"
          ],
          "description": "Required for assert and ifCondition steps. Send an empty string when unused."
        },
        "assertionVariableName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Required for assert and ifCondition steps. Send an empty string when unused."
        }
      }
    },
    "PatchedChangeStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "value": {
          "type": "string"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedClearStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedClickStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "interactionPosition": {
          "enum": [
            "smart",
            "custom",
            "topLeft",
            "topCenter",
            "topRight",
            "middleLeft",
            "middleCenter",
            "middleRight",
            "bottomLeft",
            "bottomCenter",
            "bottomRight"
          ],
          "type": "string",
          "x-spec-enum-id": "2e099846a5a8de41",
          "description": "Required interaction target position. auto is not supported.\n\n* `smart` - Smart\n* `custom` - Custom\n* `topLeft` - Top Left\n* `topCenter` - Top Center\n* `topRight` - Top Right\n* `middleLeft` - Middle Left\n* `middleCenter` - Middle Center\n* `middleRight` - Middle Right\n* `bottomLeft` - Bottom Left\n* `bottomCenter` - Bottom Center\n* `bottomRight` - Bottom Right"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedCloseTabStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        }
      }
    },
    "PatchedElementVisualRegressionStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "visualRegressionMaxDiff": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "maximum": 100,
          "minimum": 0
        },
        "visualRegressionRefScreenshots": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {}
          },
          "readOnly": true
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedExecuteStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "code": {
          "type": "string"
        }
      }
    },
    "PatchedGoBackStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        }
      }
    },
    "PatchedGoForwardStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        }
      }
    },
    "PatchedGotoStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "url": {
          "type": "string"
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        },
        "password": {
          "type": [
            "string",
            "null"
          ]
        },
        "frameLocation": {
          "type": "string"
        }
      }
    },
    "PatchedHoverStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "interactionPosition": {
          "enum": [
            "smart",
            "custom",
            "topLeft",
            "topCenter",
            "topRight",
            "middleLeft",
            "middleCenter",
            "middleRight",
            "bottomLeft",
            "bottomCenter",
            "bottomRight"
          ],
          "type": "string",
          "x-spec-enum-id": "2e099846a5a8de41",
          "description": "Required interaction target position. auto is not supported.\n\n* `smart` - Smart\n* `custom` - Custom\n* `topLeft` - Top Left\n* `topCenter` - Top Center\n* `topRight` - Top Right\n* `middleLeft` - Middle Left\n* `middleCenter` - Middle Center\n* `middleRight` - Middle Right\n* `bottomLeft` - Bottom Left\n* `bottomCenter` - Bottom Center\n* `bottomRight` - Bottom Right"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedIfConditionStep": {
      "type": "object",
      "description": "If condition steps reuse assertion_* fields as the branch condition.",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        },
        "assertionProperty": {
          "enum": [
            "checked",
            "count",
            "customJavaScript",
            "exist",
            "notChecked",
            "notExist",
            "notVisible",
            "textContent",
            "hasAttribute",
            "hasNotAttribute",
            "value",
            "visible",
            "pageTitle",
            "pageShowsText",
            "pageDoesNotShowText",
            "pageUrlIs",
            "downloadStarted",
            "variableValue",
            "clipboardValue",
            "disabled",
            "notDisabled"
          ],
          "type": "string",
          "description": "* `checked` - Checked\n* `count` - Count\n* `customJavaScript` - Custom Javascript\n* `exist` - Exist\n* `notChecked` - Not Checked\n* `notExist` - Not Exist\n* `notVisible` - Not Visible\n* `textContent` - Text Content\n* `hasAttribute` - Has Attribute\n* `hasNotAttribute` - Has Not Attribute\n* `value` - Value\n* `visible` - Visible\n* `pageTitle` - Page Has Title\n* `pageShowsText` - Page Shows Text\n* `pageDoesNotShowText` - Page Does Not Show Text\n* `pageUrlIs` - Page Url Is\n* `downloadStarted` - Download Started\n* `variableValue` - Variable Value\n* `clipboardValue` - Clipboard Value\n* `disabled` - Disabled\n* `notDisabled` - Not Disabled",
          "x-spec-enum-id": "b5d5334dffa133aa"
        },
        "assertionType": {
          "enum": [
            "contain",
            "equal",
            "greaterThan",
            "lessThan",
            "match",
            "notContain",
            "notEqual",
            "notMatch",
            "any"
          ],
          "type": "string",
          "description": "* `contain` - Contain\n* `equal` - Equal\n* `greaterThan` - Greater Than\n* `lessThan` - Less Than\n* `match` - Match\n* `notContain` - Not Contain\n* `notEqual` - Not Equal\n* `notMatch` - Not Match\n* `any` - Any",
          "x-spec-enum-id": "6003949797c000b0"
        },
        "assertionCaseInsensitive": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "assertionAttributeName": {
          "type": [
            "string",
            "null"
          ]
        },
        "assertionExpectedValue": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 10000
        },
        "assertionJavaScript": {
          "type": [
            "string",
            "null"
          ],
          "description": "Required for assert and ifCondition steps. Send an empty string when unused."
        },
        "assertionVariableName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Required for assert and ifCondition steps. Send an empty string when unused."
        }
      }
    },
    "PatchedMouseDownStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "interactionPosition": {
          "enum": [
            "smart",
            "custom",
            "topLeft",
            "topCenter",
            "topRight",
            "middleLeft",
            "middleCenter",
            "middleRight",
            "bottomLeft",
            "bottomCenter",
            "bottomRight"
          ],
          "type": "string",
          "x-spec-enum-id": "2e099846a5a8de41",
          "description": "Required interaction target position. auto is not supported.\n\n* `smart` - Smart\n* `custom` - Custom\n* `topLeft` - Top Left\n* `topCenter` - Top Center\n* `topRight` - Top Right\n* `middleLeft` - Middle Left\n* `middleCenter` - Middle Center\n* `middleRight` - Middle Right\n* `bottomLeft` - Bottom Left\n* `bottomCenter` - Bottom Center\n* `bottomRight` - Bottom Right"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedMouseMoveStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "isTargetDocument": {
          "type": "boolean",
          "default": false
        },
        "mouseMoveSteps": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 1
        },
        "mouseButtons": {
          "type": "array",
          "items": {
            "enum": [
              "left",
              "right",
              "middle",
              "back",
              "forward"
            ],
            "type": "string",
            "description": "* `left` - Left\n* `right` - Right\n* `middle` - Middle\n* `back` - Back\n* `forward` - Forward",
            "x-spec-enum-id": "d91d6c5128ab4d61"
          }
        },
        "modifierKeys": {
          "type": "array",
          "items": {
            "enum": [
              "ctrl",
              "shift",
              "alt",
              "meta"
            ],
            "type": "string",
            "description": "* `ctrl` - Ctrl\n* `shift` - Shift\n* `alt` - Alt\n* `meta` - Meta",
            "x-spec-enum-id": "1a4fb55d9c0b95a0"
          }
        },
        "interactionPosition": {
          "enum": [
            "smart",
            "custom",
            "topLeft",
            "topCenter",
            "topRight",
            "middleLeft",
            "middleCenter",
            "middleRight",
            "bottomLeft",
            "bottomCenter",
            "bottomRight"
          ],
          "type": "string",
          "description": "* `smart` - Smart\n* `custom` - Custom\n* `topLeft` - Top Left\n* `topCenter` - Top Center\n* `topRight` - Top Right\n* `middleLeft` - Middle Left\n* `middleCenter` - Middle Center\n* `middleRight` - Middle Right\n* `bottomLeft` - Bottom Left\n* `bottomCenter` - Bottom Center\n* `bottomRight` - Bottom Right",
          "x-spec-enum-id": "2e099846a5a8de41",
          "default": "smart"
        },
        "clientX": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0
        },
        "clientY": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedMouseUpStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "interactionPosition": {
          "enum": [
            "smart",
            "custom",
            "topLeft",
            "topCenter",
            "topRight",
            "middleLeft",
            "middleCenter",
            "middleRight",
            "bottomLeft",
            "bottomCenter",
            "bottomRight"
          ],
          "type": "string",
          "x-spec-enum-id": "2e099846a5a8de41",
          "description": "Required interaction target position. auto is not supported.\n\n* `smart` - Smart\n* `custom` - Custom\n* `topLeft` - Top Left\n* `topCenter` - Top Center\n* `topRight` - Top Right\n* `middleLeft` - Middle Left\n* `middleCenter` - Middle Center\n* `middleRight` - Middle Right\n* `bottomLeft` - Bottom Left\n* `bottomCenter` - Bottom Center\n* `bottomRight` - Bottom Right"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedNewTabStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        },
        "password": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PatchedOpenInboxStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "PatchedPageVisualRegressionStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "visualRegressionMaxDiff": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "maximum": 100,
          "minimum": 0
        },
        "visualRegressionRefScreenshots": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {}
          },
          "readOnly": true
        }
      }
    },
    "PatchedPastFromClipboardStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedReloadPageStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        }
      }
    },
    "PatchedScrollStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        },
        "scrollX": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "scrollY": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "scrollEdge": {
          "enum": [
            "topLeft",
            "topCenter",
            "topRight",
            "middleLeft",
            "middleCenter",
            "middleRight",
            "bottomLeft",
            "bottomCenter",
            "bottomRight",
            null
          ],
          "type": [
            "string",
            "null"
          ],
          "description": "* `topLeft` - Top Left\n* `topCenter` - Top Center\n* `topRight` - Top Right\n* `middleLeft` - Middle Left\n* `middleCenter` - Middle Center\n* `middleRight` - Middle Right\n* `bottomLeft` - Bottom Left\n* `bottomCenter` - Bottom Center\n* `bottomRight` - Bottom Right",
          "x-spec-enum-id": "c2af28dd05c2fe86"
        },
        "scrollDirection": {
          "enum": [
            "down",
            "up",
            "right",
            "left",
            null
          ],
          "type": [
            "string",
            "null"
          ],
          "description": "* `down` - Down\n* `up` - Up\n* `right` - Right\n* `left` - Left",
          "x-spec-enum-id": "1ac1b1ad25cb5e2e"
        },
        "scrollTo": {
          "enum": [
            "coords",
            "edge",
            "untilNextStepElementIsVisible",
            "elementIntoView"
          ],
          "type": "string",
          "description": "* `coords` - Coords\n* `edge` - Edge\n* `untilNextStepElementIsVisible` - Until Next Step Element Is Visible\n* `elementIntoView` - Element Into View",
          "x-spec-enum-id": "cdf882e8bb2a06b3"
        },
        "scrollInside": {
          "enum": [
            "window",
            "element"
          ],
          "type": "string",
          "description": "* `window` - window\n* `element` - element",
          "x-spec-enum-id": "49ef7ee16d921b35"
        }
      }
    },
    "PatchedSelectStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        },
        "value": {
          "type": "string"
        },
        "selectType": {
          "enum": [
            "text",
            "index",
            "value"
          ],
          "type": "string",
          "description": "* `text` - text\n* `index` - index\n* `value` - value",
          "x-spec-enum-id": "d78052ce6c74098b"
        },
        "selectIsMultiple": {
          "type": "boolean",
          "default": false
        }
      }
    },
    "PatchedSetLocalVariableStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        },
        "value": {
          "type": "string"
        },
        "code": {
          "type": [
            "string",
            "null"
          ]
        },
        "localVariableName": {
          "type": "string"
        },
        "localVariableSource": {
          "enum": [
            "element",
            "value",
            "evaluate"
          ],
          "type": "string",
          "description": "* `element` - element\n* `value` - value\n* `evaluate` - evaluate",
          "x-spec-enum-id": "c771b52c566e8cc5"
        }
      }
    },
    "PatchedSwitchContext": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        },
        "tabNo": {
          "type": "integer"
        },
        "value": {
          "enum": [
            "topFrame",
            "iframe"
          ],
          "type": "string",
          "description": "* `topFrame` - Top Frame\n* `iframe` - Iframe",
          "x-spec-enum-id": "0f88eaf62a6210dc"
        }
      }
    },
    "PatchedTypeStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "value": {
          "type": "string"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedUploadStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "projectArtifactId": {
          "type": "string",
          "format": "uuid"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        }
      }
    },
    "PatchedV2AnswerPromptStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "PatchedV2DragAndDropStep": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "atIndex": {
          "type": [
            "integer",
            "null"
          ],
          "writeOnly": true
        },
        "type": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "blockId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "originGroupId": {
          "type": "string",
          "readOnly": true
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 1024
        },
        "isActive": {
          "type": "boolean",
          "default": true
        },
        "runTimeout": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "sleep": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "minimum": 0,
          "maximum": 300
        },
        "waitingConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateStepWaitingCondition"
          }
        },
        "source": {
          "enum": [
            "api",
            "agent"
          ],
          "type": "string",
          "description": "* `api` - api\n* `agent` - agent",
          "x-spec-enum-id": "5dfddef03fa80cad",
          "writeOnly": true,
          "default": "api"
        },
        "selectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        },
        "dndDropSelectorsPresets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsPresetGroup"
          }
        },
        "dndDragOn": {
          "enum": [
            "coords",
            "element"
          ],
          "type": "string",
          "description": "* `coords` - coords\n* `element` - element",
          "x-spec-enum-id": "e098f22a8229ea7a"
        },
        "interactionPosition": {
          "enum": [
            "smart",
            "custom",
            "topLeft",
            "topCenter",
            "topRight",
            "middleLeft",
            "middleCenter",
            "middleRight",
            "bottomLeft",
            "bottomCenter",
            "bottomRight"
          ],
          "type": "string",
          "x-spec-enum-id": "2e099846a5a8de41",
          "description": "Required interaction target position. auto is not supported.\n\n* `smart` - Smart\n* `custom` - Custom\n* `topLeft` - Top Left\n* `topCenter` - Top Center\n* `topRight` - Top Right\n* `middleLeft` - Middle Left\n* `middleCenter` - Middle Center\n* `middleRight` - Middle Right\n* `bottomLeft` - Bottom Left\n* `bottomCenter` - Bottom Center\n* `bottomRight` - Bottom Right"
        },
        "dndDragX": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "dndDragY": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "dndDropOn": {
          "enum": [
            "coords",
            "element"
          ],
          "type": "string",
          "description": "* `coords` - coords\n* `element` - element",
          "x-spec-enum-id": "e098f22a8229ea7a"
        },
        "dndDropInteractionPosition": {
          "enum": [
            "smart",
            "custom",
            "topLeft",
            "topCenter",
            "topRight",
            "middleLeft",
            "middleCenter",
            "middleRight",
            "bottomLeft",
            "bottomCenter",
            "bottomRight"
          ],
          "type": "string",
          "x-spec-enum-id": "2e099846a5a8de41",
          "description": "Required interaction target position. auto is not supported.\n\n* `smart` - Smart\n* `custom` - Custom\n* `topLeft` - Top Left\n* `topCenter` - Top Center\n* `topRight` - Top Right\n* `middleLeft` - Middle Left\n* `middleCenter` - Middle Center\n* `middleRight` - Middle Right\n* `bottomLeft` - Bottom Left\n* `bottomCenter` - Bottom Center\n* `bottomRight` - Bottom Right"
        },
        "dndDropX": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "dndDropY": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        }
      }
    },
    "UpdateSelector": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "type": {
          "enum": [
            "XPath",
            "customCSS",
            "customXPath",
            "",
            null
          ],
          "type": [
            "string",
            "null"
          ],
          "description": "* `XPath` - Xpath\n* `customCSS` - Custom Css\n* `customXPath` - Custom Xpath",
          "x-spec-enum-id": "e6ba01ff20acf87a"
        },
        "selector": {
          "type": [
            "string",
            "null"
          ]
        },
        "isActive": {
          "type": "boolean"
        },
        "score": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "isActive",
        "selector",
        "type"
      ]
    },
    "UpdateSelectorsGroup": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "selectors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelector"
          }
        },
        "relation": {
          "enum": [
            "descendant",
            "ancestor",
            "sibling"
          ],
          "type": "string",
          "description": "* `descendant` - Descendant\n* `ancestor` - Ancestor\n* `sibling` - Sibling",
          "x-spec-enum-id": "8d845ba548132466"
        }
      },
      "required": [
        "relation",
        "selectors"
      ]
    },
    "UpdateSelectorsPresetGroup": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "isActive": {
          "type": "boolean",
          "default": false
        },
        "isCustom": {
          "type": "boolean",
          "default": false
        },
        "selectorsGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UpdateSelectorsGroup"
          }
        }
      },
      "required": [
        "selectorsGroups"
      ]
    },
    "UpdateStepWaitingCondition": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "documentComplete",
            "elementIsVisible",
            "elementIsNotCovered",
            "elementIsNotAnimating",
            "elementIsNotDisabled",
            "elementHasFocus",
            "networkIdle",
            "pageNavigationAfterExecution",
            "elementHasAttribute"
          ],
          "type": "string",
          "description": "* `documentComplete` - documentComplete\n* `elementIsVisible` - elementIsVisible\n* `elementIsNotCovered` - elementIsNotCovered\n* `elementIsNotAnimating` - elementIsNotAnimating\n* `elementIsNotDisabled` - elementIsNotDisabled\n* `elementHasFocus` - elementHasFocus\n* `networkIdle` - networkIdle\n* `pageNavigationAfterExecution` - pageNavigationAfterExecution\n* `elementHasAttribute` - elementHasAttribute",
          "x-spec-enum-id": "8bf476331e5e9e41"
        },
        "expected": {
          "type": [
            "string",
            "null"
          ]
        },
        "isActive": {
          "type": "boolean"
        },
        "isOverridden": {
          "type": "boolean",
          "writeOnly": true,
          "description": "Required for each item when sending waitingConditions."
        },
        "timeout": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "isActive",
        "isOverridden",
        "type"
      ]
    }
  }
}