...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
const gridRowSchema = s.obj({ data: s.vec(s.con('')), metadata: s.obj({ synapseRow: s.obj({ rowId: s.con(0), versionNumber: s.con(0), etag: s.con(''), }), rowValidation: s.con(0) }), }); const gridSchema = s.obj({ doc_version: s.con('0.1.0'), columnNames: s.vec(s.con('')), columnOrder: s.arr([s.con(0)]), rows: s.arr([gridRowSchema]), }); |
name | description |
---|---|
| The semantic version of the document schema. This value will change anytime we change this schema. |
| This vector captures the name of the columns in their natural order (order they were added). Vectors are append-only (up to 256 values). Vectors allow LWW changes to each index. |
| This array defines the order that the columns should be displayed. Each value is an index into the |
| This is an |
| The row data |
| The row The object might be omitted if no additional information is included. This data should be treated as read-only for all replicas other than the hub. |
| The |
| The rowValidation value is a reference to a constant containing the JSON serialization of a: the ValidationResult object. Note: The ValidationResult is identical to results provided for Entity Validation. |
...