Skip to content

Commit 2cbf712

Browse files
committed
Merge branch 'master' of https://github.com/peterataylor/om-json
2 parents 291f0f6 + a371869 commit 2cbf712

File tree

5 files changed

+42
-14
lines changed

5 files changed

+42
-14
lines changed

ObservationCollection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"description": "A unique identifier for the observation collection",
1515
"type": "string"
1616
},
17+
"type": {
18+
"title": "type",
19+
"description": "Identifies the type of this JSON object",
20+
"type": "string"
21+
},
1722
"procedure": {
1823
"title": "featureOfInterest",
1924
"description": "the observation procedure used in all observations in the collection",

SamplingCollection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
"description": "A unique identifier for the sampling feature collection",
1111
"type": "string"
1212
},
13+
"type": {
14+
"title": "type",
15+
"description": "Identifies the type of object",
16+
"type": "enum"
17+
},
1318
"sampledFeature": {
1419
"title": "sampledFeature",
1520
"description": "the feature which the sampling feature collection was designed to sample",

TimeseriesTVP.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
"description": "Identifier for the time-series",
4646
"type":"string"
4747
},
48+
"type": {
49+
"title": "type",
50+
"description": "Identifies the type of time-series",
51+
"type": "string"
52+
},
4853
"metadata": {
4954
"title": "metadata",
5055
"description": "Metadata about the timeseries.",

examples/observation-timeseries-1.json

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,31 @@
66
"procedure": {"href":"http://www.opengis.net/def/waterml/2.0/processType/Sensor"},
77
"featureOfInterest": {"href":"http://waterml2.csiro.au/rgs-api/v1/monitoring-point/419009/"},
88
"resultTime": "2015-08-05T09:00:00+10:00",
9-
"result": [
10-
{
11-
"time": { "instant": "2015-08-03" },
12-
"value": { "value": 3.2, "uom": "http://qudt.org/vocab/unit#DegreeCelsius" }
13-
},
14-
{
15-
"time": { "instant": "2015-08-04" },
16-
"value": { "value": 3.5, "uom": "http://qudt.org/vocab/unit#DegreeCelsius" }
17-
},
18-
{
19-
"time": { "instant": "2015-08-05" },
20-
"value": { "value": 3.6, "uom": "http://qudt.org/vocab/unit#DegreeCelsius" }
21-
}
22-
]
9+
"result": {
10+
"metadata": {
11+
},
12+
"defaultPointMetadata": {
13+
"interpolationType": {
14+
"href": "http://www.opengis.net/def/waterml/2.0/interpolationType/Continuous"
15+
},
16+
"quality": {
17+
"href": "http://www.opengis.net/def/waterml/2.0/quality/unchecked"
18+
},
19+
"uom" : "http://qudt.org/vocab/unit#DegreeCelsius"
20+
},
21+
"points": [
22+
{
23+
"time": { "instant": "2015-08-03" },
24+
"value": 3.2
25+
},
26+
{
27+
"time": { "instant": "2015-08-04" },
28+
"value": 3.5
29+
},
30+
{
31+
"time": { "instant": "2015-08-05" },
32+
"value": 3.6
33+
}
34+
]
35+
}
2336
}

0 commit comments

Comments
 (0)