jekyll-open-sdg-plugins 2.3.0 → 2.4.0.pre.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/jekyll-open-sdg-plugins.gemspec +0 -1
- data/lib/jekyll-open-sdg-plugins/create_indicators.rb +0 -3
- data/lib/jekyll-open-sdg-plugins/create_pages.rb +0 -3
- data/lib/jekyll-open-sdg-plugins/metadata_schema_to_config.rb +0 -2
- data/lib/jekyll-open-sdg-plugins/routes.rb +2 -2
- data/lib/jekyll-open-sdg-plugins/search_index.rb +1 -1
- data/lib/jekyll-open-sdg-plugins/version.rb +1 -1
- data/lib/jekyll-open-sdg-plugins.rb +0 -2
- data/tests/Gemfile +0 -1
- data/tests/_config.yml +0 -3
- metadata +4 -22
- data/lib/jekyll-open-sdg-plugins/schema-indicator-config.json +0 -956
- data/lib/jekyll-open-sdg-plugins/schema-site-config.json +0 -1723
- data/lib/jekyll-open-sdg-plugins/validate_indicator_config.rb +0 -48
- data/lib/jekyll-open-sdg-plugins/validate_site_config.rb +0 -34
@@ -1,1723 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"type": "object",
|
3
|
-
"title": "Open SDG site configuration",
|
4
|
-
"description": "This form will produce the site configuration for your Open SDG implementation.",
|
5
|
-
"properties": {
|
6
|
-
"analytics": {
|
7
|
-
"options": {"collapsed": true},
|
8
|
-
"type": "object",
|
9
|
-
"title": "Analytics",
|
10
|
-
"description": "If these settings are used, usage statistics will be sent to Google Analytics. These are optional, and you don't have to use all of them. Typically you would just use one, such as the 'ua' option.",
|
11
|
-
"properties": {
|
12
|
-
"ua": {
|
13
|
-
"type": "string",
|
14
|
-
"title": "Universal Analytics (ua) tracking ID",
|
15
|
-
"description": "The tracking ID for the analytics.js approach, for your property on Google Analytics. Typically starts with 'UA-'."
|
16
|
-
},
|
17
|
-
"gtag": {
|
18
|
-
"type": "string",
|
19
|
-
"title": "gtag.js (gtag) tracking ID",
|
20
|
-
"description": "The tracking ID for the gtag.js approach, for your property on Google Analytics. Typically starts with 'G-'."
|
21
|
-
},
|
22
|
-
"gtm": {
|
23
|
-
"type": "string",
|
24
|
-
"title": "Google Tag Manager (gtm) tracking ID",
|
25
|
-
"description": "Your tracking ID for Google Tag Manager. Typically starts with 'GTM-'. Though this is included as an analytics approach, it requires additional configuration within Google Tag Manager in order to capture analytics."
|
26
|
-
}
|
27
|
-
},
|
28
|
-
"links": [
|
29
|
-
{
|
30
|
-
"rel": "More information on the analytics setting",
|
31
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#analytics"
|
32
|
-
}
|
33
|
-
]
|
34
|
-
},
|
35
|
-
"breadcrumbs": {
|
36
|
-
"options": {"collapsed": true},
|
37
|
-
"type": "object",
|
38
|
-
"title": "Breadcrumbs",
|
39
|
-
"description": "This can contain breadcrumb settings for each of the supported collection types: goal, indicator, and post. Each should have a list of label/path objects.",
|
40
|
-
"properties": {
|
41
|
-
"goal": {
|
42
|
-
"options": {"collapsed": true},
|
43
|
-
"type": "array",
|
44
|
-
"title": "Goal breadcrumbs",
|
45
|
-
"description": "The breadcrumb items for goal pages.",
|
46
|
-
"items": {
|
47
|
-
"$ref": "#/definitions/breadcrumb_item"
|
48
|
-
}
|
49
|
-
},
|
50
|
-
"indicator": {
|
51
|
-
"options": {"collapsed": true},
|
52
|
-
"type": "array",
|
53
|
-
"title": "Indicator breadcrumbs",
|
54
|
-
"description": "The breadcrumb items for indicator pages. Note that there will automatically be a final item, which is a link to the goal that the indicator belongs to. You do not need to specify this, since it is done dynamically and automatically.",
|
55
|
-
"items": {
|
56
|
-
"$ref": "#/definitions/breadcrumb_item"
|
57
|
-
}
|
58
|
-
},
|
59
|
-
"post": {
|
60
|
-
"options": {"collapsed": true},
|
61
|
-
"type": "array",
|
62
|
-
"title": "Post breadcrumbs",
|
63
|
-
"description": "The breadcrumb items for post pages.",
|
64
|
-
"items": {
|
65
|
-
"$ref": "#/definitions/breadcrumb_item"
|
66
|
-
}
|
67
|
-
}
|
68
|
-
},
|
69
|
-
"links": [
|
70
|
-
{
|
71
|
-
"rel": "More information on the breadcrumbs setting",
|
72
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#breadcrumbs"
|
73
|
-
}
|
74
|
-
]
|
75
|
-
},
|
76
|
-
"cookie_consent_form": {
|
77
|
-
"options": {"collapsed": true},
|
78
|
-
"type": "object",
|
79
|
-
"title": "Cookie consent form",
|
80
|
-
"description": "A cookie consent form for users",
|
81
|
-
"properties": {
|
82
|
-
"enabled": {
|
83
|
-
"type": "boolean",
|
84
|
-
"title": "Enabled",
|
85
|
-
"description": "Whether the cookie consent form will be enabled",
|
86
|
-
"format": "checkbox"
|
87
|
-
}
|
88
|
-
},
|
89
|
-
"links": [
|
90
|
-
{
|
91
|
-
"rel": "More information on the cookie_consent_form setting",
|
92
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#cookie_consent_form"
|
93
|
-
}
|
94
|
-
]
|
95
|
-
},
|
96
|
-
"country": {
|
97
|
-
"options": {"collapsed": true},
|
98
|
-
"type": "object",
|
99
|
-
"title": "Country information",
|
100
|
-
"description": "Information about your country (or region, locality, etc.)",
|
101
|
-
"properties": {
|
102
|
-
"name": {
|
103
|
-
"type": "string",
|
104
|
-
"title": "Name",
|
105
|
-
"description": "The name of your country/region/locality/etc.",
|
106
|
-
"minLength": 1
|
107
|
-
},
|
108
|
-
"adjective": {
|
109
|
-
"type": "string",
|
110
|
-
"title": "Adjective",
|
111
|
-
"description": "Adjective form of your country/region/locality/etc.",
|
112
|
-
"minLength": 1
|
113
|
-
}
|
114
|
-
},
|
115
|
-
"links": [
|
116
|
-
{
|
117
|
-
"rel": "More information on the country setting",
|
118
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#country"
|
119
|
-
}
|
120
|
-
]
|
121
|
-
},
|
122
|
-
"create_goals": {
|
123
|
-
"options": {"collapsed": true},
|
124
|
-
"type": "object",
|
125
|
-
"title": "Create goals",
|
126
|
-
"description": "This setting can be used to automatically create the goal pages.",
|
127
|
-
"properties": {
|
128
|
-
"previous_next_links": {
|
129
|
-
"title": "Previous/next links",
|
130
|
-
"type": "boolean",
|
131
|
-
"description": "This setting can be used to show navigation links to the previous/next goals.",
|
132
|
-
"format": "checkbox"
|
133
|
-
},
|
134
|
-
"goal_content_heading": {
|
135
|
-
"type": "string",
|
136
|
-
"title": "Goal content heading",
|
137
|
-
"description": "Text entered here will appear as an H2 heading above any content configured below in 'goals'."
|
138
|
-
},
|
139
|
-
"goals": {
|
140
|
-
"options": {"collapsed": true},
|
141
|
-
"type": "array",
|
142
|
-
"title": "Content per goal",
|
143
|
-
"description": "This setting can be used to enter details for each goal.",
|
144
|
-
"items": {
|
145
|
-
"type": "object",
|
146
|
-
"title": "Goal",
|
147
|
-
"properties": {
|
148
|
-
"heading": {
|
149
|
-
"type": "string",
|
150
|
-
"title": "Page heading",
|
151
|
-
"description": "Optional heading to display in the goal banner (as an H1) for this goal. If left blank, the goal name will be used."
|
152
|
-
},
|
153
|
-
"content": {
|
154
|
-
"type": "string",
|
155
|
-
"title": "Content",
|
156
|
-
"format": "markdown",
|
157
|
-
"description": "Markdown content or a translation key for this goal."
|
158
|
-
},
|
159
|
-
"content_heading": {
|
160
|
-
"type": "string",
|
161
|
-
"title": "Content heading",
|
162
|
-
"description": "Optional heading to display above the content (as an H2) for this goal. If left blank, the site-wide 'Goal content heading' (above) will be used."
|
163
|
-
},
|
164
|
-
"goal": {
|
165
|
-
"type": "string",
|
166
|
-
"title": "Goal",
|
167
|
-
"description": "Optionally specify the goal ID this content applies to. Can be left blank if using the correct order of the goals (1, 2, 3, etc.)."
|
168
|
-
}
|
169
|
-
}
|
170
|
-
}
|
171
|
-
}
|
172
|
-
},
|
173
|
-
"links": [
|
174
|
-
{
|
175
|
-
"rel": "More information on the create goals setting",
|
176
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#create_goals"
|
177
|
-
}
|
178
|
-
]
|
179
|
-
},
|
180
|
-
"create_indicators": {
|
181
|
-
"options": {"collapsed": true},
|
182
|
-
"type": "object",
|
183
|
-
"title": "Create indicators",
|
184
|
-
"description": "This setting can be used to automatically create the indicator pages.",
|
185
|
-
"properties": {
|
186
|
-
"previous_next_links": {
|
187
|
-
"title": "Previous/next links",
|
188
|
-
"type": "boolean",
|
189
|
-
"description": "This setting can be used to show navigation links to the previous/next indicators.",
|
190
|
-
"format": "checkbox"
|
191
|
-
}
|
192
|
-
},
|
193
|
-
"links": [
|
194
|
-
{
|
195
|
-
"rel": "More information on the create indicators setting",
|
196
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#create_indicators"
|
197
|
-
}
|
198
|
-
]
|
199
|
-
},
|
200
|
-
"create_pages": {
|
201
|
-
"options": {"collapsed": true},
|
202
|
-
"type": "array",
|
203
|
-
"title": "Create pages",
|
204
|
-
"description": "This setting can be used to automatically create the pages.",
|
205
|
-
"items": {
|
206
|
-
"type": "object",
|
207
|
-
"title": "Page",
|
208
|
-
"properties": {
|
209
|
-
"filename": {
|
210
|
-
"type": "string",
|
211
|
-
"title": "Filename",
|
212
|
-
"description": "The filename for the page - usually 'index.html'."
|
213
|
-
},
|
214
|
-
"folder": {
|
215
|
-
"type": "string",
|
216
|
-
"minLength": 1,
|
217
|
-
"title": "Folder",
|
218
|
-
"description": "The folder path for the page."
|
219
|
-
},
|
220
|
-
"layout": {
|
221
|
-
"type": "string",
|
222
|
-
"minLength": 1,
|
223
|
-
"title": "Layout",
|
224
|
-
"description": "The layout to use for the page."
|
225
|
-
},
|
226
|
-
"title": {
|
227
|
-
"type": "string",
|
228
|
-
"title": "Title",
|
229
|
-
"description": "The page title for the page."
|
230
|
-
}
|
231
|
-
}
|
232
|
-
},
|
233
|
-
"links": [
|
234
|
-
{
|
235
|
-
"rel": "More information on the create pages setting",
|
236
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#create_pages"
|
237
|
-
}
|
238
|
-
]
|
239
|
-
},
|
240
|
-
"custom_css": {
|
241
|
-
"options": {"collapsed": true},
|
242
|
-
"type": "array",
|
243
|
-
"title": "Custom CSS files",
|
244
|
-
"description": "Deprecated: instead of using this, it is recommended to put custom CSS in a _sass/custom.scss file.",
|
245
|
-
"items": {
|
246
|
-
"type": "string",
|
247
|
-
"title": "Custom CSS file"
|
248
|
-
},
|
249
|
-
"links": [
|
250
|
-
{
|
251
|
-
"rel": "More information on the custom CSS setting",
|
252
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#custom_css"
|
253
|
-
}
|
254
|
-
]
|
255
|
-
},
|
256
|
-
"custom_js": {
|
257
|
-
"options": {"collapsed": true},
|
258
|
-
"type": "array",
|
259
|
-
"title": "Custom JavaScript files",
|
260
|
-
"description": "This setting can be used to load additional JavaScript files on each page.",
|
261
|
-
"items": {
|
262
|
-
"type": "string",
|
263
|
-
"title": "Custom JavaScript file"
|
264
|
-
},
|
265
|
-
"links": [
|
266
|
-
{
|
267
|
-
"rel": "More information on the custom JS setting",
|
268
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#custom_js"
|
269
|
-
}
|
270
|
-
]
|
271
|
-
},
|
272
|
-
"data_edit_url": {
|
273
|
-
"type": "string",
|
274
|
-
"title": "Data edit URL",
|
275
|
-
"description": "This setting controls the URL of the 'Edit Data' buttons that appear on the staging site's indicator pages.",
|
276
|
-
"links": [
|
277
|
-
{
|
278
|
-
"rel": "More information on the data edit URL setting",
|
279
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#data_edit_url"
|
280
|
-
}
|
281
|
-
]
|
282
|
-
},
|
283
|
-
"data_fields": {
|
284
|
-
"options": {"collapsed": true},
|
285
|
-
"type": "object",
|
286
|
-
"title": "Data fields",
|
287
|
-
"description": "Control the names of fields used for special purposes in data.",
|
288
|
-
"properties": {
|
289
|
-
"units": {
|
290
|
-
"type": "string",
|
291
|
-
"title": "Units",
|
292
|
-
"description": "Field to reserve for units of measurement. Defaults to 'Units'."
|
293
|
-
},
|
294
|
-
"series": {
|
295
|
-
"type": "string",
|
296
|
-
"title": "Series",
|
297
|
-
"description": "Field to reserve for the SDG series. Defaults to 'Series'."
|
298
|
-
}
|
299
|
-
},
|
300
|
-
"links": [
|
301
|
-
{
|
302
|
-
"rel": "More information on the data fields setting",
|
303
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#data_fields"
|
304
|
-
}
|
305
|
-
]
|
306
|
-
},
|
307
|
-
"date_formats": {
|
308
|
-
"options": {"collapsed": true},
|
309
|
-
"type": "array",
|
310
|
-
"title": "Date formats",
|
311
|
-
"description": "This setting can be used to control date formats for use in the site, such as in the news/category/post layouts. Any number date formats can be entered, and each must have an arbitrary type, such as `standard`. Make sure that each type has a variant for each of your languages.",
|
312
|
-
"items": {
|
313
|
-
"type": "object",
|
314
|
-
"title": "Date format",
|
315
|
-
"properties": {
|
316
|
-
"type": {
|
317
|
-
"type": "string",
|
318
|
-
"minLength": 1,
|
319
|
-
"title": "Type",
|
320
|
-
"description": "Use `standard` for news/post dates."
|
321
|
-
},
|
322
|
-
"language": {
|
323
|
-
"type": "string",
|
324
|
-
"minLength": 1,
|
325
|
-
"title": "Language",
|
326
|
-
"description": "Language code the format applies to."
|
327
|
-
},
|
328
|
-
"format": {
|
329
|
-
"type": "string",
|
330
|
-
"minLength": 1,
|
331
|
-
"title": "Format",
|
332
|
-
"description": "Ruby DateTime date format."
|
333
|
-
}
|
334
|
-
}
|
335
|
-
},
|
336
|
-
"links": [
|
337
|
-
{
|
338
|
-
"rel": "More information on the date formats setting",
|
339
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#date_formats"
|
340
|
-
}
|
341
|
-
]
|
342
|
-
},
|
343
|
-
"disclaimer": {
|
344
|
-
"options": {"collapsed": true},
|
345
|
-
"type": "object",
|
346
|
-
"title": "Disclaimer",
|
347
|
-
"description": "This setting controls the content of the disclaimer that appears at the top of each page.",
|
348
|
-
"properties": {
|
349
|
-
"phase": {
|
350
|
-
"type": "string",
|
351
|
-
"title": "Phase",
|
352
|
-
"description": "The development phase of your platform (alpha, beta, etc.)"
|
353
|
-
},
|
354
|
-
"message": {
|
355
|
-
"type": "string",
|
356
|
-
"title": "Message",
|
357
|
-
"description": "A short disclaimer message."
|
358
|
-
},
|
359
|
-
"hidden": {
|
360
|
-
"type": "boolean",
|
361
|
-
"title": "Hidden",
|
362
|
-
"description": "Hide the disclaimer.",
|
363
|
-
"format": "checkbox"
|
364
|
-
}
|
365
|
-
},
|
366
|
-
"links": [
|
367
|
-
{
|
368
|
-
"rel": "More information on the disclaimer setting",
|
369
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#disclaimer"
|
370
|
-
}
|
371
|
-
]
|
372
|
-
},
|
373
|
-
"email_contacts": {
|
374
|
-
"options": {"collapsed": true},
|
375
|
-
"type": "object",
|
376
|
-
"title": "Email addresses",
|
377
|
-
"description": "Email addresses to publish on your platform.",
|
378
|
-
"properties": {
|
379
|
-
"questions": {
|
380
|
-
"type": "string",
|
381
|
-
"minLength": 1,
|
382
|
-
"format": "email",
|
383
|
-
"title": "Questions",
|
384
|
-
"description": "Inbox for questions about your platform."
|
385
|
-
},
|
386
|
-
"suggestions": {
|
387
|
-
"type": "string",
|
388
|
-
"minLength": 1,
|
389
|
-
"format": "email",
|
390
|
-
"title": "Suggestions",
|
391
|
-
"description": "Inbox for suggestions for your platform."
|
392
|
-
},
|
393
|
-
"functional": {
|
394
|
-
"type": "string",
|
395
|
-
"minLength": 1,
|
396
|
-
"format": "email",
|
397
|
-
"title": "Functional",
|
398
|
-
"description": "Inbox for bug reports for your platform."
|
399
|
-
}
|
400
|
-
},
|
401
|
-
"links": [
|
402
|
-
{
|
403
|
-
"rel": "More information on the email contacts setting",
|
404
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#email_contacts"
|
405
|
-
}
|
406
|
-
]
|
407
|
-
},
|
408
|
-
"empty_metadata_placeholder": {
|
409
|
-
"type": "string",
|
410
|
-
"title": "Empty metadata placeholder",
|
411
|
-
"description": "This setting controls the text that will display for any metadata field which has no content. Note that this is not used if 'hide_empty_metadata' is true.",
|
412
|
-
"links": [
|
413
|
-
{
|
414
|
-
"rel": "More information on the empty metadata placeholder setting",
|
415
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#empty_metadata_placeholder"
|
416
|
-
}
|
417
|
-
]
|
418
|
-
},
|
419
|
-
"empty_metadata_placeholder_sources": {
|
420
|
-
"type": "string",
|
421
|
-
"title": "Empty metadata placeholder (sources)",
|
422
|
-
"description": "This setting controls the text that will display for any sources field which has no content. Note that this is not used if 'hide_empty_metadata' is true.",
|
423
|
-
"links": [
|
424
|
-
{
|
425
|
-
"rel": "More information on the empty metadata placeholder (sources) setting",
|
426
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#empty_metadata_placeholder_sources"
|
427
|
-
}
|
428
|
-
]
|
429
|
-
},
|
430
|
-
"environment": {
|
431
|
-
"type": "string",
|
432
|
-
"minLength": 1,
|
433
|
-
"title": "Environment",
|
434
|
-
"description": "Which environment (staging or production) this configuration is for.",
|
435
|
-
"enum": ["staging", "production"],
|
436
|
-
"links": [
|
437
|
-
{
|
438
|
-
"rel": "More information on the environment setting",
|
439
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#environment"
|
440
|
-
}
|
441
|
-
]
|
442
|
-
},
|
443
|
-
"footer_language_toggle": {
|
444
|
-
"type": "string",
|
445
|
-
"title": "Footer language toggle",
|
446
|
-
"description": "This setting controls the type of language toggle to be used in the footer.",
|
447
|
-
"enum": ["none", "dropdown", "links"],
|
448
|
-
"links": [
|
449
|
-
{
|
450
|
-
"rel": "More information on the footer language toggle setting",
|
451
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#footer_language_toggle"
|
452
|
-
}
|
453
|
-
]
|
454
|
-
},
|
455
|
-
"footer_menu": {
|
456
|
-
"options": {"collapsed": true},
|
457
|
-
"type": "array",
|
458
|
-
"title": "Footer menu",
|
459
|
-
"description": "The links to display in the footer menu.",
|
460
|
-
"items": {
|
461
|
-
"$ref": "#/definitions/menu_item"
|
462
|
-
},
|
463
|
-
"links": [
|
464
|
-
{
|
465
|
-
"rel": "More information on the footer menu setting",
|
466
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#footer_menu"
|
467
|
-
}
|
468
|
-
]
|
469
|
-
},
|
470
|
-
"frontpage_cards": {
|
471
|
-
"options": {"collapsed": true},
|
472
|
-
"type": "array",
|
473
|
-
"title": "Frontpage cards",
|
474
|
-
"description": "This setting is only used in the frontpage-alt layout. It can display any number of 'cards' in 3-column rows, beneath the grid of goal tiles.",
|
475
|
-
"items": {
|
476
|
-
"type": "object",
|
477
|
-
"title": "Frontpage card",
|
478
|
-
"properties": {
|
479
|
-
"title": {
|
480
|
-
"type": "string",
|
481
|
-
"minLength": 1,
|
482
|
-
"title": "Title",
|
483
|
-
"description": "The card's title."
|
484
|
-
},
|
485
|
-
"content": {
|
486
|
-
"type": "string",
|
487
|
-
"title": "Content",
|
488
|
-
"description": "The card's content.",
|
489
|
-
"format": "markdown"
|
490
|
-
},
|
491
|
-
"include": {
|
492
|
-
"type": "string",
|
493
|
-
"title": "Include file",
|
494
|
-
"description": "A Jekyll include file to place inside the card."
|
495
|
-
},
|
496
|
-
"button_label": {
|
497
|
-
"type": "string",
|
498
|
-
"title": "Button label",
|
499
|
-
"description": "A label for a button to display at the bottom of the card."
|
500
|
-
},
|
501
|
-
"button_link": {
|
502
|
-
"type": "string",
|
503
|
-
"title": "Button link",
|
504
|
-
"description": "A path or URL for the card's button to link to."
|
505
|
-
},
|
506
|
-
"rule_color": {
|
507
|
-
"type": "string",
|
508
|
-
"title": "Rule color",
|
509
|
-
"description": "The color of the horizontal line appearing above the card."
|
510
|
-
}
|
511
|
-
}
|
512
|
-
},
|
513
|
-
"links": [
|
514
|
-
{
|
515
|
-
"rel": "More information on the frontpage cards setting",
|
516
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#frontpage_cards"
|
517
|
-
}
|
518
|
-
]
|
519
|
-
},
|
520
|
-
"frontpage_goals_grid": {
|
521
|
-
"options": {"collapsed": true},
|
522
|
-
"type": "object",
|
523
|
-
"title": "Frontpage goals grid",
|
524
|
-
"description": "This setting is only used in the frontpage-alt layout. It can display a title and description above the grid of goal tiles.",
|
525
|
-
"$ref": "#/definitions/title_and_description",
|
526
|
-
"links": [
|
527
|
-
{
|
528
|
-
"rel": "More information on the frontpage goals grid setting",
|
529
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#frontpage_goals_grid"
|
530
|
-
}
|
531
|
-
]
|
532
|
-
},
|
533
|
-
"frontpage_introduction_banner": {
|
534
|
-
"options": {"collapsed": true},
|
535
|
-
"type": "object",
|
536
|
-
"title": "Frontpage introduction banner",
|
537
|
-
"description": "This setting is only used in the frontpage-alt layout. It can display a title and description in a banner at the top of the frontpage.",
|
538
|
-
"$ref": "#/definitions/title_and_description",
|
539
|
-
"links": [
|
540
|
-
{
|
541
|
-
"rel": "More information on the frontpage introduction banner setting",
|
542
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#frontpage_introduction_banner"
|
543
|
-
}
|
544
|
-
]
|
545
|
-
},
|
546
|
-
"goal_image_base": {
|
547
|
-
"type": "string",
|
548
|
-
"minLength": 1,
|
549
|
-
"title": "Goal image base URL",
|
550
|
-
"description": "This setting controls the base URL for downloading the imagery for the goals.",
|
551
|
-
"links": [
|
552
|
-
{
|
553
|
-
"rel": "More information on the goal image base setting",
|
554
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#goal_image_base"
|
555
|
-
}
|
556
|
-
]
|
557
|
-
},
|
558
|
-
"goal_image_extension": {
|
559
|
-
"type": "string",
|
560
|
-
"title": "Goal image extension",
|
561
|
-
"description": "This setting controls the type of file (the file extension) that will be used for the goal images.",
|
562
|
-
"links": [
|
563
|
-
{
|
564
|
-
"rel": "More information on the goal image extension setting",
|
565
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#goal_image_extension"
|
566
|
-
}
|
567
|
-
]
|
568
|
-
},
|
569
|
-
"goals_page": {
|
570
|
-
"options": {"collapsed": true},
|
571
|
-
"type": "object",
|
572
|
-
"title": "Goals page",
|
573
|
-
"description": "This setting is used in the 'goals' layout. It can display a title and description above the grid of goal tiles.",
|
574
|
-
"$ref": "#/definitions/title_and_description",
|
575
|
-
"links": [
|
576
|
-
{
|
577
|
-
"rel": "More information on the goals page setting",
|
578
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#goals_page"
|
579
|
-
}
|
580
|
-
]
|
581
|
-
},
|
582
|
-
"graph_color_headline": {
|
583
|
-
"type": "string",
|
584
|
-
"format": "color",
|
585
|
-
"title": "Graph color for headline",
|
586
|
-
"default": "#004466",
|
587
|
-
"description": "This setting can be used to customize the color used in the chart 'headlines'.",
|
588
|
-
"examples": [],
|
589
|
-
"links": [
|
590
|
-
{
|
591
|
-
"rel": "More information on the graph color headline setting",
|
592
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_color_headline"
|
593
|
-
}
|
594
|
-
]
|
595
|
-
},
|
596
|
-
"graph_color_headline_high_contrast": {
|
597
|
-
"type": "string",
|
598
|
-
"format": "color",
|
599
|
-
"title": "Graph color for headline - high-contrast",
|
600
|
-
"default": "#55a6e5",
|
601
|
-
"description": "This setting can be used to customize the color used in the chart 'headlines' in high-contrast mode.",
|
602
|
-
"examples": [],
|
603
|
-
"links": [
|
604
|
-
{
|
605
|
-
"rel": "More information on the graph color headline high-contrast setting",
|
606
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_color_headline_high_contrast"
|
607
|
-
}
|
608
|
-
]
|
609
|
-
},
|
610
|
-
"graph_color_set": {
|
611
|
-
"type": "string",
|
612
|
-
"title": "Graph color set",
|
613
|
-
"description": "This setting can be used to customize the color set used in the charts.",
|
614
|
-
"examples": [],
|
615
|
-
"enum": ["accessible", "classic", "sdg", "goal", "custom"],
|
616
|
-
"links": [
|
617
|
-
{
|
618
|
-
"rel": "More information on the graph color set setting",
|
619
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_color_set"
|
620
|
-
}
|
621
|
-
]
|
622
|
-
},
|
623
|
-
"graph_color_list": {
|
624
|
-
"options": {"collapsed": true},
|
625
|
-
"type": "array",
|
626
|
-
"title": "Graph color list",
|
627
|
-
"description": "This setting can be used to define a set of colors to be used in the charts. This is only used when graph_color_set is 'custom'.",
|
628
|
-
"items": {
|
629
|
-
"type": "string",
|
630
|
-
"format": "color",
|
631
|
-
"title": "Color",
|
632
|
-
"description": "Hexadecimal color code"
|
633
|
-
},
|
634
|
-
"links": [
|
635
|
-
{
|
636
|
-
"rel": "More information on the graph color list setting",
|
637
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_color_list"
|
638
|
-
}
|
639
|
-
]
|
640
|
-
},
|
641
|
-
"graph_color_number": {
|
642
|
-
"title": "Graph color number",
|
643
|
-
"type": "integer",
|
644
|
-
"description": "This setting can be used to limit the length of the list of colors selected via graph_color_set.",
|
645
|
-
"links": [
|
646
|
-
{
|
647
|
-
"rel": "More information on the graph color number setting",
|
648
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_color_number"
|
649
|
-
}
|
650
|
-
]
|
651
|
-
},
|
652
|
-
"graph_title_from_series": {
|
653
|
-
"title": "Graph title from series",
|
654
|
-
"type": "boolean",
|
655
|
-
"description": "This setting can be set to `true` to use the selected series for the graph title, whenever possible.",
|
656
|
-
"format": "checkbox",
|
657
|
-
"links": [
|
658
|
-
{
|
659
|
-
"rel": "More information on the graph title from series setting",
|
660
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_title_from_series"
|
661
|
-
}
|
662
|
-
]
|
663
|
-
},
|
664
|
-
"header_language_toggle": {
|
665
|
-
"type": "string",
|
666
|
-
"title": "Header language toggle",
|
667
|
-
"description": "This setting controls the type of language toggle to be used in the header.",
|
668
|
-
"enum": ["none", "dropdown", "links"],
|
669
|
-
"links": [
|
670
|
-
{
|
671
|
-
"rel": "More information on the header language toggle setting",
|
672
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#header_language_toggle"
|
673
|
-
}
|
674
|
-
]
|
675
|
-
},
|
676
|
-
"hide_empty_metadata": {
|
677
|
-
"title": "Hide empty metadata",
|
678
|
-
"type": "boolean",
|
679
|
-
"description": "This setting can be used to hide any metadata fields that are empty.",
|
680
|
-
"format": "checkbox",
|
681
|
-
"links": [
|
682
|
-
{
|
683
|
-
"rel": "More information on the hide empty metadata setting",
|
684
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#hide_empty_metadata"
|
685
|
-
}
|
686
|
-
]
|
687
|
-
},
|
688
|
-
"hide_single_series": {
|
689
|
-
"title": "Hide single series",
|
690
|
-
"type": "boolean",
|
691
|
-
"description": "This setting can be used to hide the 'Series' toggle on indicators where there is only one choice.",
|
692
|
-
"format": "checkbox",
|
693
|
-
"links": [
|
694
|
-
{
|
695
|
-
"rel": "More information on the hide single series setting",
|
696
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#hide_single_series"
|
697
|
-
}
|
698
|
-
]
|
699
|
-
},
|
700
|
-
"hide_single_unit": {
|
701
|
-
"title": "Hide single unit",
|
702
|
-
"type": "boolean",
|
703
|
-
"description": "This setting can be used to hide the 'Unit' toggle on indicators where there is only one choice.",
|
704
|
-
"format": "checkbox",
|
705
|
-
"links": [
|
706
|
-
{
|
707
|
-
"rel": "More information on the hide single unit setting",
|
708
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#hide_single_unit"
|
709
|
-
}
|
710
|
-
]
|
711
|
-
},
|
712
|
-
"ignored_disaggregations": {
|
713
|
-
"options": {"collapsed": true},
|
714
|
-
"type": "array",
|
715
|
-
"title": "Ignored disaggregations",
|
716
|
-
"description": "An optional list of data columns that should not appear as disaggregation drop-downs in the left sidebar.",
|
717
|
-
"items": {
|
718
|
-
"type": "string",
|
719
|
-
"title": "Ignored disaggregation"
|
720
|
-
},
|
721
|
-
"links": [
|
722
|
-
{
|
723
|
-
"rel": "More information on the ignored_disaggregations setting",
|
724
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#ignored_disaggregations"
|
725
|
-
}
|
726
|
-
]
|
727
|
-
},
|
728
|
-
"indicator_config_form": {
|
729
|
-
"options": {"collapsed": true},
|
730
|
-
"type": "object",
|
731
|
-
"title": "Indicator configuration form",
|
732
|
-
"description": "Configuration of the indicator configuration form.",
|
733
|
-
"$ref": "#/definitions/config_form_options"
|
734
|
-
},
|
735
|
-
"indicator_data_form": {
|
736
|
-
"options": {"collapsed": true},
|
737
|
-
"type": "object",
|
738
|
-
"title": "Indicator data form",
|
739
|
-
"description": "Configuration of the indicator data form.",
|
740
|
-
"properties": {
|
741
|
-
"enabled": {
|
742
|
-
"type": "boolean",
|
743
|
-
"title": "Enable this type of form",
|
744
|
-
"description": "If enabled, the indicator data form will be available.",
|
745
|
-
"format": "checkbox"
|
746
|
-
},
|
747
|
-
"repository_link": {
|
748
|
-
"type": "string",
|
749
|
-
"title": "Repository link",
|
750
|
-
"description": "The URL pattern of the 'Go to repository' link on the configuration page."
|
751
|
-
}
|
752
|
-
}
|
753
|
-
},
|
754
|
-
"indicator_metadata_form": {
|
755
|
-
"options": {"collapsed": true},
|
756
|
-
"type": "object",
|
757
|
-
"title": "Indicator metadata form",
|
758
|
-
"description": "Configuration of the indicator metadata form.",
|
759
|
-
"allOf": [
|
760
|
-
{ "$ref": "#/definitions/config_form_options" },
|
761
|
-
{
|
762
|
-
"properties": {
|
763
|
-
"language": {
|
764
|
-
"type": "string",
|
765
|
-
"title": "Language for editing",
|
766
|
-
"description": "Choose the language you prefer when editing metadata. This is used to translate the labels of the metadata fields."
|
767
|
-
},
|
768
|
-
"scopes": {
|
769
|
-
"options": {"collapsed": true},
|
770
|
-
"type": "array",
|
771
|
-
"title": "Metadata scopes",
|
772
|
-
"description": "Specify the 'scopes' of metadata to include on the form. Eg: 'national' or 'global'.",
|
773
|
-
"items": {
|
774
|
-
"type": "string",
|
775
|
-
"title": "Scope"
|
776
|
-
}
|
777
|
-
},
|
778
|
-
"exclude_fields": {
|
779
|
-
"options": {"collapsed": true},
|
780
|
-
"type": "array",
|
781
|
-
"title": "Exclude fields",
|
782
|
-
"description": "Specify any fields you would like to exclude from the form.",
|
783
|
-
"items": {
|
784
|
-
"type": "string",
|
785
|
-
"title": "Field"
|
786
|
-
}
|
787
|
-
},
|
788
|
-
"translated": {
|
789
|
-
"type": "boolean",
|
790
|
-
"title": "Display translated contents in the form",
|
791
|
-
"description": "This should only be enabled if you are using the 'subfolder' approach for your metadata.",
|
792
|
-
"format": "checkbox"
|
793
|
-
}
|
794
|
-
}
|
795
|
-
}
|
796
|
-
]
|
797
|
-
},
|
798
|
-
"indicator_tabs": {
|
799
|
-
"options": {"collapsed": true},
|
800
|
-
"type": "object",
|
801
|
-
"title": "Indicator tabs",
|
802
|
-
"description": "Assign content for the indicator tabs.",
|
803
|
-
"properties": {
|
804
|
-
"tab_1": {
|
805
|
-
"type": "string",
|
806
|
-
"title": "Tab 1",
|
807
|
-
"description": "What to display in the first tab",
|
808
|
-
"$ref": "#/definitions/indicator_tabs_options"
|
809
|
-
},
|
810
|
-
"tab_2": {
|
811
|
-
"type": "string",
|
812
|
-
"title": "Tab 2",
|
813
|
-
"description": "What to display in the second tab",
|
814
|
-
"$ref": "#/definitions/indicator_tabs_options"
|
815
|
-
},
|
816
|
-
"tab_3": {
|
817
|
-
"type": "string",
|
818
|
-
"title": "Tab 3",
|
819
|
-
"description": "What to display in the third tab",
|
820
|
-
"$ref": "#/definitions/indicator_tabs_options"
|
821
|
-
},
|
822
|
-
"tab_4": {
|
823
|
-
"type": "string",
|
824
|
-
"title": "Tab 4",
|
825
|
-
"description": "What to display in the fourth tab",
|
826
|
-
"$ref": "#/definitions/indicator_tabs_options"
|
827
|
-
}
|
828
|
-
}
|
829
|
-
},
|
830
|
-
"languages": {
|
831
|
-
"options": {"collapsed": true},
|
832
|
-
"type": "array",
|
833
|
-
"minItems": 1,
|
834
|
-
"title": "Languages",
|
835
|
-
"description": "This setting controls the languages to be used on the site.",
|
836
|
-
"items": {
|
837
|
-
"type": "string",
|
838
|
-
"minLength": 1,
|
839
|
-
"title": "Language"
|
840
|
-
},
|
841
|
-
"links": [
|
842
|
-
{
|
843
|
-
"rel": "More information on the languages setting",
|
844
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#languages"
|
845
|
-
}
|
846
|
-
]
|
847
|
-
},
|
848
|
-
"languages_public": {
|
849
|
-
"options": {"collapsed": true},
|
850
|
-
"type": "array",
|
851
|
-
"title": "Language code overrides",
|
852
|
-
"description": "This setting can be used if you are not happy with any of the standard language codes.",
|
853
|
-
"items": {
|
854
|
-
"type": "object",
|
855
|
-
"title": "Language override",
|
856
|
-
"properties": {
|
857
|
-
"language": {
|
858
|
-
"type": "string",
|
859
|
-
"minLength": 1,
|
860
|
-
"title": "Language",
|
861
|
-
"description": "The (standard) language code that you would like to override."
|
862
|
-
},
|
863
|
-
"language_public": {
|
864
|
-
"type": "string",
|
865
|
-
"minLength": 1,
|
866
|
-
"title": "Language override",
|
867
|
-
"description": "The (non-standard) language code that you would like show the public instead."
|
868
|
-
}
|
869
|
-
}
|
870
|
-
},
|
871
|
-
"links": [
|
872
|
-
{
|
873
|
-
"rel": "More information on the language override setting",
|
874
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#languages_public"
|
875
|
-
}
|
876
|
-
]
|
877
|
-
},
|
878
|
-
"logos": {
|
879
|
-
"options": {"collapsed": true},
|
880
|
-
"type": "array",
|
881
|
-
"title": "Logos",
|
882
|
-
"description": "This setting can be used to control the main logo (or logos).",
|
883
|
-
"items": {
|
884
|
-
"type": "object",
|
885
|
-
"title": "Logo",
|
886
|
-
"properties": {
|
887
|
-
"language": {
|
888
|
-
"type": "string",
|
889
|
-
"title": "Language",
|
890
|
-
"description": "The language on which this logo displays. Leave blank to show on all."
|
891
|
-
},
|
892
|
-
"src": {
|
893
|
-
"type": "string",
|
894
|
-
"minLength": 1,
|
895
|
-
"title": "Image file",
|
896
|
-
"description": "The image file (path or URL) for this logo"
|
897
|
-
},
|
898
|
-
"alt": {
|
899
|
-
"type": "string",
|
900
|
-
"minLength": 1,
|
901
|
-
"title": "Alt text",
|
902
|
-
"description": "The alt text for this logo"
|
903
|
-
}
|
904
|
-
}
|
905
|
-
},
|
906
|
-
"links": [
|
907
|
-
{
|
908
|
-
"rel": "More information on the logos setting",
|
909
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#logos"
|
910
|
-
}
|
911
|
-
]
|
912
|
-
},
|
913
|
-
"map_layers": {
|
914
|
-
"options": {"collapsed": true},
|
915
|
-
"type": "array",
|
916
|
-
"title": "Map layers",
|
917
|
-
"description": "Configure any number of layers to display on all indicator maps. A minimum of one layer is required to display maps.",
|
918
|
-
"items": {
|
919
|
-
"type": "object",
|
920
|
-
"title": "Map layer",
|
921
|
-
"properties": {
|
922
|
-
"subfolder": {
|
923
|
-
"type": "string",
|
924
|
-
"title": "Subfolder",
|
925
|
-
"description": "The subfolder under 'geojson' in the data repository holding the GeoJSON file for this layer."
|
926
|
-
},
|
927
|
-
"label": {
|
928
|
-
"type": "string",
|
929
|
-
"title": "Download button label",
|
930
|
-
"description": "The label to use in the 'Download GeoJSON' button for this layer."
|
931
|
-
},
|
932
|
-
"min_zoom": {
|
933
|
-
"type": "integer",
|
934
|
-
"title": "Minimum zoom",
|
935
|
-
"description": "This layer will only be visible when the map is zoomed to at least this number."
|
936
|
-
},
|
937
|
-
"max_zoom": {
|
938
|
-
"type": "integer",
|
939
|
-
"title": "Maximum zoom",
|
940
|
-
"description": "The layer will not be visible when the map is zoomed beyond this number."
|
941
|
-
},
|
942
|
-
"staticBorders": {
|
943
|
-
"type": "boolean",
|
944
|
-
"format": "checkbox",
|
945
|
-
"title": "Static borders",
|
946
|
-
"description": "Whether the borders on this layer should remain visible when the map is zoomed past the maximum."
|
947
|
-
}
|
948
|
-
}
|
949
|
-
},
|
950
|
-
"links": [
|
951
|
-
{
|
952
|
-
"rel": "More information on the map layers setting",
|
953
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/maps/#map_layers"
|
954
|
-
}
|
955
|
-
]
|
956
|
-
},
|
957
|
-
"map_options": {
|
958
|
-
"options": {"collapsed": true},
|
959
|
-
"type": "object",
|
960
|
-
"title": "Map options",
|
961
|
-
"description": "Site-wide configuration of map behavior and style.",
|
962
|
-
"properties": {
|
963
|
-
"disaggregation_controls": {
|
964
|
-
"title": "Disaggregation controls",
|
965
|
-
"type": "boolean",
|
966
|
-
"description": "Whether the map should provide a button and form for changing the displayed disaggregation.",
|
967
|
-
"format": "checkbox"
|
968
|
-
},
|
969
|
-
"minZoom": {
|
970
|
-
"title": "Minimum zoom",
|
971
|
-
"type": "integer",
|
972
|
-
"description": "The lowest amount of 'zoom' possible for users.",
|
973
|
-
"default": 5
|
974
|
-
},
|
975
|
-
"maxZoom": {
|
976
|
-
"title": "Maximum zoom",
|
977
|
-
"type": "integer",
|
978
|
-
"description": "The highest amount of 'zoom' possible for users.",
|
979
|
-
"default": 10
|
980
|
-
},
|
981
|
-
"tileURL": {
|
982
|
-
"title": "Tile URL",
|
983
|
-
"type": "string",
|
984
|
-
"format": "url",
|
985
|
-
"description": "If you would like the maps to show tile imagery, add the URL here."
|
986
|
-
},
|
987
|
-
"tileOptions": {
|
988
|
-
"title": "Tile options",
|
989
|
-
"type": "object",
|
990
|
-
"options": {"collapsed": true},
|
991
|
-
"description": "Additional options for map tile imagery.",
|
992
|
-
"properties": {
|
993
|
-
"id": {
|
994
|
-
"type": "string",
|
995
|
-
"title": "Tile ID"
|
996
|
-
},
|
997
|
-
"accessToken": {
|
998
|
-
"type": "string",
|
999
|
-
"title": "Access token"
|
1000
|
-
},
|
1001
|
-
"attribution": {
|
1002
|
-
"type": "string",
|
1003
|
-
"title": "Attribution"
|
1004
|
-
}
|
1005
|
-
}
|
1006
|
-
},
|
1007
|
-
"colorRange": {
|
1008
|
-
"type": "string",
|
1009
|
-
"title": "Color range",
|
1010
|
-
"description": "The color range for the choropleth map.",
|
1011
|
-
"default": "chroma.brewer.BuGn",
|
1012
|
-
"links": [
|
1013
|
-
{
|
1014
|
-
"ref": "More information on the color range setting",
|
1015
|
-
"href": "https://gka.github.io/chroma.js/#chroma-brewer"
|
1016
|
-
}
|
1017
|
-
]
|
1018
|
-
},
|
1019
|
-
"noValueColor": {
|
1020
|
-
"type": "string",
|
1021
|
-
"format": "color",
|
1022
|
-
"title": "No-value color",
|
1023
|
-
"description": "Color for boundaries that have no data.",
|
1024
|
-
"default": "#f0f0f0"
|
1025
|
-
},
|
1026
|
-
"styleNormal": {
|
1027
|
-
"type": "object",
|
1028
|
-
"title": "Style (normal)",
|
1029
|
-
"description": "Style for boundaries in normal state",
|
1030
|
-
"$ref": "#/definitions/map_style",
|
1031
|
-
"default": {
|
1032
|
-
"weight": 1,
|
1033
|
-
"opacity": 1,
|
1034
|
-
"fillOpacity": 0.7,
|
1035
|
-
"color": "#888888"
|
1036
|
-
}
|
1037
|
-
},
|
1038
|
-
"styleHighlighted": {
|
1039
|
-
"type": "object",
|
1040
|
-
"title": "Style (highlighted)",
|
1041
|
-
"description": "Style for boundaries in highlighted state",
|
1042
|
-
"$ref": "#/definitions/map_style",
|
1043
|
-
"default": {
|
1044
|
-
"weight": 1,
|
1045
|
-
"opacity": 1,
|
1046
|
-
"fillOpacity": 0.7,
|
1047
|
-
"color": "#111111"
|
1048
|
-
}
|
1049
|
-
},
|
1050
|
-
"styleStatic": {
|
1051
|
-
"type": "object",
|
1052
|
-
"title": "Style (static)",
|
1053
|
-
"description": "Style for boundaries in static state (map layers using the 'static boundaries' option).",
|
1054
|
-
"$ref": "#/definitions/map_style",
|
1055
|
-
"default": {
|
1056
|
-
"weight": 2,
|
1057
|
-
"opacity": 1,
|
1058
|
-
"fillOpacity": 0,
|
1059
|
-
"color": "#172d44",
|
1060
|
-
"dashArray": "5,5"
|
1061
|
-
}
|
1062
|
-
}
|
1063
|
-
},
|
1064
|
-
"links": [
|
1065
|
-
{
|
1066
|
-
"rel": "More information on the map options setting",
|
1067
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/maps/#map_options"
|
1068
|
-
}
|
1069
|
-
]
|
1070
|
-
},
|
1071
|
-
"menu": {
|
1072
|
-
"options": {"collapsed": true},
|
1073
|
-
"type": "array",
|
1074
|
-
"minItems": 1,
|
1075
|
-
"title": "Main menu",
|
1076
|
-
"description": "The links to display in the main menu.",
|
1077
|
-
"items": {
|
1078
|
-
"title": "Menu item",
|
1079
|
-
"allOf": [
|
1080
|
-
{ "$ref": "#/definitions/menu_item" },
|
1081
|
-
{
|
1082
|
-
"properties": {
|
1083
|
-
"dropdown": {
|
1084
|
-
"title": "Dropdown menu",
|
1085
|
-
"type": "array",
|
1086
|
-
"description": "Enter menu items here to turn this into a dropdown.",
|
1087
|
-
"items": {
|
1088
|
-
"$ref": "#/definitions/menu_item",
|
1089
|
-
"title": "Dropdown menu item"
|
1090
|
-
}
|
1091
|
-
}
|
1092
|
-
}
|
1093
|
-
}
|
1094
|
-
]
|
1095
|
-
},
|
1096
|
-
"links": [
|
1097
|
-
{
|
1098
|
-
"rel": "More information on the menu setting",
|
1099
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#menu"
|
1100
|
-
}
|
1101
|
-
]
|
1102
|
-
},
|
1103
|
-
"metadata_edit_url": {
|
1104
|
-
"type": "string",
|
1105
|
-
"title": "Metadata edit URL",
|
1106
|
-
"description": "This setting controls the URL of the 'Edit Metadata' buttons that appear on the staging site's indicator pages.",
|
1107
|
-
"links": [
|
1108
|
-
{
|
1109
|
-
"rel": "More information on the metadata edit URL setting",
|
1110
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#metadata_edit_url"
|
1111
|
-
}
|
1112
|
-
]
|
1113
|
-
},
|
1114
|
-
"metadata_tabs": {
|
1115
|
-
"options": {"collapsed": true},
|
1116
|
-
"type": "array",
|
1117
|
-
"title": "Metadata tabs",
|
1118
|
-
"description": "This setting can control the metadata tabs which appear on the indicator pages.",
|
1119
|
-
"items": {
|
1120
|
-
"type": "object",
|
1121
|
-
"title": "Metadata tab",
|
1122
|
-
"properties": {
|
1123
|
-
"scope": {
|
1124
|
-
"type": "string",
|
1125
|
-
"minLength": 1,
|
1126
|
-
"title": "Scope",
|
1127
|
-
"description": "This tab will contain fields in the specific `scope` in your data repository's metadata schema file (eg, `_prose.yml`)."
|
1128
|
-
},
|
1129
|
-
"title": {
|
1130
|
-
"type": "string",
|
1131
|
-
"minLength": 1,
|
1132
|
-
"title": "Title",
|
1133
|
-
"description": "The title of the metadata tab."
|
1134
|
-
},
|
1135
|
-
"description": {
|
1136
|
-
"type": "string",
|
1137
|
-
"title": "Description",
|
1138
|
-
"description": "A descriptive blurb to show at the top of the tab content.",
|
1139
|
-
"format": "markdown"
|
1140
|
-
}
|
1141
|
-
}
|
1142
|
-
},
|
1143
|
-
"links": [
|
1144
|
-
{
|
1145
|
-
"rel": "More information on the metadata tabs setting",
|
1146
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#metadata_tabs"
|
1147
|
-
}
|
1148
|
-
]
|
1149
|
-
},
|
1150
|
-
"meta_tags": {
|
1151
|
-
"options": {"collapsed": true},
|
1152
|
-
"type": "array",
|
1153
|
-
"title": "Meta tags",
|
1154
|
-
"description": "This setting can be used to add custom meta tags at any paths.",
|
1155
|
-
"items": {
|
1156
|
-
"type": "object",
|
1157
|
-
"title": "Meta tag",
|
1158
|
-
"properties": {
|
1159
|
-
"path": {
|
1160
|
-
"type": "string",
|
1161
|
-
"minLength": 1,
|
1162
|
-
"title": "Path",
|
1163
|
-
"description": "The path within the platform at which to place this tag."
|
1164
|
-
},
|
1165
|
-
"name": {
|
1166
|
-
"type": "string",
|
1167
|
-
"minLength": 1,
|
1168
|
-
"title": "Name",
|
1169
|
-
"description": "The 'name' attribute for the meta tag."
|
1170
|
-
},
|
1171
|
-
"src": {
|
1172
|
-
"type": "string",
|
1173
|
-
"minLength": 1,
|
1174
|
-
"title": "Content",
|
1175
|
-
"description": "The 'content' attribute for the meta tag. Translation keys can be used."
|
1176
|
-
}
|
1177
|
-
}
|
1178
|
-
},
|
1179
|
-
"links": [
|
1180
|
-
{
|
1181
|
-
"rel": "More information on the Meta Tags setting",
|
1182
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#meta_tags"
|
1183
|
-
}
|
1184
|
-
]
|
1185
|
-
},
|
1186
|
-
"news": {
|
1187
|
-
"options": {"collapsed": true},
|
1188
|
-
"type": "object",
|
1189
|
-
"title": "News",
|
1190
|
-
"description": "Configuration related to news updates and posts.",
|
1191
|
-
"properties": {
|
1192
|
-
"category_links": {
|
1193
|
-
"title": "Category links",
|
1194
|
-
"type": "boolean",
|
1195
|
-
"description": "Whether you would like the 'categories' of posts to generate links to dedicated category pages.",
|
1196
|
-
"format": "checkbox"
|
1197
|
-
}
|
1198
|
-
},
|
1199
|
-
"links": [
|
1200
|
-
{
|
1201
|
-
"rel": "More information on the news setting",
|
1202
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#news"
|
1203
|
-
}
|
1204
|
-
]
|
1205
|
-
},
|
1206
|
-
"observation_attributes": {
|
1207
|
-
"options": {"collapsed": true},
|
1208
|
-
"type": "array",
|
1209
|
-
"title": "Observation attributes",
|
1210
|
-
"description": "This setting can be used to specify data columns to be considered 'observation attributes' and displayed along with individual data-points.",
|
1211
|
-
"items": {
|
1212
|
-
"type": "object",
|
1213
|
-
"title": "Observation attribute",
|
1214
|
-
"properties": {
|
1215
|
-
"field": {
|
1216
|
-
"type": "string",
|
1217
|
-
"minLength": 1,
|
1218
|
-
"title": "Field",
|
1219
|
-
"description": "Column name in the data."
|
1220
|
-
},
|
1221
|
-
"label": {
|
1222
|
-
"type": "string",
|
1223
|
-
"minLength": 1,
|
1224
|
-
"title": "Label",
|
1225
|
-
"description": "Optional label when displayed in footnotes."
|
1226
|
-
}
|
1227
|
-
}
|
1228
|
-
},
|
1229
|
-
"links": [
|
1230
|
-
{
|
1231
|
-
"rel": "More information on the observation attributes setting",
|
1232
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#observation_attributes"
|
1233
|
-
}
|
1234
|
-
]
|
1235
|
-
},
|
1236
|
-
"progress_status": {
|
1237
|
-
"options": {"collapsed": true},
|
1238
|
-
"type": "object",
|
1239
|
-
"title": "Progress status",
|
1240
|
-
"description": "This setting is used in the 'goal-with-progress' layout. It controls the behavior of progress status functionality.",
|
1241
|
-
"properties": {
|
1242
|
-
"status_heading": {
|
1243
|
-
"title": "Status heading",
|
1244
|
-
"type": "string",
|
1245
|
-
"description": "A heading to display before the progress status on indicator pages."
|
1246
|
-
},
|
1247
|
-
"status_help": {
|
1248
|
-
"title": "Status help",
|
1249
|
-
"type": "string",
|
1250
|
-
"description": "An explanatory column header above the progress status on goal pages."
|
1251
|
-
},
|
1252
|
-
"status_types": {
|
1253
|
-
"options": {"collapsed": true},
|
1254
|
-
"type": "array",
|
1255
|
-
"title": "Status types",
|
1256
|
-
"description": "Controls the behavior and labels for the different progress status types.",
|
1257
|
-
"items": {
|
1258
|
-
"type": "object",
|
1259
|
-
"title": "Status type",
|
1260
|
-
"properties": {
|
1261
|
-
"value": {
|
1262
|
-
"type": "string",
|
1263
|
-
"minLength": 1,
|
1264
|
-
"title": "Value",
|
1265
|
-
"description": "The value of the status type, as it is set in the indicator configuration (eg, 'targetachieved')."
|
1266
|
-
},
|
1267
|
-
"label": {
|
1268
|
-
"type": "string",
|
1269
|
-
"title": "Label",
|
1270
|
-
"description": "The human-readable label for the status type. Can be a translation key (eg, 'status.target_achieved')."
|
1271
|
-
},
|
1272
|
-
"image": {
|
1273
|
-
"type": "string",
|
1274
|
-
"title": "Image",
|
1275
|
-
"description": "The internal path to the image to use (if any) for this progress status."
|
1276
|
-
},
|
1277
|
-
"alt": {
|
1278
|
-
"type": "string",
|
1279
|
-
"title": "Alt",
|
1280
|
-
"description": "An alt tag for the image above."
|
1281
|
-
}
|
1282
|
-
}
|
1283
|
-
}
|
1284
|
-
}
|
1285
|
-
},
|
1286
|
-
"links": [
|
1287
|
-
{
|
1288
|
-
"rel": "More information on the progress status setting",
|
1289
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#progress_status"
|
1290
|
-
}
|
1291
|
-
]
|
1292
|
-
},
|
1293
|
-
"progressive_web_app": {
|
1294
|
-
"options": {"collapsed": true},
|
1295
|
-
"type": "object",
|
1296
|
-
"title": "Progressive Web App",
|
1297
|
-
"description": "Configuration for turning the platform into a progressive web app for offline usage.",
|
1298
|
-
"properties": {
|
1299
|
-
"enabled": {
|
1300
|
-
"type": "boolean",
|
1301
|
-
"title": "Enabled",
|
1302
|
-
"description": "If enabled, the platform will be a progressive web app for offline usage.",
|
1303
|
-
"format": "checkbox"
|
1304
|
-
},
|
1305
|
-
"name": {
|
1306
|
-
"type": "string",
|
1307
|
-
"title": "Name",
|
1308
|
-
"description": "The full name of the app (displays on splash screen)."
|
1309
|
-
},
|
1310
|
-
"short_name": {
|
1311
|
-
"type": "string",
|
1312
|
-
"title": "Short name",
|
1313
|
-
"description": "The short name of the app (displays under home screen icon)."
|
1314
|
-
},
|
1315
|
-
"precaching": {
|
1316
|
-
"type": "boolean",
|
1317
|
-
"title": "Precaching",
|
1318
|
-
"description": "If enabled, all indicator and goal pages will be precached when the app is installed.",
|
1319
|
-
"format": "checkbox"
|
1320
|
-
}
|
1321
|
-
},
|
1322
|
-
"links": [
|
1323
|
-
{
|
1324
|
-
"rel": "More information on the progressive_web_app setting",
|
1325
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#progressive_web_app"
|
1326
|
-
}
|
1327
|
-
]
|
1328
|
-
},
|
1329
|
-
"proxy_indicators": {
|
1330
|
-
"options": {"collapsed": true},
|
1331
|
-
"type": "object",
|
1332
|
-
"title": "Proxy indicators",
|
1333
|
-
"description": "Configuration for the proxy indicator functionality.",
|
1334
|
-
"properties": {
|
1335
|
-
"label": {
|
1336
|
-
"type": "string",
|
1337
|
-
"title": "Label",
|
1338
|
-
"description": "The label to display when flagging a proxy indicator. Defaults to 'Proxy'."
|
1339
|
-
},
|
1340
|
-
"description": {
|
1341
|
-
"type": "string",
|
1342
|
-
"title": "Description",
|
1343
|
-
"description": "The description to display at the top of indicator pages, explaining what 'Proxy' means."
|
1344
|
-
}
|
1345
|
-
}
|
1346
|
-
},
|
1347
|
-
"remote_data_prefix": {
|
1348
|
-
"type": "string",
|
1349
|
-
"minLength": 1,
|
1350
|
-
"title": "Remote data prefix",
|
1351
|
-
"description": "Specify the URL of the 'data service' that is generated from your data repository.",
|
1352
|
-
"links": [
|
1353
|
-
{
|
1354
|
-
"rel": "More information on the remote data prefix setting",
|
1355
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#remote_data_prefix"
|
1356
|
-
}
|
1357
|
-
]
|
1358
|
-
},
|
1359
|
-
"reporting_status": {
|
1360
|
-
"options": {"collapsed": true},
|
1361
|
-
"type": "object",
|
1362
|
-
"title": "Reporting status",
|
1363
|
-
"description": "This setting is used in the 'reportingstatus' layout. It can display a title and description above the reporting status page.",
|
1364
|
-
"allOf": [
|
1365
|
-
{ "$ref": "#/definitions/title_and_description" },
|
1366
|
-
{
|
1367
|
-
"properties": {
|
1368
|
-
"disaggregation_indicator_count_label": {
|
1369
|
-
"title": "Disaggregation indicator count label",
|
1370
|
-
"type": "string",
|
1371
|
-
"description": "An alternative label to use for the indicator count on the disaggregation tab, to be display after a number."
|
1372
|
-
},
|
1373
|
-
"disaggregation_tabs": {
|
1374
|
-
"title": "Disaggregation tabs",
|
1375
|
-
"type": "boolean",
|
1376
|
-
"description": "Whether or not to display disaggregation status tabs. If you enable this setting, you should also use 'expected_disaggregations' in your indicator configuration, in order to provide the disaggregation status report with useful metrics.",
|
1377
|
-
"format": "checkbox"
|
1378
|
-
},
|
1379
|
-
"status_types": {
|
1380
|
-
"options": {"collapsed": true},
|
1381
|
-
"type": "array",
|
1382
|
-
"title": "Status types",
|
1383
|
-
"description": "Controls the behavior and labels for the different reporting status types.",
|
1384
|
-
"items": {
|
1385
|
-
"type": "object",
|
1386
|
-
"title": "Status type",
|
1387
|
-
"properties": {
|
1388
|
-
"value": {
|
1389
|
-
"type": "string",
|
1390
|
-
"minLength": 1,
|
1391
|
-
"title": "Value",
|
1392
|
-
"description": "The value of the status type, as it is set in the indicator configuration (eg, 'complete')."
|
1393
|
-
},
|
1394
|
-
"label": {
|
1395
|
-
"type": "string",
|
1396
|
-
"minLength": 1,
|
1397
|
-
"title": "Label",
|
1398
|
-
"description": "The human-readable label for the status type. Can be a translation key (eg, 'status.reported_online')."
|
1399
|
-
},
|
1400
|
-
"hide_on_goal_pages": {
|
1401
|
-
"type": "boolean",
|
1402
|
-
"title": "Hide on goal pages",
|
1403
|
-
"description": "Whether to hide this status type on goal pages. Useful for the most commonly-occuring type.",
|
1404
|
-
"format": "checkbox"
|
1405
|
-
}
|
1406
|
-
}
|
1407
|
-
}
|
1408
|
-
}
|
1409
|
-
}
|
1410
|
-
}
|
1411
|
-
],
|
1412
|
-
"links": [
|
1413
|
-
{
|
1414
|
-
"rel": "More information on the reporting status setting",
|
1415
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#reporting_status"
|
1416
|
-
}
|
1417
|
-
]
|
1418
|
-
},
|
1419
|
-
"repository_url_data": {
|
1420
|
-
"type": "string",
|
1421
|
-
"title": "Repository URL - Data",
|
1422
|
-
"description": "The URL of your data repository, eg: https://github.com/my-github-org/data",
|
1423
|
-
"links": [
|
1424
|
-
{
|
1425
|
-
"rel": "More information on the data repository URL setting",
|
1426
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#repository_url_data"
|
1427
|
-
}
|
1428
|
-
]
|
1429
|
-
},
|
1430
|
-
"repository_url_site": {
|
1431
|
-
"type": "string",
|
1432
|
-
"title": "Repository URL - Site",
|
1433
|
-
"description": "The URL of your site repository, eg: https://github.com/my-github-org/site",
|
1434
|
-
"links": [
|
1435
|
-
{
|
1436
|
-
"rel": "More information on the site repository URL setting",
|
1437
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#repository_url_site"
|
1438
|
-
}
|
1439
|
-
]
|
1440
|
-
},
|
1441
|
-
"search_index_boost": {
|
1442
|
-
"options": {"collapsed": true},
|
1443
|
-
"type": "array",
|
1444
|
-
"title": "Search index boost",
|
1445
|
-
"description": "This setting can be used to give a boost to one or more fields in the search index.",
|
1446
|
-
"items": {
|
1447
|
-
"type": "object",
|
1448
|
-
"title": "Boost",
|
1449
|
-
"properties": {
|
1450
|
-
"field": {
|
1451
|
-
"type": "string",
|
1452
|
-
"minLength": 1,
|
1453
|
-
"title": "Field",
|
1454
|
-
"description": "Field to boost ('title', 'content', etc.)"
|
1455
|
-
},
|
1456
|
-
"boost": {
|
1457
|
-
"type": "integer",
|
1458
|
-
"minLength": 1,
|
1459
|
-
"title": "Boost",
|
1460
|
-
"description": "Higher boost means higher search ranking."
|
1461
|
-
}
|
1462
|
-
}
|
1463
|
-
},
|
1464
|
-
"links": [
|
1465
|
-
{
|
1466
|
-
"rel": "More information on the search index boost setting",
|
1467
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#search_index_boost"
|
1468
|
-
}
|
1469
|
-
]
|
1470
|
-
},
|
1471
|
-
"search_index_extra_fields": {
|
1472
|
-
"options": {"collapsed": true},
|
1473
|
-
"type": "array",
|
1474
|
-
"title": "Search index extra fields",
|
1475
|
-
"description": "This setting can be used to index additional metadata fields in your indicators, for the purposes of affecting the site-wide search.",
|
1476
|
-
"items": {
|
1477
|
-
"type": "string",
|
1478
|
-
"title": "Extra field"
|
1479
|
-
},
|
1480
|
-
"links": [
|
1481
|
-
{
|
1482
|
-
"rel": "More information on the search index extra fields setting",
|
1483
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#search_index_extra_fields"
|
1484
|
-
}
|
1485
|
-
]
|
1486
|
-
},
|
1487
|
-
"site_config_form": {
|
1488
|
-
"options": {"collapsed": true},
|
1489
|
-
"type": "object",
|
1490
|
-
"title": "Site configuration form",
|
1491
|
-
"description": "Configuration of the site configuration form.",
|
1492
|
-
"$ref": "#/definitions/config_form_options"
|
1493
|
-
},
|
1494
|
-
"time_series_attributes": {
|
1495
|
-
"options": {"collapsed": true},
|
1496
|
-
"type": "array",
|
1497
|
-
"title": "Time-series attributes",
|
1498
|
-
"description": "This setting can be used to specify data columns to be considered 'time-series attributes' and displayed in the footer.",
|
1499
|
-
"items": {
|
1500
|
-
"type": "object",
|
1501
|
-
"title": "Time-series attribute",
|
1502
|
-
"properties": {
|
1503
|
-
"field": {
|
1504
|
-
"type": "string",
|
1505
|
-
"minLength": 1,
|
1506
|
-
"title": "Field",
|
1507
|
-
"description": "Column name in the data."
|
1508
|
-
},
|
1509
|
-
"label": {
|
1510
|
-
"type": "string",
|
1511
|
-
"minLength": 1,
|
1512
|
-
"title": "Label",
|
1513
|
-
"description": "Label when displayed in the footer."
|
1514
|
-
}
|
1515
|
-
}
|
1516
|
-
},
|
1517
|
-
"links": [
|
1518
|
-
{
|
1519
|
-
"rel": "More information on the time series attributes setting",
|
1520
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#time_series_attributes"
|
1521
|
-
}
|
1522
|
-
]
|
1523
|
-
},
|
1524
|
-
"use_new_config_forms": {
|
1525
|
-
"title": "Use new config forms",
|
1526
|
-
"type": "boolean",
|
1527
|
-
"description": "This setting can be set to `true` to try the new site configuration forms. This is experimental and will eventually be the default.",
|
1528
|
-
"format": "checkbox",
|
1529
|
-
"links": [
|
1530
|
-
{
|
1531
|
-
"rel": "More information on the use_new_config_forms setting",
|
1532
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#use_new_config_forms"
|
1533
|
-
}
|
1534
|
-
]
|
1535
|
-
},
|
1536
|
-
"validate_indicator_config": {
|
1537
|
-
"title": "Validate indicator config",
|
1538
|
-
"type": "boolean",
|
1539
|
-
"description": "If checked, this will require that all indicators have valid Open SDG indicator configuration.",
|
1540
|
-
"format": "checkbox",
|
1541
|
-
"links": [
|
1542
|
-
{
|
1543
|
-
"rel": "More information on the validate indicator config setting",
|
1544
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#validate_indicator_config"
|
1545
|
-
}
|
1546
|
-
]
|
1547
|
-
},
|
1548
|
-
"validate_site_config": {
|
1549
|
-
"title": "Validate site config",
|
1550
|
-
"type": "boolean",
|
1551
|
-
"description": "If checked, this will require valid site configuration.",
|
1552
|
-
"format": "checkbox",
|
1553
|
-
"links": [
|
1554
|
-
{
|
1555
|
-
"rel": "More information on the validate site config setting",
|
1556
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#validate_site_config"
|
1557
|
-
}
|
1558
|
-
]
|
1559
|
-
},
|
1560
|
-
"x_axis_label": {
|
1561
|
-
"type": "string",
|
1562
|
-
"title": "X axis label",
|
1563
|
-
"description": "A label beneath the X axis on charts. This is overridden by the same indicator configuration setting.",
|
1564
|
-
"links": [
|
1565
|
-
{
|
1566
|
-
"rel": "More information on the X axis label setting",
|
1567
|
-
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#x_axis_label"
|
1568
|
-
}
|
1569
|
-
]
|
1570
|
-
}
|
1571
|
-
},
|
1572
|
-
"additionalProperties": true,
|
1573
|
-
"definitions": {
|
1574
|
-
"menu_item": {
|
1575
|
-
"type": "object",
|
1576
|
-
"title": "Menu item",
|
1577
|
-
"properties": {
|
1578
|
-
"path": {
|
1579
|
-
"type": "string",
|
1580
|
-
"minLength": 1,
|
1581
|
-
"title": "Path",
|
1582
|
-
"description": "Path or URL that the menu item should link to."
|
1583
|
-
},
|
1584
|
-
"translation_key": {
|
1585
|
-
"type": "string",
|
1586
|
-
"minLength": 1,
|
1587
|
-
"title": "Label",
|
1588
|
-
"description": "Label (or translation key) for the link."
|
1589
|
-
}
|
1590
|
-
}
|
1591
|
-
},
|
1592
|
-
"breadcrumb_item": {
|
1593
|
-
"type": "object",
|
1594
|
-
"title": "Breadcrumb item",
|
1595
|
-
"properties": {
|
1596
|
-
"path": {
|
1597
|
-
"type": "string",
|
1598
|
-
"minLength": 1,
|
1599
|
-
"title": "Path",
|
1600
|
-
"description": "Path or URL that the breadcrumb item should link to."
|
1601
|
-
},
|
1602
|
-
"label": {
|
1603
|
-
"type": "string",
|
1604
|
-
"minLength": 1,
|
1605
|
-
"title": "Label",
|
1606
|
-
"description": "Label (or translation key) for the breadcrumb item."
|
1607
|
-
}
|
1608
|
-
}
|
1609
|
-
},
|
1610
|
-
"title_and_description": {
|
1611
|
-
"type": "object",
|
1612
|
-
"properties": {
|
1613
|
-
"title": {
|
1614
|
-
"type": "string",
|
1615
|
-
"title": "Title"
|
1616
|
-
},
|
1617
|
-
"description": {
|
1618
|
-
"type": "string",
|
1619
|
-
"title": "Description",
|
1620
|
-
"format": "markdown"
|
1621
|
-
}
|
1622
|
-
}
|
1623
|
-
},
|
1624
|
-
"map_style": {
|
1625
|
-
"properties": {
|
1626
|
-
"weight": {
|
1627
|
-
"type": "number",
|
1628
|
-
"title": "Weight",
|
1629
|
-
"description": "The weight (boldness) of boundary borders."
|
1630
|
-
},
|
1631
|
-
"opacity": {
|
1632
|
-
"type": "number",
|
1633
|
-
"title": "Opacity",
|
1634
|
-
"description": "The opacity of the boundary borders (between 0 and 1)."
|
1635
|
-
},
|
1636
|
-
"fillOpacity": {
|
1637
|
-
"type": "number",
|
1638
|
-
"title": "Fill opacity",
|
1639
|
-
"description": "The opacity of the boundaries' background color (between 0 and 1)."
|
1640
|
-
},
|
1641
|
-
"color": {
|
1642
|
-
"type": "string",
|
1643
|
-
"format": "color",
|
1644
|
-
"title": "Color",
|
1645
|
-
"description": "The color of the boundary borders."
|
1646
|
-
},
|
1647
|
-
"dashArray": {
|
1648
|
-
"type": "string",
|
1649
|
-
"title": "Dash array",
|
1650
|
-
"description": "A 'dash array' describing the boundary as dashed lines."
|
1651
|
-
}
|
1652
|
-
}
|
1653
|
-
},
|
1654
|
-
"config_form_options": {
|
1655
|
-
"type": "object",
|
1656
|
-
"properties": {
|
1657
|
-
"enabled": {
|
1658
|
-
"type": "boolean",
|
1659
|
-
"title": "Enable this type of form",
|
1660
|
-
"description": "If enabled, this type of configuration form will be available.",
|
1661
|
-
"format": "checkbox"
|
1662
|
-
},
|
1663
|
-
"dropdowns": {
|
1664
|
-
"type": "array",
|
1665
|
-
"title": "Dropdown lists",
|
1666
|
-
"description": "Set options for any dropdown lists.",
|
1667
|
-
"items": {
|
1668
|
-
"type": "object",
|
1669
|
-
"title": "Dropdown list",
|
1670
|
-
"properties": {
|
1671
|
-
"jsonschema": {
|
1672
|
-
"type": "string",
|
1673
|
-
"title": "JSONSchema path",
|
1674
|
-
"description": "The jsonschema path to the dropdown field."
|
1675
|
-
},
|
1676
|
-
"values": {
|
1677
|
-
"type": "array",
|
1678
|
-
"title": "Values",
|
1679
|
-
"description": "List of dropdown option values",
|
1680
|
-
"items": {
|
1681
|
-
"type": "string",
|
1682
|
-
"title": "Value"
|
1683
|
-
}
|
1684
|
-
},
|
1685
|
-
"labels": {
|
1686
|
-
"type": "array",
|
1687
|
-
"title": "Labels",
|
1688
|
-
"description": "Optional list of dropdown option labels. Should correspond to the values above.",
|
1689
|
-
"items": {
|
1690
|
-
"type": "string",
|
1691
|
-
"title": "Label"
|
1692
|
-
}
|
1693
|
-
}
|
1694
|
-
}
|
1695
|
-
}
|
1696
|
-
},
|
1697
|
-
"repository_link": {
|
1698
|
-
"type": "string",
|
1699
|
-
"title": "Repository link",
|
1700
|
-
"description": "The URL pattern of the 'Go to repository' link on the configuration page."
|
1701
|
-
},
|
1702
|
-
"translation_link": {
|
1703
|
-
"type": "string",
|
1704
|
-
"title": "Translation link",
|
1705
|
-
"description": "The URL pattern for all 'Go to translation' links on the configuration page."
|
1706
|
-
}
|
1707
|
-
}
|
1708
|
-
},
|
1709
|
-
"indicator_tabs_options": {
|
1710
|
-
"enum": ["", "chart", "table", "map", "embed", "hide"],
|
1711
|
-
"options": {
|
1712
|
-
"enum_titles": [
|
1713
|
-
"",
|
1714
|
-
"Chart",
|
1715
|
-
"Table",
|
1716
|
-
"Map",
|
1717
|
-
"Embed",
|
1718
|
-
"Hide this tab"
|
1719
|
-
]
|
1720
|
-
}
|
1721
|
-
}
|
1722
|
-
}
|
1723
|
-
}
|