{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://h33.ai/standards/post-quantum-verified/h33-self-attestation/bundles/schema/pillar1-evidence-receipt.schema.json",
  "schema_version": "h33-pq-verified/pillar1-evidence-receipt/v1.0",
  "title": "H33 Pillar 1 — Portable Evidence Receipt",
  "description": "Quarterly evidence-cycle receipt enumerating the portable evidence artifacts H33 produced during the cycle. Each enumerated artifact carries a sha3-384 hash and a public verification command. The receipt itself is signed under triple-family PQ signatures.",
  "type": "object",
  "required": ["schema_version", "cycle_id", "issued_at", "issuer", "evidence_artifacts", "manifest_hash", "signatures", "verification_record"],
  "properties": {
    "schema_version": { "const": "h33-pq-verified/pillar1-evidence-receipt/v1.0" },
    "cycle_id": { "type": "string", "pattern": "^[0-9]{4}-Q[1-4]-[0-9]{3}$", "example": "2026-Q2-001" },
    "issued_at": { "type": "string", "format": "date-time" },
    "issuer": {
      "type": "object",
      "required": ["name", "principal", "root_authority_hash"],
      "properties": {
        "name": { "const": "H33.ai, Inc." },
        "principal": { "type": "string", "description": "Identifier of the H33 release signing principal for this cycle" },
        "root_authority_hash": { "type": "string", "pattern": "^[0-9a-f]{96}$", "description": "SHA3-384 of the H33 root authority object in force at issuance" }
      }
    },
    "evidence_artifacts": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": ["name", "type", "sha3_384", "verifier_url", "verifier_command"],
        "properties": {
          "name": { "type": "string", "example": "claim_84711.bundle" },
          "type": { "type": "string", "enum": ["portable_evidence_bundle", "submission_bundle", "audit_bundle", "attestation_bundle"] },
          "sha3_384": { "type": "string", "pattern": "^[0-9a-f]{96}$" },
          "verifier_url": { "type": "string", "format": "uri" },
          "verifier_command": { "type": "string", "example": "h33-verifier verify --bundle claim_84711.bundle" },
          "category_tag": { "type": "string", "description": "Optional — H33-74 evidence category" }
        }
      }
    },
    "manifest_hash": { "type": "string", "pattern": "^[0-9a-f]{96}$", "description": "SHA3-384 over canonical encoding of (cycle_id, issuer, evidence_artifacts) — input to the signatures below" },
    "signatures": {
      "type": "object",
      "description": "Triple-family PQ signatures over manifest_hash. All three must be present.",
      "required": ["ml_dsa_87", "slh_dsa_256s", "falcon_1024"],
      "properties": {
        "ml_dsa_87": { "type": "string", "contentEncoding": "base64" },
        "slh_dsa_256s": { "type": "string", "contentEncoding": "base64" },
        "falcon_1024": { "type": "string", "contentEncoding": "base64" }
      }
    },
    "verification_record": {
      "type": "object",
      "required": ["verifier_version", "verifier_fingerprint"],
      "properties": {
        "verifier_version": { "type": "string", "example": "h33-verifier 0.1.0" },
        "verifier_fingerprint": { "type": "string", "pattern": "^[0-9a-f]{96}$" },
        "result": { "type": "string", "enum": ["PASS", "FAIL", "PENDING"] }
      }
    }
  },
  "publishing_rule": "All hashes and signatures published. Decision content of any underlying evidence artifact is not exposed by this receipt — only the artifact's identity, type, and verification path."
}
