{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/riskmodels-app/json-schema/riskmodels-app-oauth-client-registration-response-schema.json",
  "title": "OAuthClientRegistrationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/riskmodels-app-authentication-api-openapi.yml#/components/schemas/OAuthClientRegistrationResponse",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "format": "uuid"
    },
    "client_id_issued_at": {
      "type": "integer",
      "description": "Unix timestamp (seconds)."
    },
    "redirect_uris": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "grant_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "response_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "token_endpoint_auth_method": {
      "type": "string",
      "enum": [
        "none"
      ],
      "description": "Public client — no client_secret is issued; PKCE binds the grant."
    },
    "client_name": {
      "type": "string",
      "description": "Present only if supplied at registration."
    }
  }
}