{
"id": "wiki.lichen.wiki",
"defs": {
"main": {
"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."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}