pub.leaflet.publication
Schema Diff
+9 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication:body.recommendations" }
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication:body.recommendations:items" }
- AddedEdge AddedEdge { src: "pub.leaflet.publication:body", tgt: "pub.leaflet.publication:body.recommendations", kind: "prop", name: Some("recommendations") }
- AddedEdge AddedEdge { src: "pub.leaflet.publication:body.recommendations", tgt: "pub.leaflet.publication:body.recommendations:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pub.leaflet.publication:body.recommendations" }AddedVertex { vertex_id: "pub.leaflet.publication:body.recommendations:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "pub.leaflet.publication:body", tgt: "pub.leaflet.publication:body.recommendations", kind: "prop", name: Some("recommendations") }
- Non-breaking: AddedEdge { src: "pub.leaflet.publication:body.recommendations", tgt: "pub.leaflet.publication:body.recommendations:items", kind: "items", 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
+
"recommendations": {
32
+
"description": "Publications this publication recommends",
33
+
"items": {
34
+
"format": "at-uri",
35
+
"type": "string"
36
+
},
37
+
"maxLength": 3,
38
+
"type": "array"
39
+
},
31
40
"theme": {
32
41
"ref": "#theme",
33
42
"type": "ref"
34
43
}
35
44
},
36
45
"required": [
37
46
"name"
38
47
],
39
48
"type": "object"
40
49
},
41
50
"type": "record"
42
51
},
43
52
"preferences": {
44
53
"properties": {
45
54
"prevNextDirection": {
46
55
"default": "rtl",
47
56
"knownValues": [
48
57
"ltr",
49
58
"rtl"
50
59
],
51
60
"type": "string"
52
61
},
53
62
"showComments": {
54
63
"default": true,
55
64
"type": "boolean"
56
65
},
57
66
"showFirstLast": {
58
67
"default": false,
59
68
"type": "boolean"
60
69
},
61
70
"showInDiscover": {
62
71
"default": true,
63
72
"type": "boolean"
64
73
},
65
74
"showMentions": {
66
75
"default": true,
67
76
"type": "boolean"
68
77
},
69
78
"showPrevNext": {
70
79
"default": true,
71
80
"type": "boolean"
72
81
},
73
82
"showRecommends": {
74
83
"default": true,
75
84
"type": "boolean"
76
85
}
77
86
},
78
87
"type": "object"
79
88
},
80
89
"theme": {
81
90
"properties": {
82
91
"accentBackground": {
83
92
"refs": [
84
93
"pub.leaflet.theme.color#rgba",
85
94
"pub.leaflet.theme.color#rgb"
86
95
],
87
96
"type": "union"
88
97
},
89
98
"accentText": {
90
99
"refs": [
91
100
"pub.leaflet.theme.color#rgba",
92
101
"pub.leaflet.theme.color#rgb"
93
102
],
94
103
"type": "union"
95
104
},
96
105
"backgroundColor": {
97
106
"refs": [
98
107
"pub.leaflet.theme.color#rgba",
99
108
"pub.leaflet.theme.color#rgb"
100
109
],
101
110
"type": "union"
102
111
},
103
112
"backgroundImage": {
104
113
"ref": "pub.leaflet.theme.backgroundImage",
105
114
"type": "ref"
106
115
},
107
116
"bodyFont": {
108
117
"maxLength": 100,
109
118
"type": "string"
110
119
},
111
120
"headingFont": {
112
121
"maxLength": 100,
113
122
"type": "string"
114
123
},
115
124
"pageBackground": {
116
125
"refs": [
117
126
"pub.leaflet.theme.color#rgba",
118
127
"pub.leaflet.theme.color#rgb"
119
128
],
120
129
"type": "union"
121
130
},
122
131
"pageWidth": {
123
132
"maximum": 1600,
124
133
"minimum": 0,
125
134
"type": "integer"
126
135
},
127
136
"primary": {
128
137
"refs": [
129
138
"pub.leaflet.theme.color#rgba",
130
139
"pub.leaflet.theme.color#rgb"
131
140
],
132
141
"type": "union"
133
142
},
134
143
"showPageBackground": {
135
144
"default": false,
136
145
"type": "boolean"
137
146
},
138
147
"wordmark": {
139
148
"ref": "pub.leaflet.theme.wordmark",
140
149
"type": "ref"
141
150
}
142
151
},
143
152
"type": "object"
144
153
}
145
154
},
146
155
"id": "pub.leaflet.publication",
147
156
"lexicon": 1
148
157
}