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