pub.leaflet.publication
Schema Diff
+16 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 6 non-breaking changes.
Non-Breaking Changes (6)
- 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" }
- 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") }
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" }
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") }
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
},
95
111
"bodyFont": {
96
112
"maxLength": 100,
97
113
"type": "string"
98
114
},
99
115
"headingFont": {
100
116
"maxLength": 100,
101
117
"type": "string"
102
118
},
103
119
"pageBackground": {
104
120
"refs": [
105
121
"pub.leaflet.theme.color#rgba",
106
122
"pub.leaflet.theme.color#rgb"
107
123
],
108
124
"type": "union"
109
125
},
110
126
"pageWidth": {
111
127
"maximum": 1600,
112
128
"minimum": 0,
113
129
"type": "integer"
114
130
},
115
131
"primary": {
116
132
"refs": [
117
133
"pub.leaflet.theme.color#rgba",
118
134
"pub.leaflet.theme.color#rgb"
119
135
],
120
136
"type": "union"
121
137
},
122
138
"showPageBackground": {
123
139
"default": false,
124
140
"type": "boolean"
125
141
},
126
142
"wordmark": {
127
143
"ref": "pub.leaflet.theme.wordmark",
128
144
"type": "ref"
129
145
}
130
146
},
131
147
"type": "object"
132
148
}
133
149
},
134
150
"id": "pub.leaflet.publication",
135
151
"lexicon": 1
136
152
}