pub.leaflet.publication
Schema Diff
+28 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 14 non-breaking changes.
Non-Breaking Changes (14)
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#preferences.prevNextDirection" }
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#preferences.showFirstLast" }
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#preferences.showOtherPublicationsInTags" }
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#theme.bodyFont" }
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#theme.headingFont" }
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#theme.wordmark" }
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.theme.wordmark" }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.prevNextDirection", kind: "prop", name: Some("prevNextDirection") }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.showFirstLast", kind: "prop", name: Some("showFirstLast") }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.showOtherPublicationsInTags", kind: "prop", name: Some("showOtherPublicationsInTags") }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.bodyFont", kind: "prop", name: Some("bodyFont") }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.headingFont", kind: "prop", name: Some("headingFont") }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.wordmark", kind: "prop", name: Some("wordmark") }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#theme.wordmark", tgt: "pub.leaflet.theme.wordmark", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pub.leaflet.publication#preferences.prevNextDirection" }AddedVertex { vertex_id: "pub.leaflet.publication#preferences.showFirstLast" }AddedVertex { vertex_id: "pub.leaflet.publication#preferences.showOtherPublicationsInTags" }AddedVertex { vertex_id: "pub.leaflet.publication#theme.bodyFont" }AddedVertex { vertex_id: "pub.leaflet.publication#theme.headingFont" }AddedVertex { vertex_id: "pub.leaflet.publication#theme.wordmark" }AddedVertex { vertex_id: "pub.leaflet.theme.wordmark" }
Additional Notes
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.prevNextDirection", kind: "prop", name: Some("prevNextDirection") }
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.showFirstLast", kind: "prop", name: Some("showFirstLast") }
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#preferences", tgt: "pub.leaflet.publication#preferences.showOtherPublicationsInTags", kind: "prop", name: Some("showOtherPublicationsInTags") }
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.bodyFont", kind: "prop", name: Some("bodyFont") }
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.headingFont", kind: "prop", name: Some("headingFont") }
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.wordmark", kind: "prop", name: Some("wordmark") }
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#theme.wordmark", tgt: "pub.leaflet.theme.wordmark", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Record declaring a publication",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"base_path": {
10
10
"type": "string"
11
11
},
12
12
"description": {
13
13
"maxLength": 2000,
14
14
"type": "string"
15
15
},
16
16
"icon": {
17
17
"accept": [
18
18
"image/*"
19
19
],
20
20
"maxSize": 1000000,
21
21
"type": "blob"
22
22
},
23
23
"name": {
24
24
"maxLength": 2000,
25
25
"type": "string"
26
26
},
27
27
"preferences": {
28
28
"ref": "#preferences",
29
29
"type": "ref"
30
30
},
31
31
"theme": {
32
32
"ref": "#theme",
33
33
"type": "ref"
34
34
}
35
35
},
36
36
"required": [
37
37
"name"
38
38
],
39
39
"type": "object"
40
40
},
41
41
"type": "record"
42
42
},
43
43
"preferences": {
44
44
"properties": {
45
+
"prevNextDirection": {
46
+
"default": "rtl",
47
+
"knownValues": [
48
+
"ltr",
49
+
"rtl"
50
+
],
51
+
"type": "string"
52
+
},
45
53
"showComments": {
46
54
"default": true,
47
55
"type": "boolean"
48
56
},
57
+
"showFirstLast": {
58
+
"default": false,
59
+
"type": "boolean"
60
+
},
49
61
"showInDiscover": {
50
62
"default": true,
51
63
"type": "boolean"
52
64
},
53
65
"showMentions": {
54
66
"default": true,
55
67
"type": "boolean"
56
68
},
69
+
"showOtherPublicationsInTags": {
70
+
"default": true,
71
+
"type": "boolean"
72
+
},
57
73
"showPrevNext": {
58
74
"default": true,
59
75
"type": "boolean"
60
76
},
61
77
"showRecommends": {
62
78
"default": true,
63
79
"type": "boolean"
64
80
}
65
81
},
66
82
"type": "object"
67
83
},
68
84
"theme": {
69
85
"properties": {
70
86
"accentBackground": {
71
87
"refs": [
72
88
"pub.leaflet.theme.color#rgba",
73
89
"pub.leaflet.theme.color#rgb"
74
90
],
75
91
"type": "union"
76
92
},
77
93
"accentText": {
78
94
"refs": [
79
95
"pub.leaflet.theme.color#rgba",
80
96
"pub.leaflet.theme.color#rgb"
81
97
],
82
98
"type": "union"
83
99
},
84
100
"backgroundColor": {
85
101
"refs": [
86
102
"pub.leaflet.theme.color#rgba",
87
103
"pub.leaflet.theme.color#rgb"
88
104
],
89
105
"type": "union"
90
106
},
91
107
"backgroundImage": {
92
108
"ref": "pub.leaflet.theme.backgroundImage",
93
109
"type": "ref"
94
110
},
111
+
"bodyFont": {
112
+
"maxLength": 100,
113
+
"type": "string"
114
+
},
115
+
"headingFont": {
116
+
"maxLength": 100,
117
+
"type": "string"
118
+
},
95
119
"pageBackground": {
96
120
"refs": [
97
121
"pub.leaflet.theme.color#rgba",
98
122
"pub.leaflet.theme.color#rgb"
99
123
],
100
124
"type": "union"
101
125
},
102
126
"pageWidth": {
103
127
"maximum": 1600,
104
128
"minimum": 0,
105
129
"type": "integer"
106
130
},
107
131
"primary": {
108
132
"refs": [
109
133
"pub.leaflet.theme.color#rgba",
110
134
"pub.leaflet.theme.color#rgb"
111
135
],
112
136
"type": "union"
113
137
},
114
138
"showPageBackground": {
115
139
"default": false,
116
140
"type": "boolean"
141
+
},
142
+
"wordmark": {
143
+
"ref": "pub.leaflet.theme.wordmark",
144
+
"type": "ref"
117
145
}
118
146
},
119
147
"type": "object"
120
148
}
121
149
},
122
150
"id": "pub.leaflet.publication",
123
151
"lexicon": 1
124
152
}