forked from peterataylor/om-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TimeseriesMetadata.json
149 lines (149 loc) · 6.56 KB
/
TimeseriesMetadata.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://raw.githubusercontent.com/peterataylor/om-json/master/TimeseriesMetadata.json",
"title": "TimeseriesMetadata",
"description": "Schema for metadata relating to Timeseries",
"type": "object",
"definitions": {
"TimeseriesMetadata" : {
"description":"Metadata for the whole timeseries",
"type":"object",
"properties" : {
"@context" : { "$ref": "http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/@context" },
"temporalExtent": {
"title":"temporalExtent",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/dateTimeInterval"
},
"baseTime": {
"title":"baseTime",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/dateTimeInstant"
},
"spacing": {
"title":"spacing",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/duration"
},
"commentBlock" : {
"title" : "commentBlock",
"type" : "object",
"properties" : {
"applicablePeriod" : {
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/dateTimeInterval"
},
"comment" : {
"type" : "string"
}
}
},
"commentBlocks": {
"title":"commentBlocks",
"type":"array",
"items" : {
"$ref":"#/definitions/TimeseriesMetadata/properties/commentBlock"
}
},
"intendedObservationSpacing": {
"title":"intendedObservationSpacing",
"description": "The intended temporal spacing of the time series points. This may vary from the actual spacing.",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/duration"
},
"status": {
"title":"status",
"description": "Indicates the statues of the observation. E.g. unreleased, verified etc.",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"cumulative": {
"title":"cumulative",
"description": "This boolean property indicates whether the series is sequentially increasing and accumulates over time; i.e. each value is added to the last so the value represents the total of a value since accumulation began.",
"type":"boolean"
},
"accumulationAnchorTime": {
"title":"accumulationAnchorTime",
"description": "Defines the time at which accumulation begins. e.g. 9am.",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/dateTimeInstant"
},
"startAnchorPoint": {
"title":"startAnchorPoint",
"description": "Specifies a ‘ghost’ point to allow the first value of the timeseries to be interpolated correctly.",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/dateTimeInstant"
},
"endAnchorPoint": {
"title":"endAnchorPoint",
"description": "Specifies a ‘ghost’ point to allow the last value of the timeseries to be interpolated correctly.",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/dateTimeInstant"
},
"maxGapPeriod": {
"title":"maxGapPeriod",
"description": "When any analysis is run over a timeseries it is important to know if it is possible to interpolate between any two adjoining points. If the join period between two adjoining points is greater than the maxGapPeriod then the series should not be interpolated between these adjoining points.",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/duration"
}
},
"additionalProperties": false
},
"PointMetadata" : {
"description":"Metadata for points in timeseries",
"type":"object",
"properties" : {
"quality": {
"title":"quality",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"uom": {
"title":"uom",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"interpolationType": {
"title":"interpolationType",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"nilReason": {
"title":"nilReason",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"censoredReason": {
"title":"censoredReason",
"type":"object",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"comment": {
"title":"comment",
"type":"string"
},
"accuracy": {
"title":"accuracy",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/measure"
},
"relatedObservation": {
"title":"relatedObservation",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"aggregationDuration": {
"title":"aggregationDuration",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Temporal.json#/definitions/duration"
},
"qualifier": {
"title":"qualifier",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"processing": {
"title":"processing",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
},
"source": {
"title":"source",
"$ref":"http://raw.githubusercontent.com/peterataylor/om-json/master/Common.json#/definitions/link"
}
},
"additionalProperties": false
}
}
}