# cc.coffeencode.forum.post

> A top-level forum post.

- Kind: record
- Record key: tid
- Authority: forum.coffeencode.cc
- Lexicon: 1
- Published by [coffeencode.cc](https://lexicon.garden/identity/did:plc:z7hzwpuv5ytin56wecfxa4mx), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.forum.post)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.forum.post/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.forum.post/analytics)

## Record (`cc.coffeencode.forum.post`)

Type: record · key tid

### Properties

- `content` (string, required): Markdown body.
  - Constraints: maxLength: 300000, maxGraphemes: 100000
- `createdAt` (string · datetime, required)
- `editedAt` (string · datetime)
- `forum` (string · at-uri, required): AT-URI of the forum's cc.coffeencode.forum.config record.
- `images` (array)
  - Constraints: maxLength: 10
  - `items` (ref)
    - Reference: `cc.coffeencode.forum.defs#image`
- `labels` (union): Self-applied content labels (e.g. NSFW).
  - One of: `com.atproto.label.defs#selfLabels`
- `langs` (array)
  - Constraints: maxLength: 3
  - `items` (string · language)
- `tags` (array)
  - Constraints: maxLength: 8
  - `items` (string)
    - Constraints: maxLength: 320, maxGraphemes: 32
- `title` (string, required)
  - Constraints: minLength: 1, maxLength: 3000, maxGraphemes: 300

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A top-level forum post.",
      "key": "tid",
      "record": {
        "properties": {
          "content": {
            "description": "Markdown body.",
            "maxGraphemes": 100000,
            "maxLength": 300000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "editedAt": {
            "format": "datetime",
            "type": "string"
          },
          "forum": {
            "description": "AT-URI of the forum's cc.coffeencode.forum.config record.",
            "format": "at-uri",
            "type": "string"
          },
          "images": {
            "items": {
              "ref": "cc.coffeencode.forum.defs#image",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "labels": {
            "description": "Self-applied content labels (e.g. NSFW).",
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union"
          },
          "langs": {
            "items": {
              "format": "language",
              "type": "string"
            },
            "maxLength": 3,
            "type": "array"
          },
          "tags": {
            "items": {
              "maxGraphemes": 32,
              "maxLength": 320,
              "type": "string"
            },
            "maxLength": 8,
            "type": "array"
          },
          "title": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "forum",
          "title",
          "content",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "cc.coffeencode.forum.post",
  "lexicon": 1
}
```
