social.colibri.beta.category

A named group of channels within a community.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritybeta.colibri.social
Indexed
cid bafyreiextraarakpdvl2tx3yxeift5mwt2dirzmnsvi34hcuddq7zoy7vm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A named group of channels within a community.",
      "key": "tid",
      "record": {
        "properties": {
          "allowedMembers": {
            "description": "Members allowed to post in the category's channels in addition to allowedRoles.",
            "items": {
              "description": "A member permitted to post.",
              "format": "did",
              "type": "string"
            },
            "type": "array"
          },
          "allowedRoles": {
            "description": "Roles allowed to post in the category's channels. Empty means no role restriction. A channel that sets its own posting restriction overrides this.",
            "items": {
              "description": "A role permitted to post.",
              "format": "record-key",
              "type": "string"
            },
            "type": "array"
          },
          "channelOrder": {
            "description": "The channels in this category, in display order, by space key.",
            "items": {
              "description": "The space key of a channel in this category.",
              "format": "record-key",
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "description": "The category's name.",
            "maxLength": 32,
            "minLength": 1,
            "type": "string"
          },
          "ownerOnly": {
            "default": false,
            "description": "Whether only community admins may post in the category's channels. A channel that sets its own posting restriction overrides this.",
            "type": "boolean"
          },
          "visibleToMembers": {
            "description": "Members that may read the category's channels in addition to visibleToRoles.",
            "items": {
              "description": "A member permitted to read.",
              "format": "did",
              "type": "string"
            },
            "type": "array"
          },
          "visibleToRoles": {
            "description": "Roles that may read the category's channels. Empty or absent means every member may read them. A channel with its own non-empty visibleToRoles or visibleToMembers overrides this. A non-empty list makes the category's other channels private, enforced the same way as a private channel.",
            "items": {
              "description": "A role permitted to read.",
              "format": "record-key",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "channelOrder"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.colibri.beta.category",
  "lexicon": 1
}