{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://ecbyts.com/.well-known/ecbt-v2.schema.json","title":"ecbyts-zero .ecbt v2 Multi-Digest Custody Envelope","description":"Deterministic RFC 8785 JCS canonicalized custody envelope with dual SHA-256 and FIPS 202 SHA3-256 digests and Layer-1 physical invariant checks.","type":"object","additionalProperties":false,"required":["containerSchema","canonicalization","digests","invariantsL1","logicalShadowCells"],"properties":{"containerSchema":{"type":"string","const":"ecbt.container/2.0.0","description":"Fixed schema identifier for .ecbt v2 custody envelopes."},"canonicalization":{"type":"string","const":"rfc8785-jcs","description":"JSON Canonicalization Scheme (RFC 8785)."},"digests":{"type":"object","additionalProperties":false,"required":["sha-256","sha3-256"],"properties":{"sha-256":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"Lowercase 64-hex SHA-256 digest of the canonical snapshot payload."},"sha3-256":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"Lowercase 64-hex FIPS 202 SHA3-256 digest of the canonical snapshot payload."}}},"invariantsL1":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["code","title","verdict","checkedCount","violationCount","summary"],"properties":{"code":{"type":"string","enum":["INV-DIM-001","INV-CRS-002","INV-ND-003","INV-HYD-004","INV-KRIG-006"]},"title":{"type":"string","minLength":1},"verdict":{"type":"string","enum":["passed","violated","logical_shadow_masked"]},"checkedCount":{"type":"integer","minimum":0},"violationCount":{"type":"integer","minimum":0},"summary":{"type":"string","minLength":1}}}},"logicalShadowCells":{"type":"integer","minimum":0,"description":"Count of spatial grid cells masked as Logical Shadow Zone without sampling support."}}}