{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/methodfi/main/json-schema/methodfi-well-known-jwks-response-schema.json",
  "title": "WellKnownJwksResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/methodfi-public-keys-api-openapi.yml#/components/schemas/WellKnownJwksResponse",
  "type": "object",
  "required": [
    "keys"
  ],
  "properties": {
    "keys": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JwkPublic"
      }
    }
  },
  "$defs": {
    "JwkPublic": {
      "type": "object",
      "required": [
        "kid",
        "kty",
        "alg",
        "use",
        "n",
        "e"
      ],
      "properties": {
        "kid": {
          "type": "string",
          "description": "Key identifier."
        },
        "kty": {
          "type": "string",
          "description": "Key type."
        },
        "alg": {
          "type": "string",
          "description": "JWK algorithm."
        },
        "use": {
          "type": "string",
          "description": "Intended key use."
        },
        "n": {
          "type": "string",
          "description": "RSA modulus."
        },
        "e": {
          "type": "string",
          "description": "RSA public exponent."
        }
      }
    }
  }
}