social.colibri.community
Schema Diff
+18 -2
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "social.colibri.community:body.banner" }
- AddedVertex AddedVertex { vertex_id: "social.colibri.community:body.linkEmbeds" }
- AddedEdge AddedEdge { src: "social.colibri.community:body", tgt: "social.colibri.community:body.banner", kind: "prop", name: Some("banner") }
- AddedEdge AddedEdge { src: "social.colibri.community:body", tgt: "social.colibri.community:body.linkEmbeds", kind: "prop", name: Some("linkEmbeds") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.community:body.banner" }AddedVertex { vertex_id: "social.colibri.community:body.linkEmbeds" }
Additional Notes
- Non-breaking: AddedEdge { src: "social.colibri.community:body", tgt: "social.colibri.community:body.banner", kind: "prop", name: Some("banner") }
- Non-breaking: AddedEdge { src: "social.colibri.community:body", tgt: "social.colibri.community:body.linkEmbeds", kind: "prop", name: Some("linkEmbeds") }
1
1
{
2
2
"id": "social.colibri.community",
3
3
"defs": {
4
4
"main": {
5
5
"key": "literal:self",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"name",
11
11
"description",
12
12
"categoryOrder",
13
13
"requiresApprovalToJoin"
14
14
],
15
15
"properties": {
16
16
"name": {
17
17
"type": "string",
18
18
"default": "New Community",
19
19
"maxLength": 32,
20
20
"minLength": 1,
21
21
"description": "The name of the community."
22
22
},
23
23
"$type": {
24
24
"type": "string",
25
25
"format": "nsid",
26
26
"description": "The type of the record."
27
27
},
28
+
"banner": {
29
+
"type": "blob",
30
+
"accept": [
31
+
"image/jpeg",
32
+
"image/png",
33
+
"image/gif",
34
+
"image/webp"
35
+
],
36
+
"description": "A banner for the community that will be shown to users."
37
+
},
28
38
"appview": {
29
39
"type": "string",
30
40
"format": "did",
31
41
"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."
32
42
},
33
43
"picture": {
34
44
"type": "blob",
35
45
"accept": [
36
46
"image/jpeg",
37
47
"image/png",
38
-
"image/gif"
48
+
"image/gif",
49
+
"image/webp"
39
50
],
40
51
"description": "An image for the community that will be shown to users."
41
52
},
53
+
"linkEmbeds": {
54
+
"type": "boolean",
55
+
"default": true,
56
+
"description": "Whether link previews are displayed in this community by default. Individual channels may override this."
57
+
},
42
58
"migratedTo": {
43
59
"type": "string",
44
60
"format": "at-uri",
45
61
"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."
46
62
},
47
63
"description": {
48
64
"type": "string",
49
65
"default": "",
50
66
"maxLength": 256,
51
67
"description": "A description of the community."
52
68
},
53
69
"migratedFrom": {
54
70
"type": "string",
55
71
"format": "at-uri",
56
72
"description": "Set on a community created by migrating a legacy community. Points at the legacy community record this one replaces."
57
73
},
58
74
"categoryOrder": {
59
75
"type": "array",
60
76
"items": {
61
77
"type": "string",
62
78
"format": "record-key",
63
79
"description": "A category in this community."
64
80
},
65
81
"description": "The order of the categories in this community."
66
82
},
67
83
"requiresApprovalToJoin": {
68
84
"type": "boolean",
69
85
"default": true,
70
86
"description": "Whether users can chat in this community without the owner having to create an acknowledgement record."
71
87
}
72
88
}
73
89
},
74
90
"description": "A community, or \"server\", is where users join to interact with each other on Colibri. Singleton record on the community DID's repo."
75
91
}
76
92
},
77
93
"$type": "com.atproto.lexicon.schema",
78
94
"lexicon": 1,
79
-
"revision": 4
95
+
"revision": 5
80
96
}