forked from JJediny/DataSourceEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCkanCatalogGroup.json
108 lines (108 loc) · 3.35 KB
/
CkanCatalogGroup.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
{
"title": "CKAN catalog",
"type": "object",
"allOf": [
{
"$ref": "grouptypes.json"
},
{
"$ref": "CatalogMember.json"
}
],
"defaultProperties": [
"type",
"name",
"url"
],
"properties": {
"type": {
"type": "string",
"enum": [
"ckan"
]
},
"filterQuery": {
"type": "array",
"title": "Filters",
"format": "tabs",
"description": "The filter query to pass to CKAN when querying the available data sources and their groups. Each string in the\narray is passed to CKAN as an independent search string and the results are concatenated to create the complete list. The\nsearch string is equivalent to what would be in the parameters segment of the url calling the CKAN search api.\n<br/>See the <a href=\"http://wiki.apache.org/solr/CommonQueryParameters#fq\">Solr documentation</a> for information about filter queries.",
"items": {
"title": "Filter",
"type": "string"
}
},
"includeWms": {
"title": "Include WMS Data Sources",
"type": "boolean",
"format": "checkbox"
},
"includeKml": {
"title": "Include KML Data Sources",
"type": "boolean",
"format": "checkbox"
},
"includeEsriMapServer": {
"title": "Include ESRI Map Server Data Sources",
"type": "boolean",
"format": "checkbox"
},
"minimumMaxScaleDenominator": {
"title": "Minimum Max Scale Denominator",
"description": "The minimum MaxScaleDenominator that is allowed for a WMS dataset to be included in this CKAN group.",
"type": "number"
},
"filterByWmsGetCapabilities": {
"title": "Filter by WMS 'Get Capabilities'",
"type": "boolean",
"format": "checkbox",
"description": "Filter the CKAN datasets by querying GetCapabilities from each referenced WMS server and excluding datasets not found therein."
},
"wmsParameters": {
"type": "object",
"title": "WMS Parameters",
"description": "Parameters that will be set on each WMS item found in the catalog",
"properties": {
"tiled": {
"type": "boolean",
"format": "checkbox"
}
}
},
"useResourceName": {
"title": "Use Resource Name",
"description": "Populate each catalog item's name from individual resources instead of from the CKAN dataset",
"type": "boolean",
"format": "checkbox"
},
"blacklist": {
"$ref": "r_blacklist.json",
"title": "Blacklist"
},
"whitelist": {
"$ref": "r_whitelist.json",
"title": "Whitelist"
},
"itemProperties": {
"type": "object",
"title": "Item Properties",
"description": "Any additional properties set on each item in the group, overriding values retrieved from data sources."
},
"groupBy": {
"title": "Group by",
"description": "How datasets should be grouped. ",
"type": "string",
"enum": [
"none",
"group",
"organization"
],
"options": {
"enum_titles": [
"None – Datasets are put in a flat list; they are not grouped at all",
"CKAN group – Datasets that are not in any groups are put at the top level",
"CKAN Organization – Datasets that are not associated with an organization are put at the top level"
]
}
}
}
}