{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A named group of channels within a community.",
      "key": "tid",
      "record": {
        "properties": {
          "channelOrder": {
            "description": "The channels in this category, in display order, by space key.",
            "items": {
              "description": "The space key of a channel in this category.",
              "format": "record-key",
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "description": "The category's name.",
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name",
          "channelOrder"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.colibri.beta.category",
  "lexicon": 1
}
