@xyo-network/xl1-statement-graph-schemas
v0.5.3
Published
Canonical schema definitions for the XYO Statement Graph — the append-only network.xyo.statement.claim grammar (multi-hash fan-out), lossless record shapes, the replay contract, and conformance fixtures.
Keywords
Readme
@xyo-network/xl1-statement-graph-schemas
Canonical schema definitions for the XYO Statement Graph (see the repository WHITEPAPER):
- the closed lifecycle grammar — one unversioned
network.xyo.statement.claimwith required address-or-hashsubjectandhashes[]fan-out (StatementFieldsZod: min 1, unique,MAX_CLAIM_HASHES= 256), consumed from[email protected], plus the strict meta-stripped guard (isClaim); - lossless record shapes (Whitepaper §6.5): identity-bearing
subjectonClaimRecordandAppliedEventRecord; append-only two clocks (frozenfirstBlock/firstEventHash, movinglastBlock; nostate); one applied record per fanned entry with the normative tx-majorblockEventOrdinal+hashIndex(§6.6);ObjectRecord; andUnresolvedEventReference; - the replay contract (§8.2): network, floor/through blocks,
indexedSchemaPolicy,foldVersion, and the declared off-chain object/auxiliary corpus (retaining the historicaleventBodyCorpusfield name for wire compatibility); elevated Claim bodies come from finalized blocks; - conformance fixtures with precomputed dataHashes, exported at
./fixtures/statement.json/./fixtures/fold.jsonand SHA-256 inventory-pinned.
No fold or gate logic lives here — that is @xyo-network/xl1-statement-graph-protocol.
Fixtures regenerate only via pnpm fixtures:refresh.
License
LGPL-3.0-only © XY Labs / XYO Foundation
