forked from peterataylor/om-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathObservationCollection.json
81 lines (81 loc) · 3.67 KB
/
ObservationCollection.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://raw.githubusercontent.com/peterataylor/om-json/master/ObservationCollection.json",
"title": "Observation collection",
"description": "Collection of observations which may have a common (a) feature of interest (b) observed property (c) observation procedure.",
"type": "object",
"required": [
"id",
"member"
],
"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 collection",
"type": "string"
},
"type": {
"title": "type",
"description": "Identifies the type of this JSON object",
"type": "string"
},
"procedure": {
"title": "featureOfInterest",
"description": "the observation procedure used in all observations in the collection",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"featureOfInterest": {
"title": "featureOfInterest",
"description": "the single feature which all observations in the collection are concerned with",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"samplingStrategy": {
"title": "samplingStrategy",
"description": "a strategy, such as a sampling feature, which mediates between the procedure and the ultimate feature of interest for all observations in the collection",
"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" }
]
},
"observedProperty": {
"title": "observedProperty",
"description": "the property measured or estimated by all observations in the collection",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"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 for all observations in the collection",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/temporalPrimitive"
},
"resultTime": {
"title": "resultTime",
"description": "time at which the result became available, after all processing steps were completed, for all observations in the collection",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/date-time"
},
"uom": {
"title": "unit-of-measure",
"description": "unit of measure for all quantitative result values for observations in the collection",
"type": "string"
},
"vocabulary": {
"title": "vocabulary",
"description": "vocabulary for all categorical result valuesfor observations in the collection",
"$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"member": {
"title": "member",
"description": "Member of this observation collection",
"type": "array",
"items": {
"oneOf": [
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link" },
{ "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Observation.json" }
]
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [ "id" , "member" ]
}