{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recognitium-com/json-schema/recognitium-com-offline-voucher-payload-schema.json",
  "title": "OfflineVoucherPayload",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recognitium-com-openapi.json#/components/schemas/OfflineVoucherPayload",
  "properties": {
    "protocol": {
      "type": "string",
      "title": "Protocol",
      "default": "BHB-OFFLINE-TICKET-v1"
    },
    "ticket_id": {
      "type": "string",
      "title": "Ticket Id"
    },
    "pack_id": {
      "type": "string",
      "title": "Pack Id"
    },
    "slot_index": {
      "type": "integer",
      "title": "Slot Index"
    },
    "key_hash": {
      "type": "string",
      "title": "Key Hash"
    },
    "issue_fingerprint": {
      "type": "string",
      "title": "Issue Fingerprint"
    },
    "issue_new_tip": {
      "type": "string",
      "title": "Issue New Tip"
    },
    "issue_timestamp_ns": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Issue Timestamp Ns"
    },
    "issue_receipt": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Issue Receipt"
    },
    "pack_merkle_root": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pack Merkle Root"
    },
    "merkle_proof": {
      "anyOf": [
        {
          "items": {
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Merkle Proof"
    },
    "content_hash": {
      "type": "string",
      "title": "Content Hash"
    },
    "wots_signature": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Wots Signature"
    }
  },
  "type": "object",
  "required": [
    "ticket_id",
    "pack_id",
    "slot_index",
    "key_hash",
    "issue_fingerprint",
    "issue_new_tip",
    "content_hash",
    "wots_signature"
  ]
}