cc.coffeencode.forum.config

coffeencode.cc

Documentation

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

main record

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

Record Key literal:self Fixed literal value

Properties

banner blob Optional

No description available.

maxSize: 2.0 MB
createdAt string datetime Required

An RFC 3339 formatted timestamp.

description string Optional

Markdown description of the forum.

maxLength: 20000 bytesmaxGraphemes: 2000 graphemes
icon blob Optional

No description available.

maxSize: 1.0 MB
moderators array of string did Optional

DIDs allowed to publish moderation actions for this forum.

maxLength: 50 items
name string Required

No description available.

maxLength: 640 bytesminLength: 1 bytesmaxGraphemes: 64 graphemes
tags array of string Optional

Suggested tags for posts.

maxLength: 50 items
View raw schema
{
  "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"
}

Lexicon Garden

@