space.ziran.op

lexicons.pds.ziran.space

Documentation

One tp-sync frame for a document, written by any member into their own repo. Ops are never deleted: a document is always rebuildable from an initial checkpoint plus the full op history. Per-author order is the repo's rev order; cross-author order is causal via parents, with deterministic (rev, author) tiebreak between concurrent siblings.

main record

One tp-sync frame for a document, written by any member into their own repo. Ops are never deleted: a document is always rebuildable from an initial checkpoint plus the full op history. Per-author order is the repo's rev order; cross-author order is causal via parents, with deterministic (rev, author) tiebreak between concurrent siblings.

Record Key tid Timestamp-based ID

Properties

bytes bytes Required

The tp-sync frame payload.

maxLength: 1000000
doc string tid Required

rkey of the space.ziran.doc record this op belongs to.

parents array of ref #parent Required

Op-DAG heads the author had seen when this op was created. Empty for a document's first op.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "doc",
      "parents",
      "bytes"
    ],
    "properties": {
      "doc": {
        "type": "string",
        "format": "tid",
        "description": "rkey of the space.ziran.doc record this op belongs to."
      },
      "bytes": {
        "type": "bytes",
        "maxLength": 1000000,
        "description": "The tp-sync frame payload."
      },
      "parents": {
        "type": "array",
        "items": {
          "ref": "#parent",
          "type": "ref"
        },
        "description": "Op-DAG heads the author had seen when this op was created. Empty for a document's first op."
      }
    }
  },
  "description": "One tp-sync frame for a document, written by any member into their own repo. Ops are never deleted: a document is always rebuildable from an initial checkpoint plus the full op history. Per-author order is the repo's rev order; cross-author order is causal via parents, with deterministic (rev, author) tiebreak between concurrent siblings."
}
parent object

No description available.

Properties

author string did Required

DID of the parent op's author.

rkey string tid Required

rkey of the parent op record in the author's repo.

View raw schema
{
  "type": "object",
  "required": [
    "author",
    "rkey"
  ],
  "properties": {
    "rkey": {
      "type": "string",
      "format": "tid",
      "description": "rkey of the parent op record in the author's repo."
    },
    "author": {
      "type": "string",
      "format": "did",
      "description": "DID of the parent op's author."
    }
  }
}

Lexicon Garden

@