pub.leaflet.publication
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#theme.wordmark" }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.wordmark", kind: "prop", name: Some("wordmark") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pub.leaflet.publication#theme.wordmark" }
Additional Notes
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.wordmark", kind: "prop", name: Some("wordmark") }
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
53
"bodyFont": {
54
54
"type": "string",
55
55
"maxLength": 100
56
56
},
57
+
"wordmark": {
58
+
"ref": "pub.leaflet.theme.wordmark",
59
+
"type": "ref"
60
+
},
57
61
"pageWidth": {
58
62
"type": "integer",
59
63
"maximum": 1600,
60
64
"minimum": 0
61
65
},
62
66
"accentText": {
63
67
"refs": [
64
68
"pub.leaflet.theme.color#rgba",
65
69
"pub.leaflet.theme.color#rgb"
66
70
],
67
71
"type": "union"
68
72
},
69
73
"headingFont": {
70
74
"type": "string",
71
75
"maxLength": 100
72
76
},
73
77
"pageBackground": {
74
78
"refs": [
75
79
"pub.leaflet.theme.color#rgba",
76
80
"pub.leaflet.theme.color#rgb"
77
81
],
78
82
"type": "union"
79
83
},
80
84
"backgroundColor": {
81
85
"refs": [
82
86
"pub.leaflet.theme.color#rgba",
83
87
"pub.leaflet.theme.color#rgb"
84
88
],
85
89
"type": "union"
86
90
},
87
91
"backgroundImage": {
88
92
"ref": "pub.leaflet.theme.backgroundImage",
89
93
"type": "ref"
90
94
},
91
95
"accentBackground": {
92
96
"refs": [
93
97
"pub.leaflet.theme.color#rgba",
94
98
"pub.leaflet.theme.color#rgb"
95
99
],
96
100
"type": "union"
97
101
},
98
102
"showPageBackground": {
99
103
"type": "boolean",
100
104
"default": false
101
105
}
102
106
}
103
107
},
104
108
"preferences": {
105
109
"type": "object",
106
110
"properties": {
107
111
"showComments": {
108
112
"type": "boolean",
109
113
"default": true
110
114
},
111
115
"showMentions": {
112
116
"type": "boolean",
113
117
"default": true
114
118
},
115
119
"showPrevNext": {
116
120
"type": "boolean",
117
121
"default": true
118
122
},
119
123
"showInDiscover": {
120
124
"type": "boolean",
121
125
"default": true
122
126
},
123
127
"showRecommends": {
124
128
"type": "boolean",
125
129
"default": true
126
130
}
127
131
}
128
132
}
129
133
},
130
134
"$type": "com.atproto.lexicon.schema",
131
135
"lexicon": 1
132
136
}