Expand description
The CBOR sidecar schema v1 — the canonical, plaintext-local-only, signed metadata record for an asset (SSoT: Metadata — Sidecar Schema v1).
It is self-describing: sidecar_schema is CBOR field 0 (an integer map key, which
sorts before every text key in canonical order), so a reader detects a schema it does
not implement before parsing the rest. The signature covers every byte including the
preserved _unknown map, so stripping unknown fields invalidates it.
Structs§
- AiTag
- An AI-suggested tag (kept in a structurally separate OR-set from user tags).
- Camera
Id - Camera identifier (fingerprinting surface — stripped on export by default).
- Dimensions
- Pixel dimensions.
- Gps
- Geolocation, stored verbatim in the datum the source supplied (SSoT:
Metadata — Geolocation). Never converted at rest; datum-tagged by
datum. - Lqip
- Low-quality image placeholder (image-derived; lives in the encrypted sidecar).
- Sidecar
V1 - The signed CBOR sidecar v1.
- Stack
Membership - Stack grouping for this asset (metadata-only; never touches asset bytes).
Enums§
- Cull
Flag - Trinary culling flag (owner: Asset Organization — Culling).
Neutralis the never-flagged state and the wire-absent default. - GpsSource
- The source of a GPS fix (closed enum per protocol version).
- Stack
Role - Role of an asset within a stack.
Constants§
- SIDECAR_
SCHEMA_ V1 - The current sidecar schema version.