-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathconfigs.json.schema
More file actions
85 lines (84 loc) · 1.87 KB
/
Copy pathconfigs.json.schema
File metadata and controls
85 lines (84 loc) · 1.87 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
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
// this file serves as an example of a basic config
// and shows the allowed/expected properties
{
"documentType": "file",
"downloads": {
"allowCustomMaxRows": true,
"maxRows": 10000,
},
"extended": [
{
"isActive": false,
"displayName": "Analysis",
"displayType": "object", // custom "default" for aggs and columns
"displayValues": {},
"fieldName": "analysis",
"isArray": false,
"primaryKey": false,
"quickSearchEnabled": false,
"rangeStep": 1,
"unit": null,
"type": "object" // from the ES mapping
},
...
],
"facets": {
"aggregations": [
{
"isActive": true,
"displayType": "keyword", // defaults to the field from extended
"fieldName": "analysis__analysis_id",
"show": true
},
...
]
},
"index": "file_centric_1.0", // ES alias or index name
"matchbox": [
{
"isActive": false,
"displayName": "file",
"fieldName": "",
"keyFieldName": null,
"searchFields": []
},
...
],
"table": {
"columns": [
{
"accessor": "analysis.analysis_id",
"canChangeShow": true,
"displayFormat": "", // used for formattable fields e.g. 'YY-MM-DD'
"displayName": "Analysis ID",
"displayType": "id", // useful to use a different Cell type. defaults to the field from extended
"displayValues": "", // used for "readable" replacements e.g. true as "yes"
"fieldName": "analysis.analysis_id",
"isArray": false, // should it be displayed as a list of items, or leave as a single string
"jsonPath": null,
"query": null,
"show": true,
"sortable": true
},
...
],
"defaultSorting": [
{
"desc": false,
"fieldName": "analysis.analysis_id"
},
...
],
"maxResultsWindow": 10000,
"rowIdFieldName": "analysis.analysis_id"
}
"network": {
"servers": [
{
"displayName": "Toronto",
"graphqlUrl": "http://<URL>/graphql",
"documentType": "file"
}
]
}
}