Skip to content

context-item-index schema (v0.1)

The context-item-index file is validated by the normative JSON Schema published at its canonical URL:

PropertyTypeRequiredDescription
format"cb.context-item-index/v1"yes
schemaVersion"0.1.0"yes
deliveryIdstringyes
pinDigestDigestyes
entriesItemIndexEntry[]yesBound by its own envelope digest — see itemIndexEnvelopeDigest().

Native artifact/Batch/lineage identity (WIRE-14 source identity kinds).

PropertyTypeRequiredDescription
refType"artifact-revision"yes
artifactIdstringyes
revisionDigestyes

Tagged sha256 digest, sha256: + 64 lowercase hex — the frozen profile.

Type: string

Type: "complete" | "partial" | "unknown" | "unavailable"

PropertyTypeRequiredDescription
deliveryIdstringyes
itemIdstringyes
citationAliasstringyesCompact alias unique INSIDE this delivery — never a global ID.
canonicalPieceRefItemSourceRef | UnmanagedSourceRefyesEnrolled identity, explicit exact-source locator, or honest unknown.
sourceRefsarrayyes
contentDigestDigestyes
representationstringyes
transformRefstringyes
facetRefsstring[]yes
facetAssociationSnapshotRefDigest | nullyes
facetCoverageFacetCoverageyes
selectionRefDigest | nullyes
serveReceiptRefDigest | nullyes
operationIdsstring[]yes
coverage"full" | "partial"yes
omissionsstring[]yes
sourceSpanobject | nullyes

Type: PieceRef | ArtifactRevisionRef

Enrolled object revision reference — the preferred exact reference.

PropertyTypeRequiredDescription
refType"object-revision"yes
objectIdstringyes
revisionHashDigestyes
rootClosureDigestDigest | nullyes
kindPieceKindyes

Type: "cbrl.requirement" | "cbrl.acceptance-criteria" | "cbrl.test-case" | "ddd.aggregate" | "ddd.invariant"

Type: ObjectRevisionRef | SourceElementRef

Legacy exact-source locator (ROP-11 bridge). Proves identity in the pinned snapshot only — NO cross-rename continuity, no fabricated object IDs.

PropertyTypeRequiredDescription
refType"source-element"yes
authoritystringyes
repoScopestringyes
modelstringyes
sourceCommitDigestyes
sourceBytesDigestDigestyes
codecVersionstringyes
elementKindPieceKindyes
nativeSelectorstringyesUniquely resolved native key/owner selector — label alone is invalid.
nativeCriterionIdstringyes
selectedPayloadDigestDigest | nullyes

Honest unknown origin for unmanaged external items (WIRE-14).

PropertyTypeRequiredDescription
refType"unmanaged"yes
origin"unknown"yes

See the schemas overview for the versioning policy and how these files are generated and kept in sync.