forked from TerriaJS/DataSourceEditor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
SocrataCatalogGroup.json
53 lines (53 loc) · 1.14 KB
/
SocrataCatalogGroup.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
{
"title": "Socrata catalog",
"description": "An open data portal hosted by Socrata",
"type": "object",
"allOf": [
{
"$ref": "grouptypes.json"
},
{
"$ref": "CatalogMember.json"
}
],
"defaultProperties": [
"name",
"type",
"url"
],
"properties": {
"type": {
"type": "string",
"enum": [
"socrata"
]
},
"filterQuery": {
"type": "array",
"title": "Filter query",
"description": "Array of different queries to append to the base URL. Defaults to ['limitTo=MAPS']",
"items": {
"type": "string"
}
},
"dataCustodian": {
"$ref": "r_datacustodian.json",
"title": "Data custodian"
},
"groupBy": {
"type": "string",
"title": "Group by",
"description": "How to group items. Can be 'category' or 'none'.",
"enum": [
"none",
"category"
],
"options": {
"enum_titles": [
"None - Datasets are put in a flat list; they are not grouped at all",
"Category - Datasets are grouped according to their Socrata category"
]
}
}
}
}