{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A channel inside a server space. Written only by the server owner (space authority) into their own repo.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "description": "chat = Discord-like flat message stream. forum = thread-first board (threads required, messages reply into a thread).",
            "knownValues": [
              "chat",
              "forum"
            ],
            "type": "string"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "position": {
            "minimum": 0,
            "type": "integer"
          },
          "topic": {
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          }
        },
        "required": [
          "name",
          "kind",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.tokimeki.forum.channel",
  "lexicon": 1
}
