forked from TerriaJS/DataSourceEditor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CatalogItem.json
82 lines (82 loc) · 2.95 KB
/
CatalogItem.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
{
"type": "object",
"properties": {
"rectangle": {
"type": "array",
"format": "table",
"title": "Bounding box",
"options": {
"collapsed": true,
"disable_array_reorder": true
},
"maxItems": 4,
"minItems": 2,
"items": [
{
"type": [
"number",
"string"
]
}
]
},
"legendUrl": {
"type": "string",
"title": "Legend URL",
"description": "The URL of the legend for this data item, or undefined if this data item does not have a legend."
},
"dataUrlType": {
"title": "Data URL Type",
"description": "None: don't generate a URL for downloading data. \n Direct: use a hardcoded URL. Valid values are:\n `direct` - A direct link to the data.\n `wfs` - A Web Feature Service (WFS) base URL. If dataUrl is not\n specified, the base URL will be this data item's URL.\n `wfs-complete` - A complete, ready-to-use link to download features from a WFS server.\n `none` - There is no data link.",
"type": "string",
"enum": [
"none",
"direct",
"wfs",
"wfs-complete"
]
},
"dataUrl": {
"title": "Data URL",
"description": "Hard coded location of data to download. Requires dataUrlType=direct",
"type": "string",
"format": "url"
},
"dataCustodian": {
"title": "Data custodian",
"$ref": "r_datacustodian.json"
},
"metadataUrl": {
"title": "Metadata URL",
"description": "The URL from which this data item's metadata description can be retrieved, or undefined if\n metadata is not available for this data item. The format of the metadata depends on the type of data item.\n For example, Web Map Service (WMS) data items provide their metadata via their GetCapabilities document."
},
"isEnabled": {
"title": "Is Enabled",
"type": "boolean",
"format": "checkbox",
"description": "whether this data item is enabled. An enabled data item appears in the\n `Now Viewing` pane, but is not necessarily shown on the map."
},
"isShown": {
"title": "Is Shown",
"type": "boolean",
"format": "checkbox",
"description": "Whether this data item is currently shown on the map. In order to be shown,\n the item must also be enabled."
},
"isLegendVisible": {
"title": "Is Legend Visible",
"type": "boolean",
"format": "checkbox",
"description": "Whether the legend for this data item is currently visible."
},
"clock": {
"title": "Clock",
"type": "object",
"description": "the clock parameters for this data item"
},
"nowViewingMessage": {
"title": "\"Now Viewing\" message",
"description": "A message to show when this item is enabled for the first time in order to call attention to the Now Viewing panel.",
"type": "string"
}
}
}