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