# cc.coffeencode.forum.config

> Published by [coffeencode.cc](https://lexicon.garden/identity/did:plc:z7hzwpuv5ytin56wecfxa4mx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.forum.config)
- [Documentation](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.forum.config/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.forum.config/examples)

## Definitions

### `cc.coffeencode.forum.config`

**Type**: `record`

Forum configuration. Lives in the forum owner's repo at rkey 'self'. The owner is implicitly a moderator.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `banner` | `blob` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `description` | `string` | No | Markdown description of the forum. |
| `icon` | `blob` | No |  |
| `moderators` | `array` | No | DIDs allowed to publish moderation actions for this forum. |
| `name` | `string` | Yes |  |
| `rules` | `array` | No |  |
| `tags` | `array` | No | Suggested tags for posts. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Forum configuration. Lives in the forum owner's repo at rkey 'self'. The owner is implicitly a moderator.",
      "key": "literal:self",
      "record": {
        "properties": {
          "banner": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 2000000,
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Markdown description of the forum.",
            "maxGraphemes": 2000,
            "maxLength": 20000,
            "type": "string"
          },
          "icon": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "moderators": {
            "description": "DIDs allowed to publish moderation actions for this forum.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "rules": {
            "items": {
              "ref": "cc.coffeencode.forum.defs#rule",
              "type": "ref"
            },
            "maxLength": 20,
            "type": "array"
          },
          "tags": {
            "description": "Suggested tags for posts.",
            "items": {
              "maxGraphemes": 32,
              "maxLength": 320,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "cc.coffeencode.forum.config",
  "lexicon": 1
}
```
