PN-counter materialization.
Properties
Sum of applied increment deltas. May be negative.
View raw schema
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "integer",
"description": "Sum of applied increment deltas. May be negative."
}
},
"description": "PN-counter materialization."
}
LWW scalar register materialization.
Properties
the op hash of the op that last wrote to the register
Committed value (LWW winner).
View raw schema
{
"type": "object",
"required": [
"value",
"opId"
],
"properties": {
"opId": {
"type": "string",
"description": "the op hash of the op that last wrote to the register"
},
"value": {
"type": "unknown",
"description": "Committed value (LWW winner)."
}
},
"description": "LWW scalar register materialization."
}
A contiguous range of live atoms in a `#sq`
Properties
the index of the first atom in the run (inclusive)
the op hash of the op that minted the run
The run's payload — a string for text sequences (one atom per character), an array for list sequences (one atom per element).
View raw schema
{
"type": "object",
"required": [
"opId",
"atomIdx",
"value"
],
"properties": {
"opId": {
"type": "string",
"description": "the op hash of the op that minted the run"
},
"value": {
"type": "unknown",
"description": "The run's payload — a string for text sequences (one atom per character), an array for list sequences (one atom per element)."
},
"atomIdx": {
"type": "integer",
"description": "the index of the first atom in the run (inclusive)"
}
},
"description": "A contiguous range of live atoms in a `#sq`"
}
RGA sequence materialization (text or list).
Properties
The sequence as runs and tombstones in document order.
View raw schema
{
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"refs": [
"#run",
"#tombstone"
],
"type": "union",
"closed": true
},
"description": "The sequence as runs and tombstones in document order."
}
},
"description": "RGA sequence materialization (text or list)."
}
OR-set materialization.
View raw schema
{
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"ref": "#setItem",
"type": "ref"
},
"description": "The OR-set as items"
}
},
"description": "OR-set materialization."
}
An OR-set item
Properties
the op id of the operation that last updated this item in the set
whether the item is removed
The value of the OR-set item
View raw schema
{
"type": "object",
"required": [
"value",
"opId",
"removed"
],
"properties": {
"opId": {
"type": "string",
"description": "the op id of the operation that last updated this item in the set"
},
"value": {
"type": "unknown",
"description": "The value of the OR-set item"
},
"removed": {
"type": "boolean",
"description": "whether the item is removed"
}
},
"description": "An OR-set item"
}
A contiguous range of deleted atoms in a `#sq`
Properties
the index of the first atom in the tombstone
Number of consecutive tombstoned atoms in the range.
the op id of the operation that minted the tombstone
View raw schema
{
"type": "object",
"required": [
"opId",
"atomIdx",
"length"
],
"properties": {
"opId": {
"type": "string",
"description": "the op id of the operation that minted the tombstone"
},
"length": {
"type": "integer",
"description": "Number of consecutive tombstoned atoms in the range."
},
"atomIdx": {
"type": "integer",
"description": "the index of the first atom in the tombstone"
}
},
"description": "A contiguous range of deleted atoms in a `#sq`"
}