social.colibri.community
Schema Diff
+7 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 1 non-breaking change.
Breaking Changes (1)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "social.colibri.community:body", src: "social.colibri.community:body", tgt: "social.colibri.community:body.requiresApprovalToJoin", kind: "prop", name: Some("requiresApprovalToJoin") }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "social.colibri.community:body.requiresApprovalToJoin" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.community:body.requiresApprovalToJoin" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "social.colibri.community:body", src: "social.colibri.community:body", tgt: "social.colibri.community:body.requiresApprovalToJoin", kind: "prop", name: Some("requiresApprovalToJoin") }
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.",
6
6
"key": "tid",
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
"categoryOrder": {
15
15
"description": "The order of the categories in this community.",
16
16
"items": {
17
17
"description": "A category in this community.",
18
18
"format": "record-key",
19
19
"type": "string"
20
20
},
21
21
"type": "array"
22
22
},
23
23
"description": {
24
24
"default": "",
25
25
"description": "A description of the community.",
26
26
"maxLength": 256,
27
27
"type": "string"
28
28
},
29
29
"name": {
30
30
"default": "New Community",
31
31
"description": "The name of the community.",
32
32
"maxLength": 32,
33
33
"minLength": 1,
34
34
"type": "string"
35
35
},
36
36
"picture": {
37
37
"accept": [
38
38
"image/jpeg",
39
39
"image/png",
40
40
"image/gif"
41
41
],
42
42
"description": "An image for the community that will be shown to users.",
43
43
"type": "blob"
44
+
},
45
+
"requiresApprovalToJoin": {
46
+
"default": true,
47
+
"description": "Whether users can chat in this community without the owner having to create an acknowledgement record.",
48
+
"type": "boolean"
44
49
}
45
50
},
46
51
"required": [
47
52
"name",
48
53
"description",
49
-
"categoryOrder"
54
+
"categoryOrder",
55
+
"requiresApprovalToJoin"
50
56
],
51
57
"type": "object"
52
58
},
53
59
"type": "record"
54
60
}
55
61
},
56
62
"id": "social.colibri.community",
57
63
"lexicon": 1,
58
64
"revision": 1
59
65
}