com.lopecode.bundle.version

larkworthy.bsky.social

Documentation

An append-only snapshot of a com.lopecode.bundle record taken at the moment immediately before that bundle was overwritten. Snapshots keep prior blob refs reachable from the current MST so the PDS does not garbage-collect them, and form a parent-pointer DAG via previousVersion. Snapshot rkeys are `<bundleRkey>--<tid>` so all snapshots for one bundle share a common rkey prefix and can be retrieved with a server-side range query.

main record

An append-only snapshot of a com.lopecode.bundle record taken at the moment immediately before that bundle was overwritten. Snapshots keep prior blob refs reachable from the current MST so the PDS does not garbage-collect them, and form a parent-pointer DAG via previousVersion. Snapshot rkeys are `<bundleRkey>--<tid>` so all snapshots for one bundle share a common rkey prefix and can be retrieved with a server-side range query.

Record Key any Any valid record key

Properties

previousVersion string at-uri Optional

AT-URI of the snapshot that this snapshot descends from, forming a parent pointer chain. Null/absent on the first snapshot in a chain. Multiple snapshots may share the same previousVersion (forks).

record unknown Required

Verbatim copy of the prior bundle's value, inlined so its embedded blob refs remain reachable from the current MST. Forward-compatible: future com.lopecode.bundle field additions require no schema changes here.

versionOf string at-uri Required

AT-URI of the live com.lopecode.bundle record this snapshot was taken from (same did, same bundle rkey). Redundant with the rkey prefix but kept for self-describing snapshots.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "versionOf",
      "record"
    ],
    "properties": {
      "record": {
        "type": "unknown",
        "description": "Verbatim copy of the prior bundle's value, inlined so its embedded blob refs remain reachable from the current MST. Forward-compatible: future com.lopecode.bundle field additions require no schema changes here."
      },
      "versionOf": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the live com.lopecode.bundle record this snapshot was taken from (same did, same bundle rkey). Redundant with the rkey prefix but kept for self-describing snapshots."
      },
      "previousVersion": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the snapshot that this snapshot descends from, forming a parent pointer chain. Null/absent on the first snapshot in a chain. Multiple snapshots may share the same previousVersion (forks)."
      }
    }
  },
  "description": "An append-only snapshot of a com.lopecode.bundle record taken at the moment immediately before that bundle was overwritten. Snapshots keep prior blob refs reachable from the current MST so the PDS does not garbage-collect them, and form a parent-pointer DAG via previousVersion. Snapshot rkeys are `<bundleRkey>--<tid>` so all snapshots for one bundle share a common rkey prefix and can be retrieved with a server-side range query."
}

Lexicon Garden

@