Technical Paper

Data layers (Vision recap)

5.1 Data layers (Vision recap)

The Vision Paper defines the data layers; this section maps each to concrete storage and shows what is queryable from what.

LayerWhat lives hereUser accessOperations accessB2B access
DeviceOriginal receipt imageOwn dataDevice scopeDevice scope
System of recordReceipt records, line items, reward events — single managed Postgres (Neon)Own dataOperationalAggregate layer
Anonymised aggregatek-anonymous panels and indicesAggregate viewOperationalAggregate view
On-chain summaryEpoch Merkle roots (reward + price), INT eventsPublicPublicPublic

Age-based hot/warm tiering of the system of record is a scaling option, planned for when volume warrants it; today one Postgres instance holds the full history.

The strict rule: the anonymised aggregate is separated from single-user records. 5.8 specifies the transformation.