From
bafyreig64cfjfz2xosxspe6iujf3duarq24hmqocmjgvtaov5h7k2l3nya
indexed 2026-10-24 10:36 UTC
View this version
To
bafyreigvf7uot2cbbmrnp7ngw2xnn6q5cg6ve6z43hdz3bigdfmjpitkxu
indexed 2026-11-14 11:13 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"channelOverride": {55
"description": "Allow and deny lists scoped to a single channel.",66
"properties": {77
"allow": {88
"description": "Permissions granted within this channel.",99
"items": {1010
"type": "string"1111
},1212
"type": "array"1313
},1414
"channel": {1515
"description": "The space key of the channel this override applies to.",1616
"format": "record-key",1717
"type": "string"1818
},1919
"deny": {2020
"description": "Permissions denied within this channel. Deny beats both the base permissions and allow.",2121
"items": {2222
"type": "string"2323
},2424
"type": "array"2525
}2626
},2727
"required": [2828
"channel"2929
],3030
"type": "object"3131
},3232
"emojiBadge": {3333
"description": "A badge drawn from an emoji. Exactly one of emoji and customEmoji is set.",3434
"properties": {3535
"customEmoji": {3636
"description": "The record of a custom emoji.",3737
"ref": "social.colibri.beta.richtext.facet#customEmoji",3838
"type": "ref"3939
},4040
"emoji": {4141
"description": "A Unicode emoji.",4242
"maxGraphemes": 1,4343
"maxLength": 64,4444
"type": "string"4545
}4646
},4747
"type": "object"4848
},4949
"iconBadge": {5050
"description": "A badge drawn from the client's curated icon set.",5151
"properties": {5252
"color": {5353
"description": "Hex colour as #rrggbb. Absent means the role colour, or the client's default badge colour when the role has none.",5454
"maxLength": 7,5555
"type": "string"5656
},5757
"icon": {5858
"description": "The icon's identifier in the curated set, for example shield-check.",5959
"maxLength": 64,6060
"minLength": 1,6161
"type": "string"6262
}6363
},6464
"required": [6565
"icon"6666
],6767
"type": "object"6868
},6969
"imageBadge": {7070
"description": "A badge drawn from an uploaded image.",7171
"properties": {7272
"image": {7373
"accept": [7474
"image/jpeg",7575
"image/png",7676
"image/gif",7777
"image/webp"7878
],7979
"description": "A square image, shown at about 16 pixels.",8080
"maxSize": 262144,8181
"type": "blob"8282
}8383
},8484
"required": [8585
"image"8686
],8787
"type": "object"8888
},8989
"main": {9090
"description": "A named bundle of permissions assignable to community members.",9191
"key": "tid",9292
"record": {9393
"properties": {9494
"badge": {9595
"description": "A small badge shown next to the names of members holding this role.",9696
"refs": [9797
"#iconBadge",9898
"#imageBadge",9999
"#emojiBadge"100100
],101101
"type": "union"102102
},103103
"channelOverrides": {104
"description": "Per-channel permission overrides.",104
"description": "Deprecated, superseded by permissionOverrides on channel records. Honoured only for channels without permissionOverrides.",105105
"items": {106106
"ref": "#channelOverride",107107
"type": "ref"108108
},109109
"type": "array"110110
},111111
"color": {112112
"description": "Hex colour as #rrggbb.",113113
"maxLength": 7,114114
"type": "string"115115
},116116
"default": {117117
"default": false,118118
"description": "Whether every member holds this role from the moment they join. Set on the members role created with the community. A default role cannot be deleted.",119119
"type": "boolean"120120
},121121
"hoisted": {122122
"default": false,123123
"description": "Whether holders are listed separately in the member list.",124124
"type": "boolean"125125
},126126
"mentionable": {127127
"default": false,128128
"description": "Whether @role mentions resolve to this role.",129129
"type": "boolean"130130
},131131
"name": {132132
"description": "Display name.",133133
"maxLength": 32,134134
"minLength": 1,135135
"type": "string"136136
},137137
"permissions": {138138
"description": "Permissions granted by this role.",139139
"items": {140140
"description": "A namespaced permission identifier.",141141
"type": "string"142142
},143143
"type": "array"144144
},145145
"position": {146146
"description": "Hierarchy position. Higher outranks lower.",147147
"type": "integer"148148
},149149
"protected": {150150
"default": false,151151
"description": "Whether this role is exempt from modification and deletion. Set on the owner role created with the community.",152152
"type": "boolean"153153
}154154
},155155
"required": [156156
"name",157157
"permissions",158158
"position"159159
],160160
"type": "object"161161
},162162
"type": "record"163163
}164164
},165165
"id": "social.colibri.beta.role",166166
"lexicon": 1167167
}