social.colibri.community
Schema Diff
+7 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 2 non-breaking changes.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "social.colibri.community:body.requiresApprovalToJoin", sort: "default", value: "true" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "social.colibri.community:body.requiresApprovalToJoin" }
- AddedEdge AddedEdge { src: "social.colibri.community:body", tgt: "social.colibri.community:body.requiresApprovalToJoin", kind: "prop", name: Some("requiresApprovalToJoin") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.community:body.requiresApprovalToJoin" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "social.colibri.community:body.requiresApprovalToJoin", sort: "default", value: "true" }
Additional Notes
- Non-breaking: AddedEdge { src: "social.colibri.community:body", tgt: "social.colibri.community:body.requiresApprovalToJoin", kind: "prop", name: Some("requiresApprovalToJoin") }
1
1
{
2
2
"id": "social.colibri.community",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"name",
11
11
"description",
12
-
"categoryOrder"
12
+
"categoryOrder",
13
+
"requiresApprovalToJoin"
13
14
],
14
15
"properties": {
15
16
"name": {
16
17
"type": "string",
17
18
"default": "New Community",
18
19
"maxLength": 32,
19
20
"minLength": 1,
20
21
"description": "The name of the community."
21
22
},
22
23
"$type": {
23
24
"type": "string",
24
25
"format": "nsid",
25
26
"description": "The type of the record."
26
27
},
27
28
"picture": {
28
29
"type": "blob",
29
30
"accept": [
30
31
"image/jpeg",
31
32
"image/png",
32
33
"image/gif"
33
34
],
34
35
"description": "An image for the community that will be shown to users."
35
36
},
36
37
"description": {
37
38
"type": "string",
38
39
"default": "",
39
40
"maxLength": 256,
40
41
"description": "A description of the community."
41
42
},
42
43
"categoryOrder": {
43
44
"type": "array",
44
45
"items": {
45
46
"type": "string",
46
47
"format": "record-key",
47
48
"description": "A category in this community."
48
49
},
49
50
"description": "The order of the categories in this community."
51
+
},
52
+
"requiresApprovalToJoin": {
53
+
"type": "boolean",
54
+
"default": true,
55
+
"description": "Whether users can chat in this community without the owner having to create an acknowledgement record."
50
56
}
51
57
}
52
58
},
53
59
"description": "A community, or \"server\", is where users join to interact with each other on Colibri."
54
60
}
55
61
},
56
62
"$type": "com.atproto.lexicon.schema",
57
63
"lexicon": 1,
58
64
"revision": 1
59
65
}