{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A community's operational settings. Separate from the profile record so the two have different read audiences.",
      "key": "literal:self",
      "record": {
        "properties": {
          "categoryOrder": {
            "description": "The order categories are displayed in.",
            "items": {
              "description": "A category in this community.",
              "format": "record-key",
              "type": "string"
            },
            "type": "array"
          },
          "customEmoji": {
            "default": "all",
            "description": "Which custom emoji render in this community. all allows custom emoji from any source, local only the community's own emoji, none disables custom emoji. Disallowed emoji show their fallback text. Defaults to all.",
            "knownValues": [
              "all",
              "local",
              "none"
            ],
            "type": "string"
          },
          "hideOwnerBadge": {
            "default": false,
            "description": "Whether the owner badge next to the community owner's name is hidden. Defaults to false.",
            "type": "boolean"
          },
          "labelers": {
            "description": "DIDs whose labels this community honours, in addition to the community's own. Empty means the community labels its content itself.",
            "items": {
              "description": "A labeler this community honours.",
              "format": "did",
              "type": "string"
            },
            "type": "array"
          },
          "linkEmbeds": {
            "default": true,
            "description": "Whether link previews are shown by default. Channels may override this.",
            "type": "boolean"
          },
          "overrideUserNameColors": {
            "default": false,
            "description": "Whether only role colours are shown in chat. Members' own name colours are hidden, and a member without a coloured role shows the default name colour. Defaults to false.",
            "type": "boolean"
          },
          "requiresApprovalToJoin": {
            "default": false,
            "description": "Whether joining produces an application a moderator must approve.",
            "type": "boolean"
          }
        },
        "required": [
          "categoryOrder",
          "requiresApprovalToJoin"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.colibri.beta.community.settings",
  "lexicon": 1
}
