Skip to content
โ—‡ AirawatOS Developer
๐Ÿšง Under development โ€” this portal is being built track by track. Content will keep growing, and some sections are still placeholders.

Reference

โ† Schema catalogue

knowledge.version

domain: knowledge

A document version AS A MERKLE MANIFEST: an ordered list of chunk hashes, whose `root_hash` (a hash of that ordered list) IS the version's identity. A revision that edits one chunk mints a new blob only for that chunk; every unchanged chunk keeps its hash and is SHARED with the prior version (storage proportional to what changed). `as_of(T)` = the latest version effective at T; a cited version always resolves (its chunks are immutable). This is the AirOS knowledge design finally built โ€” nearly free on the content-addressed filestore.

FieldTypeRequiredDescription
schemaโ€”โœ“
idstringโœ“
doc_idstringโœ“
version_nointegerโœ“
root_hashstringโœ“sha2-256 of the ordered chunk_hash list โ€” the version identity (Merkle root)
chunk_countinteger
chunksarray<object>โœ“ordered manifest: [{chunk_hash, index, locator}]
supersedesstring/nullthe prior knowledge.version id this revises
created_atstring
tenantstring