{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/decide-fyi/json-schema/decide-fyi-receipt-key-registry-schema.json",
  "title": "ReceiptKeyRegistry",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/decide-fyi-registries-api-openapi.yml#/components/schemas/ReceiptKeyRegistry",
  "type": "object",
  "required": [
    "ok",
    "status",
    "keys"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "status": {
      "type": "string"
    },
    "current_key_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "keys": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key_id": {
            "type": "string"
          },
          "algorithm": {
            "type": "string"
          },
          "public_key": {
            "type": "string"
          },
          "public_key_fingerprint": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}