pub.leaflet.publication
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.publication#theme.wordmark" }
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.theme.wordmark" }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.wordmark", kind: "prop", name: Some("wordmark") }
- AddedEdge AddedEdge { src: "pub.leaflet.publication#theme.wordmark", tgt: "pub.leaflet.theme.wordmark", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pub.leaflet.publication#theme.wordmark" }AddedVertex { vertex_id: "pub.leaflet.theme.wordmark" }
Additional Notes
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#theme", tgt: "pub.leaflet.publication#theme.wordmark", kind: "prop", name: Some("wordmark") }
- Non-breaking: AddedEdge { src: "pub.leaflet.publication#theme.wordmark", tgt: "pub.leaflet.theme.wordmark", kind: "ref", 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
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
95
"bodyFont": {
96
96
"maxLength": 100,
97
97
"type": "string"
98
98
},
99
99
"headingFont": {
100
100
"maxLength": 100,
101
101
"type": "string"
102
102
},
103
103
"pageBackground": {
104
104
"refs": [
105
105
"pub.leaflet.theme.color#rgba",
106
106
"pub.leaflet.theme.color#rgb"
107
107
],
108
108
"type": "union"
109
109
},
110
110
"pageWidth": {
111
111
"maximum": 1600,
112
112
"minimum": 0,
113
113
"type": "integer"
114
114
},
115
115
"primary": {
116
116
"refs": [
117
117
"pub.leaflet.theme.color#rgba",
118
118
"pub.leaflet.theme.color#rgb"
119
119
],
120
120
"type": "union"
121
121
},
122
122
"showPageBackground": {
123
123
"default": false,
124
124
"type": "boolean"
125
+
},
126
+
"wordmark": {
127
+
"ref": "pub.leaflet.theme.wordmark",
128
+
"type": "ref"
125
129
}
126
130
},
127
131
"type": "object"
128
132
}
129
133
},
130
134
"id": "pub.leaflet.publication",
131
135
"lexicon": 1
132
136
}