site.standard.publication
Schema Diff
+8 -2
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "site.standard.publication:body.labels" }
- AddedVertex AddedVertex { vertex_id: "site.standard.publication:body.labels:variant0" }
- AddedEdge AddedEdge { src: "site.standard.publication:body", tgt: "site.standard.publication:body.labels", kind: "prop", name: Some("labels") }
- AddedEdge AddedEdge { src: "site.standard.publication:body.labels", tgt: "site.standard.publication:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "site.standard.publication:body.labels" }AddedVertex { vertex_id: "site.standard.publication:body.labels:variant0" }
Additional Notes
- Non-breaking: AddedEdge { src: "site.standard.publication:body", tgt: "site.standard.publication:body.labels", kind: "prop", name: Some("labels") }
- Non-breaking: AddedEdge { src: "site.standard.publication:body.labels", tgt: "site.standard.publication:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
1
1
{
2
2
"id": "site.standard.publication",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"url",
11
11
"name"
12
12
],
13
13
"properties": {
14
14
"url": {
15
15
"type": "string",
16
16
"format": "uri",
17
17
"description": "Base publication url (ex: https://standard.site). The canonical document URL is formed by combining this value with the document path."
18
18
},
19
19
"icon": {
20
20
"type": "blob",
21
21
"accept": [
22
22
"image/*"
23
23
],
24
24
"maxSize": 1000000,
25
25
"description": "Square image to identify the publication. Should be at least 256x256."
26
26
},
27
27
"name": {
28
28
"type": "string",
29
29
"maxLength": 5000,
30
30
"description": "Name of the publication.",
31
31
"maxGraphemes": 500
32
32
},
33
+
"labels": {
34
+
"refs": [
35
+
"com.atproto.label.defs#selfLabels"
36
+
],
37
+
"type": "union",
38
+
"description": "Self-label values for this publication. Effectively content warnings."
39
+
},
33
40
"basicTheme": {
34
41
"ref": "site.standard.theme.basic",
35
42
"type": "ref",
36
43
"description": "Simplified publication theme for tools and apps to utilize when displaying content."
37
44
},
38
45
"description": {
39
46
"type": "string",
40
47
"maxLength": 30000,
41
48
"description": "Brief description of the publication.",
42
49
"maxGraphemes": 3000
43
50
},
44
51
"preferences": {
45
52
"ref": "#preferences",
46
53
"type": "ref",
47
54
"description": "Object containing platform specific preferences (with a few shared properties)."
48
55
}
49
56
}
50
57
},
51
58
"description": "A publication record representing a blog, website, or content platform. Publications serve as containers for documents and define the overall branding and settings."
52
59
},
53
60
"preferences": {
54
61
"type": "object",
55
62
"properties": {
56
63
"showInDiscover": {
57
64
"type": "boolean",
58
65
"default": true,
59
66
"description": "Boolean which decides whether the publication should appear in discovery feeds."
60
67
}
61
-
},
62
-
"description": "Platform-specific preferences for the publication, including discovery and visibility settings."
68
+
}
63
69
}
64
70
},
65
71
"$type": "com.atproto.lexicon.schema",
66
72
"lexicon": 1
67
73
}