{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alshhbaa-com/json-schema/alshhbaa-com-oauth-authorization-server-schema.json",
  "title": "OAuthAuthorizationServer",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alshhbaa-com-openapi.json#/components/schemas/OAuthAuthorizationServer",
  "type": "object",
  "required": [
    "issuer",
    "authorization_endpoint",
    "token_endpoint",
    "agent_auth"
  ],
  "properties": {
    "issuer": {
      "type": "string",
      "format": "uri"
    },
    "authorization_endpoint": {
      "type": "string",
      "format": "uri"
    },
    "token_endpoint": {
      "type": "string",
      "format": "uri"
    },
    "revocation_endpoint": {
      "type": "string",
      "format": "uri"
    },
    "jwks_uri": {
      "type": "string",
      "format": "uri"
    },
    "response_types_supported": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "grant_types_supported": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "scopes_supported": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "agent_auth": {
      "type": "object",
      "required": [
        "skill",
        "identity_endpoint",
        "identity_types_supported"
      ],
      "properties": {
        "skill": {
          "type": "string",
          "format": "uri"
        },
        "identity_endpoint": {
          "type": "string",
          "format": "uri"
        },
        "claim_endpoint": {
          "type": "string",
          "format": "uri"
        },
        "events_endpoint": {
          "type": "string",
          "format": "uri"
        },
        "identity_types_supported": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "identity_assertion": {
          "type": "object",
          "properties": {
            "assertion_types_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "events_supported": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}