{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A note within a wiki. The rkey is a TID. Human-readable slug lives in the record body.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the note was created.",
            "format": "datetime",
            "type": "string"
          },
          "slug": {
            "description": "Permanent human-readable identifier, used in URLs. Fixed at creation. The note with slug '_sidebar' is the wiki's navigation.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "title": {
            "description": "The note's title at creation. The newest title on a noteRevision replaces it.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "wikiRef": {
            "description": "AT-URI of the parent wiki record.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "slug",
          "title",
          "wikiRef",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "wiki.lichen.note",
  "lexicon": 1
}
