space.ziran.doc

lexicons.pds.ziran.space

Documentation

A live document in a workspace, written by the document's creator: the partial manifest linking a Ziran tile to its online identity. Document discovery in a space is the union of these records across member repos. The record's author is the sole authority for the document's role assignments; roles are enforced by tiles, not by the protocol.

main record

A live document in a workspace, written by the document's creator: the partial manifest linking a Ziran tile to its online identity. Document discovery in a space is the union of these records across member repos. The record's author is the sole authority for the document's role assignments; roles are enforced by tiles, not by the protocol.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

model string nsid Required

Identifier of the tile model this document instantiates.

name string Required

Human-readable document name.

maxLength: 2000 bytesmaxGraphemes: 200 graphemes
roles unknown Optional

Per-document role assignments in the tile's own vocabulary: a map from DID (or the key 'default') to a role name.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "model",
      "createdAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 2000,
        "description": "Human-readable document name.",
        "maxGraphemes": 200
      },
      "model": {
        "type": "string",
        "format": "nsid",
        "description": "Identifier of the tile model this document instantiates."
      },
      "roles": {
        "type": "unknown",
        "description": "Per-document role assignments in the tile's own vocabulary: a map from DID (or the key 'default') to a role name."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "A live document in a workspace, written by the document's creator: the partial manifest linking a Ziran tile to its online identity. Document discovery in a space is the union of these records across member repos. The record's author is the sole authority for the document's role assignments; roles are enforced by tiles, not by the protocol."
}

Lexicon Garden

@