social.colibri.community
Schema Diff
+10 -3
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "social.colibri.community:body.linkEmbeds" }
- 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.linkEmbeds" }
Additional Notes
- 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
28
"banner": {
29
29
"type": "blob",
30
30
"accept": [
31
31
"image/jpeg",
32
32
"image/png",
33
-
"image/gif"
33
+
"image/gif",
34
+
"image/webp"
34
35
],
35
36
"description": "A banner for the community that will be shown to users."
36
37
},
37
38
"appview": {
38
39
"type": "string",
39
40
"format": "did",
40
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."
41
42
},
42
43
"picture": {
43
44
"type": "blob",
44
45
"accept": [
45
46
"image/jpeg",
46
47
"image/png",
47
-
"image/gif"
48
+
"image/gif",
49
+
"image/webp"
48
50
],
49
51
"description": "An image for the community that will be shown to users."
50
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
+
},
51
58
"migratedTo": {
52
59
"type": "string",
53
60
"format": "at-uri",
54
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."
55
62
},
56
63
"description": {
57
64
"type": "string",
58
65
"default": "",
59
66
"maxLength": 256,
60
67
"description": "A description of the community."
61
68
},
62
69
"migratedFrom": {
63
70
"type": "string",
64
71
"format": "at-uri",
65
72
"description": "Set on a community created by migrating a legacy community. Points at the legacy community record this one replaces."
66
73
},
67
74
"categoryOrder": {
68
75
"type": "array",
69
76
"items": {
70
77
"type": "string",
71
78
"format": "record-key",
72
79
"description": "A category in this community."
73
80
},
74
81
"description": "The order of the categories in this community."
75
82
},
76
83
"requiresApprovalToJoin": {
77
84
"type": "boolean",
78
85
"default": true,
79
86
"description": "Whether users can chat in this community without the owner having to create an acknowledgement record."
80
87
}
81
88
}
82
89
},
83
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."
84
91
}
85
92
},
86
93
"$type": "com.atproto.lexicon.schema",
87
94
"lexicon": 1,
88
-
"revision": 4
95
+
"revision": 5
89
96
}