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