wiki.lichen.noteSnapshot

lichen.wiki

Documentation

A contributor's full copy of a note as they last saved it. Revisions define the note. The rkey is the note's rkey.

main record

A contributor's full copy of a note as they last saved it. Revisions define the note. The rkey is the note's rkey.

Record Key tid Timestamp-based ID

Properties

atRevision string at-uri Required

AT-URI of the head revision when this copy was saved.

content string Required

The note's whole body at atRevision.

maxLength: 1000000 bytes
createdAt string datetime Required

When this copy was saved.

noteRef string at-uri Required

AT-URI of the note record.

slug string Required

The note's slug.

maxLength: 2560 bytesmaxGraphemes: 256 graphemes
title string Required

The note's title.

maxLength: 2560 bytesmaxGraphemes: 256 graphemes
wikiRef string at-uri Required

AT-URI of the note's wiki record.

View raw schema
{
  "description": "A contributor's full copy of a note as they last saved it. Revisions define the note. The rkey is the note's rkey.",
  "key": "tid",
  "record": {
    "properties": {
      "atRevision": {
        "description": "AT-URI of the head revision when this copy was saved.",
        "format": "at-uri",
        "type": "string"
      },
      "content": {
        "description": "The note's whole body at atRevision.",
        "maxLength": 1000000,
        "type": "string"
      },
      "createdAt": {
        "description": "When this copy was saved.",
        "format": "datetime",
        "type": "string"
      },
      "noteRef": {
        "description": "AT-URI of the note record.",
        "format": "at-uri",
        "type": "string"
      },
      "slug": {
        "description": "The note's slug.",
        "maxGraphemes": 256,
        "maxLength": 2560,
        "type": "string"
      },
      "title": {
        "description": "The note's title.",
        "maxGraphemes": 256,
        "maxLength": 2560,
        "type": "string"
      },
      "wikiRef": {
        "description": "AT-URI of the note's wiki record.",
        "format": "at-uri",
        "type": "string"
      }
    },
    "required": [
      "noteRef",
      "wikiRef",
      "slug",
      "title",
      "content",
      "atRevision",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@