{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swarmsync-ai/json-schema/swarmsync-ai-execute-action-dto-schema.json",
  "title": "ExecuteActionDto",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/swarmsync-ai-openapi.json#/components/schemas/ExecuteActionDto",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "NAVIGATE",
        "CLICK",
        "TYPE",
        "FILL",
        "EXTRACT",
        "SCREENSHOT",
        "SCROLL",
        "WAIT",
        "WAIT_FOR",
        "KEY_PRESS",
        "HOVER",
        "SELECT_OPTION",
        "HANDLE_DIALOG",
        "NAVIGATE_BACK",
        "CONSOLE_MESSAGES",
        "EVAL",
        "EXTRACT_MAIN",
        "OUTPUT_TO_FILE",
        "ACCESSIBILITY_SNAPSHOT",
        "NETWORK_REQUESTS",
        "MAP",
        "CRAWL",
        "FINGERPRINT",
        "CHECK_CHANGED",
        "EXPORT_PROOF"
      ]
    },
    "url": {
      "type": "string"
    },
    "selector": {
      "type": "string"
    },
    "value": {
      "type": "string"
    },
    "direction": {
      "type": "string"
    },
    "amount": {
      "type": "integer"
    },
    "seconds": {
      "type": "number"
    },
    "condition": {
      "type": "string"
    },
    "timeoutMs": {
      "type": "integer"
    },
    "key": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "index": {
      "type": "integer"
    },
    "dialogAction": {
      "type": "string"
    },
    "dialogText": {
      "type": "string"
    },
    "jsCode": {
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "fmt": {
      "type": "string"
    },
    "maxChars": {
      "type": "integer"
    },
    "maxDepth": {
      "type": "integer"
    },
    "includePaths": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "excludePaths": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "type": "integer"
    },
    "previousFingerprint": {
      "type": "string"
    },
    "outputDir": {
      "type": "string"
    },
    "search": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ]
}