{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeshub/json-schema/pipeshub-open-idconfiguration-schema.json",
  "title": "OpenIDConfiguration",
  "description": "OpenID Connect Discovery Response (RFC 8414).\nContains authorization server metadata.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeshub-openid-connect-api-openapi.yml#/components/schemas/OpenIDConfiguration",
  "type": "object",
  "properties": {
    "issuer": {
      "type": "string",
      "format": "uri",
      "description": "Authorization server issuer URL"
    },
    "authorization_endpoint": {
      "type": "string",
      "format": "uri",
      "description": "OAuth authorization endpoint"
    },
    "token_endpoint": {
      "type": "string",
      "format": "uri",
      "description": "OAuth token endpoint"
    },
    "userinfo_endpoint": {
      "type": "string",
      "format": "uri",
      "description": "OpenID Connect UserInfo endpoint"
    },
    "revocation_endpoint": {
      "type": "string",
      "format": "uri",
      "description": "Token revocation endpoint"
    },
    "introspection_endpoint": {
      "type": "string",
      "format": "uri",
      "description": "Token introspection endpoint"
    },
    "jwks_uri": {
      "type": "string",
      "format": "uri",
      "description": "JSON Web Key Set endpoint"
    },
    "scopes_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported OAuth scopes"
    },
    "response_types_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported OAuth response types"
    },
    "grant_types_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported grant types"
    },
    "token_endpoint_auth_methods_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported client authentication methods"
    },
    "subject_types_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported subject identifier types"
    },
    "id_token_signing_alg_values_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported ID token signing algorithms"
    },
    "claims_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported claims in ID tokens/UserInfo"
    },
    "code_challenge_methods_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Supported PKCE code challenge methods (only `S256`)"
    }
  }
}