{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "WebSocket Real Upgrade (request)",
  "description": "Request to upgrade the connection to a WebSocket scoped to a real-money Options Trading account.",
  "type": "object",
  "properties": {
    "query": {
      "type": "object",
      "properties": {
        "otp": {
          "type": "string",
          "description": "One-time password generated by POST /trading/v1/options/accounts/{accountId}/otp",
          "example": "abc123xyz789"
        }
      },
      "required": ["otp"]
    }
  },
  "required": ["query"]
}
