wiki.lichen.wiki

lichen.wiki

Documentation

A wiki. The rkey is a permanent slug.

main record

A wiki. The rkey is a permanent slug.

Record Key any Any valid record key

Properties

createdAt string datetime Required

When the wiki was created.

description string Optional

Short description of the wiki's purpose or topic.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
language string Required

BCP-47 language tag for the wiki content (e.g. 'en', 'fr', 'ja').

maxLength: 16 bytes
name string Required

Display name of the wiki.

maxLength: 2560 bytesmaxGraphemes: 256 graphemes
theme string Optional

Optional theme preference set by the wiki creator (e.g. 'light', 'dark'). When present, clients should render with this theme; when absent, the viewer's own preference is used. Apps that don't recognize the name should fall back to their default.

maxLength: 64 bytes
Known values: light, dark
visibility string Required

Access level.

maxLength: 32 bytes
Known values: public, private
View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "visibility",
      "createdAt",
      "language"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 2560,
        "description": "Display name of the wiki.",
        "maxGraphemes": 256
      },
      "theme": {
        "type": "string",
        "maxLength": 64,
        "description": "Optional theme preference set by the wiki creator (e.g. 'light', 'dark'). When present, clients should render with this theme; when absent, the viewer's own preference is used. Apps that don't recognize the name should fall back to their default.",
        "knownValues": [
          "light",
          "dark"
        ]
      },
      "language": {
        "type": "string",
        "maxLength": 16,
        "description": "BCP-47 language tag for the wiki content (e.g. 'en', 'fr', 'ja')."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the wiki was created."
      },
      "visibility": {
        "type": "string",
        "maxLength": 32,
        "description": "Access level.",
        "knownValues": [
          "public",
          "private"
        ]
      },
      "description": {
        "type": "string",
        "maxLength": 3000,
        "description": "Short description of the wiki's purpose or topic.",
        "maxGraphemes": 300
      }
    }
  },
  "description": "A wiki. The rkey is a permanent slug."
}

Lexicon Garden

@