{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-authorization-server-metadata-schema.json",
  "title": "AuthorizationServerMetadata",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-oauth-discovery-api-openapi.yml#/components/schemas/AuthorizationServerMetadata",
  "properties": {
    "authorization_endpoint": {
      "description": "Authorization endpoint URL",
      "format": "uri",
      "type": "string"
    },
    "code_challenge_methods_supported": {
      "description": "Supported PKCE code challenge methods",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "grant_types_supported": {
      "description": "Supported grant types",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "introspection_endpoint": {
      "description": "Token introspection endpoint URL",
      "format": "uri",
      "type": "string"
    },
    "issuer": {
      "description": "Authorization server issuer URL",
      "format": "uri",
      "type": "string"
    },
    "jwks_uri": {
      "description": "JWK Set endpoint URL",
      "format": "uri",
      "type": "string"
    },
    "registration_endpoint": {
      "description": "Dynamic client registration endpoint URL",
      "format": "uri",
      "type": "string"
    },
    "response_types_supported": {
      "description": "Supported response types",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "scopes_supported": {
      "description": "Supported OAuth scopes",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "token_endpoint": {
      "description": "Token endpoint URL",
      "format": "uri",
      "type": "string"
    },
    "token_endpoint_auth_methods_supported": {
      "description": "Supported token endpoint authentication methods",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}