{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alpaca/json-schema/alpaca-token-response-schema.json",
  "title": "token_response",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alpaca-us-authentication-api-openapi.yml#/components/schemas/token_response",
  "properties": {
    "access_token": {
      "description": "Access token",
      "type": "string"
    },
    "expires_in": {
      "description": "Time in seconds until the token expires",
      "type": "integer"
    },
    "refresh_token": {
      "description": "Refresh token",
      "type": "string"
    },
    "token_type": {
      "description": "Type of the token (e.g., Bearer)",
      "enum": [
        "Bearer"
      ],
      "type": "string"
    }
  },
  "required": [
    "access_token",
    "expires_in",
    "token_type"
  ],
  "type": "object"
}