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