{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://alxprotocol.com/protocol/1/schemas/verification-receipt.schema.json",
  "title": "ALX Verification Receipt",
  "description": "Optional non-Block record of a Graph verification decision, including an explicit record that Graph validation was not performed.",
  "$comment": "Applications may create this record after a verification decision. It is not required for core conformance, is not part of Block identity, and does not itself prove validity, authorship, or signature status.",
  "type": "object",
  "additionalProperties": false,
  "required": ["receiptVersion", "verifiedAt", "verifier", "verification"],
  "properties": {
    "receiptVersion": {
      "type": "string",
      "const": "1",
      "description": "Receipt format version. Must be '1' for v1 receipts."
    },
    "verifiedAt": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix timestamp in seconds when the verification decision was recorded."
    },
    "verifier": {
      "type": "object",
      "additionalProperties": false,
      "description": "Identity of the implementation that produced this receipt.",
      "required": ["name", "version"],
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "description": "Name of the verifying implementation."
        },
        "version": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64,
          "description": "Version of the verifying implementation."
        }
      }
    },
    "verification": {
      "$ref": "./graph-verification.schema.json",
      "description": "The scoped Graph verification result. checked=false means Graph validation was not requested or performed and status is absent."
    }
  }
}
