{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peopleprincipia-com/json-schema/peopleprincipia-com-attestation-verification-schema.json",
  "title": "AttestationVerification",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peopleprincipia-com-receipts-api-openapi.yml#/components/schemas/AttestationVerification",
  "type": "object",
  "required": [
    "verified",
    "record_id",
    "receipt_id",
    "checks",
    "guarantee"
  ],
  "properties": {
    "verified": {
      "type": "boolean"
    },
    "record_id": {
      "type": "string"
    },
    "receipt_id": {
      "type": "string"
    },
    "anchored_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "merkle_root": {
      "type": [
        "string",
        "null"
      ]
    },
    "record_unchanged_since_anchor": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "false => the record changed after it was anchored; null => could not be determined."
    },
    "claim": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "path": {
          "type": "string"
        },
        "claimed": {
          "type": "string"
        },
        "anchored": {
          "type": [
            "string",
            "null"
          ]
        },
        "matches": {
          "type": "boolean"
        }
      }
    },
    "external_anchor": {
      "type": [
        "object",
        "null"
      ]
    },
    "externally_confirmed": {
      "type": "boolean"
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "ok",
          "detail"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          },
          "detail": {
            "type": "string"
          }
        }
      }
    },
    "guarantee": {
      "type": "string"
    }
  }
}