{
"id": "tech.tokimeki.forum.thread",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"channel",
"title",
"createdAt"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 320,
"maxGraphemes": 32
},
"maxLength": 8
},
"text": {
"type": "string",
"maxLength": 40000,
"maxGraphemes": 5000
},
"embed": {
"refs": [
"tech.tokimeki.forum.defs#images"
],
"type": "union"
},
"langs": {
"type": "array",
"items": {
"type": "string",
"format": "language"
},
"maxLength": 3,
"description": "Languages of the title and text (BCP-47)."
},
"title": {
"type": "string",
"maxLength": 1280,
"maxGraphemes": 128
},
"facets": {
"type": "array",
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
}
},
"labels": {
"refs": [
"com.atproto.label.defs#selfLabels"
],
"type": "union",
"description": "Self-applied labels, e.g. for adult content."
},
"channel": {
"type": "string",
"format": "at-uri",
"description": "Space record URI of the tech.tokimeki.forum.channel this thread belongs to. A channel is a mutable container, so it is referenced by URI alone (like app.bsky.graph.listitem)."
},
"editedAt": {
"type": "string",
"format": "datetime",
"description": "Set when the thread was edited in place (putRecord with the same rkey)."
},
"createdAt": {
"type": "string",
"format": "datetime"
}
}
},
"description": "A thread (topic) opened in a forum-kind channel. Written into the opener's own repo within the space. The thread carries its own body; comments are tech.tokimeki.forum.message records referencing it."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}