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