{
"id": "social.colibri.channel",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"type",
"category",
"community"
],
"properties": {
"name": {
"type": "string",
"default": "New channel",
"maxLength": 32,
"minLength": 1,
"description": "The name of the channel."
},
"type": {
"enum": [
"text",
"voice",
"forum"
],
"type": "string",
"description": "The type of the channel."
},
"$type": {
"type": "string",
"format": "nsid",
"description": "The type of the record."
},
"category": {
"type": "string",
"format": "record-key",
"description": "The category this channel belongs to."
},
"community": {
"type": "string",
"format": "record-key",
"description": "The record key of the community this channel belongs to."
},
"description": {
"type": "string",
"default": "",
"maxLength": 256,
"description": "A description of the channel."
}
}
},
"description": "A channel that belongs to a category on Colibri."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}