# app.witchsky.theme.collection

> Published by [witchsky.app](https://lexicon.garden/identity/did:plc:nstiflhvn4dywu5xlwq5wp4v)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:nstiflhvn4dywu5xlwq5wp4v/app.witchsky.theme.collection)
- [Documentation](https://lexicon.garden/lexicon/did:plc:nstiflhvn4dywu5xlwq5wp4v/app.witchsky.theme.collection/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:nstiflhvn4dywu5xlwq5wp4v/app.witchsky.theme.collection/examples)

## Definitions

### `app.witchsky.theme.collection`

**Type**: `record`

Record representing a named collection of themes.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Display name for the theme collection; can not be empty. |
| `avatar` | `blob` | No |  |
| `labels` | `union` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `description` | `string` | No |  |
| `descriptionFacets` | `array` | No |  |

## Raw Schema

```json
{
  "id": "app.witchsky.theme.collection",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "description": "Display name for the theme collection; can not be empty."
          },
          "avatar": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "maxSize": 1000000
          },
          "labels": {
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "description": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300
          },
          "descriptionFacets": {
            "type": "array",
            "items": {
              "ref": "app.bsky.richtext.facet",
              "type": "ref"
            }
          }
        }
      },
      "description": "Record representing a named collection of themes."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
