A category belongs to a community and contains multiple channels on Colibri.
Record Key
tid
Timestamp-based ID
Properties
$type
string
nsid
Optional
The type of the record.
channelOrder
array
of
string
record-key
Required
The order of the channels in this category.
community
string
record-key
Required
The community this category belongs to.
name
string
Required
The name of the category.
maxLength: 32 bytesminLength: 1 bytesDefault:
New categoryView raw schema
{
"description": "A category belongs to a community and contains multiple channels on Colibri.",
"key": "tid",
"record": {
"properties": {
"$type": {
"description": "The type of the record.",
"format": "nsid",
"type": "string"
},
"channelOrder": {
"description": "The order of the channels in this category.",
"items": {
"description": "A channel in this category.",
"format": "record-key",
"type": "string"
},
"type": "array"
},
"community": {
"description": "The community this category belongs to.",
"format": "record-key",
"type": "string"
},
"name": {
"default": "New category",
"description": "The name of the category.",
"maxLength": 32,
"minLength": 1,
"type": "string"
}
},
"required": [
"name",
"channelOrder",
"community"
],
"type": "object"
},
"type": "record"
}