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