social.colibri.beta.community
Schema Diff
+9 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 1 non-breaking change.
Breaking Changes (1)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "social.colibri.beta.community:body", src: "social.colibri.beta.community:body", tgt: "social.colibri.beta.community:body.managingApp", kind: "prop", name: Some("managingApp") }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.community:body.managingApp" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.beta.community:body.managingApp" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "social.colibri.beta.community:body", src: "social.colibri.beta.community:body", tgt: "social.colibri.beta.community:body.managingApp", kind: "prop", name: Some("managingApp") }
1
1
{
2
2
"id": "social.colibri.beta.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
-
"name"
10
+
"name",
11
+
"managingApp"
11
12
],
12
13
"properties": {
13
14
"name": {
14
15
"type": "string",
15
16
"maxLength": 32,
16
17
"minLength": 1,
17
18
"description": "The community's name."
18
19
},
19
20
"banner": {
20
21
"type": "blob",
21
22
"accept": [
22
23
"image/jpeg",
23
24
"image/png",
24
25
"image/gif",
25
26
"image/webp"
26
27
],
28
+
"maxSize": 4194304,
27
29
"description": "Wide image shown at the top of the community."
28
30
},
29
31
"picture": {
30
32
"type": "blob",
31
33
"accept": [
32
34
"image/jpeg",
33
35
"image/png",
34
36
"image/gif",
35
37
"image/webp"
36
38
],
39
+
"maxSize": 1048576,
37
40
"description": "Square image shown as the community's icon."
38
41
},
39
42
"description": {
40
43
"type": "string",
41
44
"maxLength": 256,
42
45
"description": "A short description."
43
46
},
47
+
"managingApp": {
48
+
"type": "string",
49
+
"format": "did",
50
+
"description": "The AppView that manages this community's spaces, named without a service fragment. Clients read it here rather than from the space policy, because com.atproto.simplespace.getSpace only serves a policy to a caller already authorized for that space, which a prospective member is not."
51
+
},
44
52
"migratedFrom": {
45
53
"type": "string",
46
54
"format": "at-uri",
47
55
"description": "Set on a community created by migrating a repo-backed community. Points at the legacy community record it replaces, so its history can be served alongside."
48
56
}
49
57
}
50
58
},
51
59
"description": "A community's public identity. Lives in the community's profile space, which is readable without membership unless the community is private."
52
60
}
53
61
},
54
62
"$type": "com.atproto.lexicon.schema",
55
63
"lexicon": 1
56
64
}