{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alpaca/json-schema/alpaca-oath-client-response-schema.json",
  "title": "OathClientResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alpaca-oauth-api-openapi.yml#/components/schemas/OathClientResponse",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "OAuth client id"
    },
    "name": {
      "type": "string",
      "description": "Broker name (your name)"
    },
    "description": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "terms_of_use": {
      "type": "string",
      "description": "URL of Terms of Use"
    },
    "privacy_policy": {
      "type": "string",
      "description": "URL of Privacy Policy"
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "DISABLED"
      ],
      "description": "ACTIVE or DISABLED"
    },
    "redirect_uri": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "live_trading_approved": {
      "type": "boolean"
    }
  }
}