Skip to main content Module sidecar Copy item path Source pub use library_version::LibraryVersionCbor ;pub use sidecar_v1::AiTag ;pub use sidecar_v1::CameraId ;pub use sidecar_v1::CullFlag ;pub use sidecar_v1::Dimensions ;pub use sidecar_v1::Gps ;pub use sidecar_v1::GpsSource ;pub use sidecar_v1::Lqip ;pub use sidecar_v1::SIDECAR_SCHEMA_V1 ;pub use sidecar_v1::SidecarV1 ;pub use sidecar_v1::StackMembership ;pub use sidecar_v1::StackRole ;library_version shape Tell a signed sidecar from anything else without reading it . sidecar_v1 The CBOR sidecar schema v1 — the canonical, plaintext-local-only, signed metadata
record for an asset (SSoT: Metadata — Sidecar Schema v1 ). AlbumDocV1 An album’s signed label record. ExportPrivacy The per-export privacy choices, one per row of the privacy table. Default is the strict
choice: everything stripped. LabelContext Everything a tags_user term can see for one asset: its sidecar plus the records of the
stack and container album it belongs to, where the caller holds them. LibraryConfigCbor Region One labelled region of an image. StackDocV1 A stack’s signed label record. DocError Why a signed organization document could not be decoded or opened. LabelError Why a label was refused. LabelLevel The level a matched label sits at. RegionError Why a region shape was refused. RegionShape A region’s outline, in coordinates normalized to [0, 1] over the display orientation. ALBUM_DOC_SCHEMA_V1 The current album-document schema version. MAX_LABEL_BYTES The largest label, in UTF-8 bytes after normalization. STACK_DOC_SCHEMA_V1 The current stack-document schema version. live_region The live region a register holds, if it is neither unwritten nor deleted. merge_region_register Merge two registers for one region id. A never-written register is the identity. merge_regions Merge other’s region map into local: the union of region ids, each register merged by
merge_region_register . Commutative, associative and idempotent. normalize_label Normalize raw into a storable label: NFC, then trimmed of surrounding whitespace, then
checked against the 1–MAX_LABEL_BYTES byte bound. Case is preserved. sidecar_for_export The copy of sidecar that may cross a trust boundary under privacy. write_region Write value into a region register as a new local write: the register’s current value
becomes value stamped (ts, by), and nothing is logged as superseded — a local edit
already folded the prior state into value. Regions The sidecar’s region map: region id (UUIDv7) to its register.