pub.leaflet.publication
Schema Diff
+17 -0
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
+
"pageWidth": {
54
+
"type": "integer",
55
+
"maximum": 1600,
56
+
"minimum": 0
57
+
},
53
58
"accentText": {
54
59
"refs": [
55
60
"pub.leaflet.theme.color#rgba",
56
61
"pub.leaflet.theme.color#rgb"
57
62
],
58
63
"type": "union"
59
64
},
60
65
"pageBackground": {
61
66
"refs": [
62
67
"pub.leaflet.theme.color#rgba",
63
68
"pub.leaflet.theme.color#rgb"
64
69
],
65
70
"type": "union"
66
71
},
67
72
"backgroundColor": {
68
73
"refs": [
69
74
"pub.leaflet.theme.color#rgba",
70
75
"pub.leaflet.theme.color#rgb"
71
76
],
72
77
"type": "union"
73
78
},
74
79
"backgroundImage": {
75
80
"ref": "pub.leaflet.theme.backgroundImage",
76
81
"type": "ref"
77
82
},
78
83
"accentBackground": {
79
84
"refs": [
80
85
"pub.leaflet.theme.color#rgba",
81
86
"pub.leaflet.theme.color#rgb"
82
87
],
83
88
"type": "union"
84
89
},
85
90
"showPageBackground": {
86
91
"type": "boolean",
87
92
"default": false
88
93
}
89
94
}
90
95
},
91
96
"preferences": {
92
97
"type": "object",
93
98
"properties": {
94
99
"showComments": {
95
100
"type": "boolean",
96
101
"default": true
97
102
},
103
+
"showMentions": {
104
+
"type": "boolean",
105
+
"default": true
106
+
},
107
+
"showPrevNext": {
108
+
"type": "boolean",
109
+
"default": true
110
+
},
98
111
"showInDiscover": {
99
112
"type": "boolean",
100
113
"default": true
114
+
},
115
+
"showRecommends": {
116
+
"type": "boolean",
117
+
"default": true
101
118
}
102
119
}
103
120
}
104
121
},
105
122
"$type": "com.atproto.lexicon.schema",
106
123
"lexicon": 1
107
124
}