tech.tokimeki.forum.profile
Schema Diff
+14 -2
Compatibility Analysis
Backward Compatible
Backward compatible. 8 non-breaking changes.
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }
- AddedVertex AddedVertex { vertex_id: "tech.tokimeki.forum.profile:body.labels" }
- AddedVertex AddedVertex { vertex_id: "tech.tokimeki.forum.profile:body.labels:variant0" }
- AddedVertex AddedVertex { vertex_id: "tech.tokimeki.forum.profile:body.limitedSpace" }
- AddedEdge AddedEdge { src: "tech.tokimeki.forum.profile:body", tgt: "tech.tokimeki.forum.profile:body.labels", kind: "prop", name: Some("labels") }
- AddedEdge AddedEdge { src: "tech.tokimeki.forum.profile:body", tgt: "tech.tokimeki.forum.profile:body.limitedSpace", kind: "prop", name: Some("limitedSpace") }
- AddedEdge AddedEdge { src: "tech.tokimeki.forum.profile:body.labels", tgt: "tech.tokimeki.forum.profile:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
- AddedEdge AddedEdge { src: "tech.tokimeki.forum.profile:body.labels:variant0", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }AddedVertex { vertex_id: "tech.tokimeki.forum.profile:body.labels" }AddedVertex { vertex_id: "tech.tokimeki.forum.profile:body.labels:variant0" }AddedVertex { vertex_id: "tech.tokimeki.forum.profile:body.limitedSpace" }
Additional Notes
- Non-breaking: AddedEdge { src: "tech.tokimeki.forum.profile:body", tgt: "tech.tokimeki.forum.profile:body.labels", kind: "prop", name: Some("labels") }
- Non-breaking: AddedEdge { src: "tech.tokimeki.forum.profile:body", tgt: "tech.tokimeki.forum.profile:body.limitedSpace", kind: "prop", name: Some("limitedSpace") }
- Non-breaking: AddedEdge { src: "tech.tokimeki.forum.profile:body.labels", tgt: "tech.tokimeki.forum.profile:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
- Non-breaking: AddedEdge { src: "tech.tokimeki.forum.profile:body.labels:variant0", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }
1
1
{
2
2
"id": "tech.tokimeki.forum.profile",
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
"createdAt"
12
12
],
13
13
"properties": {
14
14
"name": {
15
15
"type": "string",
16
16
"maxLength": 640,
17
17
"maxGraphemes": 64
18
18
},
19
19
"rules": {
20
20
"type": "string",
21
21
"maxLength": 40960,
22
22
"maxGraphemes": 4096
23
23
},
24
24
"avatar": {
25
25
"type": "blob",
26
26
"accept": [
27
27
"image/png",
28
28
"image/jpeg",
29
29
"image/webp"
30
30
],
31
31
"maxSize": 1000000
32
32
},
33
+
"labels": {
34
+
"refs": [
35
+
"com.atproto.label.defs#selfLabels"
36
+
],
37
+
"type": "union",
38
+
"description": "Self-applied labels for the whole server, e.g. adult content."
39
+
},
33
40
"createdAt": {
34
41
"type": "string",
35
42
"format": "datetime"
36
43
},
37
44
"description": {
38
45
"type": "string",
39
46
"maxLength": 10240,
40
47
"maxGraphemes": 1024
41
48
},
42
49
"discoverable": {
43
50
"type": "boolean",
44
51
"default": true,
45
-
"description": "Whether the server may be listed in the public directory."
52
+
"description": "Whether the server may be listed in public directories."
53
+
},
54
+
"limitedSpace": {
55
+
"type": "string",
56
+
"format": "at-uri",
57
+
"description": "Space URI of the paired tech.tokimeki.forum.server space (same owner and skey) that holds the members-only channels. Makes the pairing discoverable without relying on the naming convention."
46
58
}
47
59
}
48
60
},
49
-
"description": "Display information of a server. Written by the server owner into their own repo within the server's public space (rkey self)."
61
+
"description": "Display information of a server. Written by the server owner into their own repo within the server's public space (rkey self), so any client holding a credential for the public space can read it."
50
62
}
51
63
},
52
64
"$type": "com.atproto.lexicon.schema",
53
65
"lexicon": 1
54
66
}