{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/raiffeisen-ru/main/json-schema/raiffeisen-ru-public-jwks-response-dto-schema.json",
  "title": "PublicJwksResponseDTO",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/raiffeisen-ru-authorization-openapi.yml#/components/schemas/PublicJwksResponseDTO",
  "type": "object",
  "required": [
    "keys"
  ],
  "properties": {
    "keys": {
      "type": "array",
      "description": "Публичные RSA-ключи для проверки подписи JWT.",
      "items": {
        "type": "object",
        "required": [
          "kty",
          "kid",
          "use",
          "alg",
          "n",
          "e"
        ],
        "properties": {
          "kty": {
            "type": "string",
            "description": "Тип ключа."
          },
          "kid": {
            "type": "string",
            "description": "Идентификатор ключа, соответствующий заголовку kid проверяемого JWT."
          },
          "use": {
            "type": "string",
            "description": "Назначение ключа."
          },
          "alg": {
            "type": "string",
            "description": "Алгоритм подписи."
          },
          "n": {
            "type": "string",
            "description": "Модуль RSA в формате Base64url."
          },
          "e": {
            "type": "string",
            "description": "Публичная экспонента RSA в формате Base64url."
          }
        }
      }
    }
  }
}