-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.schema
More file actions
executable file
·50 lines (50 loc) · 1.14 KB
/
config.schema
File metadata and controls
executable file
·50 lines (50 loc) · 1.14 KB
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Configuration",
"description": "DPdash configuration file",
"type": "array",
"items": {
"title": "row",
"description": "Configuration file row",
"type": "object",
"properties": {
"category": {
"description": "Category name",
"type": "string",
"pattern": "^[0-9a-zA-Z]+$"
},
"analysis": {
"description": "Assessment name",
"type": "string",
"pattern": "^[0-9a-zA-Z_]+$"
},
"variable": {
"description": "Variable description",
"type": "string",
"pattern": "^[0-9a-zA-Z_]+$"
},
"label": {
"description": "Label",
"type": "string",
"pattern": "^[0-9a-zA-Z_]+$"
},
"range": {
"description": "Tick marks",
"type": "array",
"uniqueItems": true,
"items": {
"type": "number"
}
},
"colorbar": {
"description": "Color bar",
"enum": ["YlGn", "RdYlBu", "RdBu"]
},
"text" : {
"description" : "Show number",
"type" : "boolean"
}
},
"required": ["category", "analysis", "variable", "label", "range", "text"]
}
}