social.colibri.beta.role

colibri.social

{
  "id": "social.colibri.beta.role",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "permissions",
          "position"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1,
            "description": "Display name."
          },
          "color": {
            "type": "string",
            "maxLength": 7,
            "description": "Hex colour as #rrggbb."
          },
          "hoisted": {
            "type": "boolean",
            "default": false,
            "description": "Whether holders are listed separately in the member list."
          },
          "position": {
            "type": "integer",
            "description": "Hierarchy position. Higher outranks lower."
          },
          "protected": {
            "type": "boolean",
            "default": false,
            "description": "Whether this role is exempt from modification and deletion. Set on the owner role created with the community."
          },
          "mentionable": {
            "type": "boolean",
            "default": false,
            "description": "Whether @role mentions resolve to this role."
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "A namespaced permission identifier."
            },
            "description": "Permissions granted by this role."
          },
          "channelOverrides": {
            "type": "array",
            "items": {
              "ref": "#channelOverride",
              "type": "ref"
            },
            "description": "Per-channel permission overrides."
          }
        }
      },
      "description": "A named bundle of permissions assignable to community members."
    },
    "channelOverride": {
      "type": "object",
      "required": [
        "channel"
      ],
      "properties": {
        "deny": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Permissions denied within this channel. Deny beats both the base permissions and allow."
        },
        "allow": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Permissions granted within this channel."
        },
        "channel": {
          "type": "string",
          "format": "record-key",
          "description": "The space key of the channel this override applies to."
        }
      },
      "description": "Allow and deny lists scoped to a single channel."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against social.colibri.beta.role

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mprdjqjluoswa7awzggaggj3
CID
bafyreigru7fs324lxdqredo7hq6vwh34jij57g6iwnde6s6h2qn7nsfysu
Indexed At
2026-08-23 12:32 UTC
AT-URI
at://did:plc:mprdjqjluoswa7awzggaggj3/com.atproto.lexicon.schema/social.colibri.beta.role

Lexicon Garden

@