{
  "_comment": "SPEC.md §27 Human Accountability fixtures. Top-level OBJECT (no execution_hash, not an array) so schema-validate.mjs SKIPS it — only validate-ha-records.test.mjs consumes it. It exercises the four §27 behavioral invariants: additivity (§27.0), threshold distinctness (§27.3), override expiry (§27.5), and the signed-named-human requirement (§27.2).",

  "subject": {
    "policy_parameters": { "input_parameters": { "counterparty": "ACME-BANK", "exposure": 1250000000, "tier1_capital": 4000000000 } },
    "output_payload": { "ratio": 0.3125, "breach": true, "limit": 0.25 }
  },

  "approval_record": {
    "record_type": "approval",
    "role": "approver",
    "subject_hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
    "identity": { "id": "did:key:z6MkApprover1" },
    "decision": "approve",
    "reason_code": "REVIEWED_OK",
    "timestamp": "2026-07-23T14:00:00Z"
  },

  "threshold_records": {
    "role": "approver",
    "subject_hash": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
    "n2_distinct": [
      { "record_type": "approval", "role": "approver", "subject_hash": "sha256:1111111111111111111111111111111111111111111111111111111111111111", "identity": { "id": "did:key:zCEO" }, "audit_signature": { "proof": { "cryptosuite": "eddsa-jcs-2022", "verificationMethod": "did:key:zCEO#key-1" } } },
      { "record_type": "approval", "role": "approver", "subject_hash": "sha256:1111111111111111111111111111111111111111111111111111111111111111", "identity": { "id": "did:key:zCFO" }, "audit_signature": { "proof": { "cryptosuite": "eddsa-jcs-2022", "verificationMethod": "did:key:zCFO#key-1" } } }
    ],
    "n2_repeated_identity": [
      { "record_type": "approval", "role": "approver", "subject_hash": "sha256:1111111111111111111111111111111111111111111111111111111111111111", "identity": { "id": "did:key:zCEO" }, "audit_signature": { "proof": { "cryptosuite": "eddsa-jcs-2022", "verificationMethod": "did:key:zCEO#key-1" } } },
      { "record_type": "approval", "role": "approver", "subject_hash": "sha256:1111111111111111111111111111111111111111111111111111111111111111", "identity": { "id": "did:key:zCEO" }, "audit_signature": { "proof": { "cryptosuite": "eddsa-jcs-2022", "verificationMethod": "did:key:zCEO#key-1" } } }
    ]
  },

  "gate_precondition": {
    "role": "approver",
    "subject_hash": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
    "hold_subject_hash": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
    "override_role": "compliance_officer",
    "override_subject_hash": "sha256:2222222222222222222222222222222222222222222222222222222222222222"
  },

  "override_now": "2026-07-23T15:00:00Z",
  "override_active": {
    "record_type": "override",
    "role": "compliance_officer",
    "subject_hash": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
    "identity": { "id": "did:key:zOfficer" },
    "gate_policy": "emergency_override",
    "reason_code": "REG_DEADLINE_WAIVER",
    "override": {
      "scope": "gate:large-exposure-approval",
      "expiry": "2026-07-24T00:00:00Z",
      "subject_hash": "sha256:2222222222222222222222222222222222222222222222222222222222222222"
    },
    "timestamp": "2026-07-23T14:30:00Z",
    "audit_signature": { "proof": { "cryptosuite": "eddsa-jcs-2022", "verificationMethod": "did:key:zOfficer#key-1" } }
  },
  "override_expired": {
    "record_type": "override",
    "role": "compliance_officer",
    "subject_hash": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
    "identity": { "id": "did:key:zOfficer" },
    "gate_policy": "emergency_override",
    "reason_code": "REG_DEADLINE_WAIVER",
    "override": {
      "scope": "gate:large-exposure-approval",
      "expiry": "2026-07-22T00:00:00Z",
      "subject_hash": "sha256:2222222222222222222222222222222222222222222222222222222222222222"
    },
    "timestamp": "2026-07-21T14:30:00Z",
    "audit_signature": { "proof": { "cryptosuite": "eddsa-jcs-2022", "verificationMethod": "did:key:zOfficer#key-1" } }
  },

  "reverts_to_policy": "dual_control",

  "signed_record": {
    "record_type": "approval",
    "role": "approver",
    "subject_hash": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
    "identity": { "id": "did:key:zApprover2" },
    "audit_signature": { "proof": { "type": "DataIntegrityProof", "cryptosuite": "eddsa-jcs-2022", "verificationMethod": "did:key:zApprover2#key-1" } }
  },
  "unsigned_record": {
    "record_type": "approval",
    "role": "approver",
    "subject_hash": "sha256:3333333333333333333333333333333333333333333333333333333333333333",
    "identity": { "id": "did:key:zApprover2" }
  }
}
