forked from peterataylor/om-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Observation.json
88 lines (88 loc) · 5.16 KB
/
Observation.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://raw.githubusercontent.com/peterataylor/om-json/master/Observation.json",
"title": "Observation",
"description": "An observation is an act associated with a discrete time instant or period through which a number, term or other symbol is assigned to a phenomenon. It involves application of a specified procedure, such as a sensor, instrument, algorithm or process chain. The procedure may be applied in-situ, remotely, or ex-situ with respect to the sampling location. The result of an observation is an estimate of the value of a property of some feature.",
"type": "object",
"properties": {
"@context" : { "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/@context" },
"id": {
"title": "id",
"description": "A unique identifier for the observation",
"type": "string"
},
"type": {
"title": "type",
"description": "Identifies the type of observation, which determines the type of the result property",
"type": "string"
},
"context": {
"title": "context",
"description": "links to observations that provide the context for this observation - use 'rel' for 'role'",
"type": "array",
"items": { "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
"minItems": 1
},
"phenomenonTime": {
"title": "phenomenonTime",
"description": "Time at which the estimate of the property that is the result of the observation is associated with the feature of interest",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/temporalPrimitive"
},
"observedProperty": {
"title": "observedProperty",
"description": "property whose value is the result of the observation",
"oneOf": [
{"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"},
{"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/vocabTerm"}
]
},
"procedure": {
"title": "procedure",
"description": "procedure used in making observation. Typically a sensor or sensor-system, algorithm, computational procedure.",
"oneOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/vocabTerm" },
{ "$ref": "http://raw.githubusercontent.com/adamml/om-json/master/ocean-acidification/Protocol.json" }
]
},
"featureOfInterest": {
"title": "featureOfInterest",
"description": "subject of the observation, whose type may carry the observed property",
"oneOf": [
{"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"},
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/vocabTerm" }
]
},
"samplingStrategy": {
"title": "samplingStrategy",
"description": "a strategy, such as a sampling feature, which mediates between the procedure and the ultimate feature of interest",
"oneOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Sampling.json" }
]
},
"resultTime": {
"title": "resultTime",
"description": "time at which the result became available, after all processing steps were completed",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/dateTimePosition"
},
"result": {
"title": "result",
"description": "result of the observation",
"oneOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/measure" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/vocabTerm" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/truth" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/count" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/text" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/temporalObject" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Geometry.json#/definitions/geometryObject" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/TimeseriesTVP.json#/definitions/TVPairMeasure" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/TimeseriesTVP.json#/definitions/TVPairCategory" }
]
}
},
"required": [ "id", "type", "result" ],
"additionalProperties": false
}