social.colibri.community
Schema Diff
+4 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A community, or \"server\", is where users join to interact with each other on Colibri. Singleton record on the community DID's repo.",
6
6
"key": "literal:self",
7
7
"record": {
8
8
"properties": {
9
9
"$type": {
10
10
"description": "The type of the record.",
11
11
"format": "nsid",
12
12
"type": "string"
13
13
},
14
14
"appview": {
15
15
"description": "DID of the AppView that administers this community and acts as its off-protocol hub (Humming presence relay and voice SFU host). Written by the credential-holding AppView. Consumers that find this field absent fall back to did:web:api.colibri.social.",
16
16
"format": "did",
17
17
"type": "string"
18
18
},
19
19
"banner": {
20
20
"accept": [
21
21
"image/jpeg",
22
22
"image/png",
23
-
"image/gif"
23
+
"image/gif",
24
+
"image/webp"
24
25
],
25
26
"description": "A banner for the community that will be shown to users.",
26
27
"type": "blob"
27
28
},
28
29
"categoryOrder": {
29
30
"description": "The order of the categories in this community.",
30
31
"items": {
31
32
"description": "A category in this community.",
32
33
"format": "record-key",
33
34
"type": "string"
34
35
},
35
36
"type": "array"
36
37
},
37
38
"description": {
38
39
"default": "",
39
40
"description": "A description of the community.",
40
41
"maxLength": 256,
41
42
"type": "string"
42
43
},
43
44
"migratedFrom": {
44
45
"description": "Set on a community created by migrating a legacy community. Points at the legacy community record this one replaces.",
45
46
"format": "at-uri",
46
47
"type": "string"
47
48
},
48
49
"migratedTo": {
49
50
"description": "Set on a legacy community record once it has been migrated. Points at the new community record that replaces it; consumers treat this community as retired and hide it.",
50
51
"format": "at-uri",
51
52
"type": "string"
52
53
},
53
54
"name": {
54
55
"default": "New Community",
55
56
"description": "The name of the community.",
56
57
"maxLength": 32,
57
58
"minLength": 1,
58
59
"type": "string"
59
60
},
60
61
"picture": {
61
62
"accept": [
62
63
"image/jpeg",
63
64
"image/png",
64
-
"image/gif"
65
+
"image/gif",
66
+
"image/webp"
65
67
],
66
68
"description": "An image for the community that will be shown to users.",
67
69
"type": "blob"
68
70
},
69
71
"requiresApprovalToJoin": {
70
72
"default": true,
71
73
"description": "Whether users can chat in this community without the owner having to create an acknowledgement record.",
72
74
"type": "boolean"
73
75
}
74
76
},
75
77
"required": [
76
78
"name",
77
79
"description",
78
80
"categoryOrder",
79
81
"requiresApprovalToJoin"
80
82
],
81
83
"type": "object"
82
84
},
83
85
"type": "record"
84
86
}
85
87
},
86
88
"id": "social.colibri.community",
87
89
"lexicon": 1,
88
90
"revision": 4
89
91
}