-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathconfig.schema.json
209 lines (209 loc) · 5.93 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Enhance main window",
"properties": {
"hide values of parent decks when subdecks are shown": {
"type": "boolean",
"default": false
},
"hide values of parent decks": {
"type": "boolean",
"default": false
},
"default column color": {
"type": "string",
"default": "grey"
},
"option": {
"type": "boolean",
"default": true
},
"cap value": {
"type": ["integer", "null"],
"default": null
},
"color empty": {
"type": "string",
"default": "red"
},
"color empty descendant": {
"type": "string",
"default": "green"
},
"marked background color": {
"type": "string",
"default": "powderblue"
},
"ended marked background color": {
"type": "string",
"default": "yellow"
},
"end symbol": {
"type": "string",
"default": ";"
},
"book symbol": {
"type": "string",
"default": "{"
},
"given up symbol": {
"type": "string",
"default": "/"
},
"pause symbol": {
"type": "string",
"default": "="
},
"do color marked": {
"type": "boolean",
"default": true
},
"do color empty": {
"type": "boolean",
"default": true
},
"color zero": {
"type": "boolean",
"default": false
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"names": {
"type": "array",
"items": {
"type": "string",
"enum": [
"learning card",
"learning later",
"learning now",
"learning today",
"learning all",
"review due",
"due tomorrow",
"review today",
"review",
"unseen",
"unseen later",
"review later",
"reviewed today",
"reviewed today/repeated today",
"repeated today",
"repeated",
"new",
"unseen new",
"buried",
"buried/suspended",
"suspended",
"cards",
"notes/cards",
"notes",
"today",
"undue",
"mature/young",
"mature",
"young",
"marked",
"leech",
"new today",
"bar",
"flags",
"all flags",
"review later",
"repetition seen today",
"repetition today",
"cards seen today"
]
}
},
"description": {
"type": "string",
"description": "A description of this column. Not used by the add-on, here to help you understand the default."
},
"name": {
"type": "string",
"description": "The internal name of the column. Used to know what to display",
"enum": [
"learning card",
"learning later",
"learning now",
"learning today",
"learning all",
"review due",
"due tomorrow",
"review today",
"review",
"unseen",
"unseen later",
"review later",
"reviewed today",
"reviewed today/repeated today",
"repeated today",
"repeated",
"new",
"unseen new",
"buried",
"buried/suspended",
"suspended",
"cards",
"notes/cards",
"notes",
"today",
"undue",
"mature/young",
"mature",
"young",
"marked",
"leech",
"new today",
"bar",
"flags",
"flag 1",
"flag 2",
"flag 3",
"flag 4",
"all flags",
"review later",
"repetition seen today",
"repetition today",
"cards seen today"
]
},
"color": {
"type": ["string", "null"],
"description": "Color of number shown in this column"
},
"present": {
"type": "boolean",
"description": "Whether to show this column. Allow to hide the column without deleting it from the configuration."
},
"absolute": {
"type": "boolean",
"description": "Whteher to give an absolute number."
},
"percent": {
"type": "boolean",
"description": "Whether to give a relative number."
},
"subdeck": {
"type": "boolean",
"description": "Do you count elements in subdecks"
},
"header": {
"type": ["string", "null"],
"description": "The header of the column. If you leave «null» then the default header will be used. This description will be translated as much as it is possible to do it automatically. However, you can also choose to write your own description. You can use HTML in this description. You should use `<br/>` when you want a newline.",
"default": ""
},
"overlay": {
"type": ["string", "null"],
"description": "The text shown when your mouse is over a number. It will describe what this number represents. You can set this key to false if you want no description to be present. And leave this value to null if you want to use the default value.",
"default": ""
}
}
}
}
}
}