pub.leaflet.publication
Schema Diff
+8 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
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" }
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
"$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
45
"showComments": {
46
46
"default": true,
47
47
"type": "boolean"
48
48
},
49
49
"showInDiscover": {
50
50
"default": true,
51
51
"type": "boolean"
52
52
},
53
53
"showMentions": {
54
54
"default": true,
55
55
"type": "boolean"
56
56
},
57
57
"showPrevNext": {
58
58
"default": true,
59
59
"type": "boolean"
60
60
},
61
61
"showRecommends": {
62
62
"default": true,
63
63
"type": "boolean"
64
64
}
65
65
},
66
66
"type": "object"
67
67
},
68
68
"theme": {
69
69
"properties": {
70
70
"accentBackground": {
71
71
"refs": [
72
72
"pub.leaflet.theme.color#rgba",
73
73
"pub.leaflet.theme.color#rgb"
74
74
],
75
75
"type": "union"
76
76
},
77
77
"accentText": {
78
78
"refs": [
79
79
"pub.leaflet.theme.color#rgba",
80
80
"pub.leaflet.theme.color#rgb"
81
81
],
82
82
"type": "union"
83
83
},
84
84
"backgroundColor": {
85
85
"refs": [
86
86
"pub.leaflet.theme.color#rgba",
87
87
"pub.leaflet.theme.color#rgb"
88
88
],
89
89
"type": "union"
90
90
},
91
91
"backgroundImage": {
92
92
"ref": "pub.leaflet.theme.backgroundImage",
93
93
"type": "ref"
94
94
},
95
+
"bodyFont": {
96
+
"maxLength": 100,
97
+
"type": "string"
98
+
},
99
+
"headingFont": {
100
+
"maxLength": 100,
101
+
"type": "string"
102
+
},
95
103
"pageBackground": {
96
104
"refs": [
97
105
"pub.leaflet.theme.color#rgba",
98
106
"pub.leaflet.theme.color#rgb"
99
107
],
100
108
"type": "union"
101
109
},
102
110
"pageWidth": {
103
111
"maximum": 1600,
104
112
"minimum": 0,
105
113
"type": "integer"
106
114
},
107
115
"primary": {
108
116
"refs": [
109
117
"pub.leaflet.theme.color#rgba",
110
118
"pub.leaflet.theme.color#rgb"
111
119
],
112
120
"type": "union"
113
121
},
114
122
"showPageBackground": {
115
123
"default": false,
116
124
"type": "boolean"
117
125
}
118
126
},
119
127
"type": "object"
120
128
}
121
129
},
122
130
"id": "pub.leaflet.publication",
123
131
"lexicon": 1
124
132
}