{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Declares a board available on this atchan service. Published from the service's own identity as the canonical board registry. The record key is the board's identifier.",
      "key": "any",
      "record": {
        "properties": {
          "bumpLimit": {
            "description": "Maximum number of replies that keep bumping a thread to the top of the board. Omit for no limit.",
            "minimum": 1,
            "type": "integer"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Short description of the board's topic or purpose",
            "maxGraphemes": 500,
            "maxLength": 5000,
            "type": "string"
          },
          "labels": {
            "description": "List of labels applied to this board. Client decides how to interpret them. Some use-cases are to enable specific themes, tag a board as NSFW or an authenticated-only visibility.",
            "items": {
              "maxGraphemes": 20,
              "maxLength": 200,
              "type": "string"
            },
            "type": "array"
          },
          "order": {
            "description": "Sort order for board listings",
            "type": "integer"
          },
          "rules": {
            "description": "A string of rules that apply to this board. Markdown should be rendered.",
            "maxGraphemes": 2000,
            "maxLength": 20000,
            "type": "string"
          },
          "title": {
            "description": "Human-readable board name",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          }
        },
        "required": [
          "title",
          "description",
          "labels",
          "rules",
          "order",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.atchan.board",
  "lexicon": 1
}
