pub.leaflet.publication
Schema Diff
+12 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#preferences.prevNextDirection" }
- 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.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.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.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
},
49
57
"showFirstLast": {
50
58
"default": false,
51
59
"type": "boolean"
52
60
},
53
61
"showInDiscover": {
54
62
"default": true,
55
63
"type": "boolean"
56
64
},
57
65
"showMentions": {
58
66
"default": true,
59
67
"type": "boolean"
60
68
},
69
+
"showOtherPublicationsInTags": {
70
+
"default": true,
71
+
"type": "boolean"
72
+
},
61
73
"showPrevNext": {
62
74
"default": true,
63
75
"type": "boolean"
64
76
},
65
77
"showRecommends": {
66
78
"default": true,
67
79
"type": "boolean"
68
80
}
69
81
},
70
82
"type": "object"
71
83
},
72
84
"theme": {
73
85
"properties": {
74
86
"accentBackground": {
75
87
"refs": [
76
88
"pub.leaflet.theme.color#rgba",
77
89
"pub.leaflet.theme.color#rgb"
78
90
],
79
91
"type": "union"
80
92
},
81
93
"accentText": {
82
94
"refs": [
83
95
"pub.leaflet.theme.color#rgba",
84
96
"pub.leaflet.theme.color#rgb"
85
97
],
86
98
"type": "union"
87
99
},
88
100
"backgroundColor": {
89
101
"refs": [
90
102
"pub.leaflet.theme.color#rgba",
91
103
"pub.leaflet.theme.color#rgb"
92
104
],
93
105
"type": "union"
94
106
},
95
107
"backgroundImage": {
96
108
"ref": "pub.leaflet.theme.backgroundImage",
97
109
"type": "ref"
98
110
},
99
111
"bodyFont": {
100
112
"maxLength": 100,
101
113
"type": "string"
102
114
},
103
115
"headingFont": {
104
116
"maxLength": 100,
105
117
"type": "string"
106
118
},
107
119
"pageBackground": {
108
120
"refs": [
109
121
"pub.leaflet.theme.color#rgba",
110
122
"pub.leaflet.theme.color#rgb"
111
123
],
112
124
"type": "union"
113
125
},
114
126
"pageWidth": {
115
127
"maximum": 1600,
116
128
"minimum": 0,
117
129
"type": "integer"
118
130
},
119
131
"primary": {
120
132
"refs": [
121
133
"pub.leaflet.theme.color#rgba",
122
134
"pub.leaflet.theme.color#rgb"
123
135
],
124
136
"type": "union"
125
137
},
126
138
"showPageBackground": {
127
139
"default": false,
128
140
"type": "boolean"
129
141
},
130
142
"wordmark": {
131
143
"ref": "pub.leaflet.theme.wordmark",
132
144
"type": "ref"
133
145
}
134
146
},
135
147
"type": "object"
136
148
}
137
149
},
138
150
"id": "pub.leaflet.publication",
139
151
"lexicon": 1
140
152
}