{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "WebSockets Request",
  "description": "Request to obtain an OTP-authenticated WebSocket URL for Options trading",
  "type": "object",
  "properties": {
    "headers": {
      "type": "object",
      "properties": {
        "Deriv-App-ID": {
          "type": "string",
          "description": "Application identifier"
        },
        "Authorization": {
          "type": "string",
          "description": "Bearer token for authentication",
          "example": "Bearer YOUR_AUTH_TOKEN"
        }
      },
      "required": ["Deriv-App-ID", "Authorization"]
    },
    "path": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string",
          "description": "Options Trading account ID that the OTP is requested for",
          "example": "DOT90004580"
        }
      },
      "required": ["accountId"]
    }
  },
  "required": ["headers", "path"]
}
