# social.colibri.beta.category

> Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.category)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.category/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.category/examples)

## Definitions

### `social.colibri.beta.category`

**Type**: `record`

A named group of channels within a community.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | The category's name. |
| `channelOrder` | `array` | Yes | The channels in this category, in display order, by space key. |

## Raw Schema

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