{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/appium/refs/heads/main/json-schema/appium-server-action-sequence-schema.json",
  "title": "ActionSequence",
  "description": "A sequence of W3C Actions API input actions for a single input source",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "pointer",
        "key",
        "wheel",
        "none"
      ],
      "description": "The type of input source",
      "example": "pointer"
    },
    "id": {
      "type": "string",
      "description": "Unique identifier for this input source",
      "example": "finger1"
    },
    "parameters": {
      "type": "object",
      "description": "Input source parameters"
    },
    "actions": {
      "type": "array",
      "description": "List of individual action objects",
      "items": {
        "type": "object"
      }
    }
  }
}