-
Notifications
You must be signed in to change notification settings - Fork 5
/
observations-table-schema.json
352 lines (352 loc) · 12.7 KB
/
observations-table-schema.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
{
"name": "observations",
"title": "Observations",
"description": "Table with observations derived from the media files. Associated with deployments (`deploymentID`). Observations can mark non-animal events (camera setup, human, blank) or one or more animal observations (`observationType` = `animal`) of a certain taxon, count, life stage, sex, behavior and/or individual. Observations can be made at different levels (`observationLevel`).",
"fields": [
{
"name": "observationID",
"description": "Unique identifier of the observation.",
"skos:broadMatch": "http://rs.tdwg.org/dwc/terms/occurrenceID",
"type": "string",
"constraints": {
"required": true,
"unique": true
},
"example": "obs1"
},
{
"name": "deploymentID",
"description": "Identifier of the deployment the observation belongs to. Foreign key to `deployments.deploymentID`.",
"skos:broadMatch": "http://rs.tdwg.org/dwc/terms/parentEventID",
"type": "string",
"constraints": {
"required": true
},
"example": "dep1"
},
{
"name": "mediaID",
"description": "Identifier of the media file that was classified. Only applicable for media-based observations (`observationLevel` = `media`). Foreign key to `media.mediaID`.",
"skos:broadMatch": "http://rs.tdwg.org/dwc/terms/associatedMedia",
"type": "string",
"constraints": {
"required": false
},
"example": "m1"
},
{
"name": "eventID",
"description": "Identifier of the event the observation belongs to. Facilitates linking event-based and media-based observations with a permanent identifier.",
"skos:broadMatch": "http://rs.tdwg.org/dwc/terms/eventID",
"type": "string",
"constraints": {
"required": false
},
"example": "sequence1"
},
{
"name": "eventStart",
"description": "Date and time at which the event started. Formatted as an ISO 8601 string with timezone designator (`YYYY-MM-DDThh:mm:ssZ` or `YYYY-MM-DDThh:mm:ss±hh:mm`).",
"skos:broadMatch": "http://rs.tdwg.org/dwc/terms/eventDate",
"skos:narrowMatch": "http://rs.tdwg.org/ac/terms/startTimestamp",
"type": "datetime",
"format": "%Y-%m-%dT%H:%M:%S%z",
"constraints": {
"required": true
},
"example": "2020-03-01T22:00:00Z"
},
{
"name": "eventEnd",
"description": "Date and time at which the event ended. Formatted as an ISO 8601 string with timezone designator (`YYYY-MM-DDThh:mm:ssZ` or `YYYY-MM-DDThh:mm:ss±hh:mm`).",
"skos:broadMatch": "http://rs.tdwg.org/dwc/terms/eventDate",
"skos:narrowMatch": "http://rs.tdwg.org/ac/terms/endTimestamp",
"type": "datetime",
"format": "%Y-%m-%dT%H:%M:%S%z",
"constraints": {
"required": true
},
"example": "2020-04-01T22:00:00Z"
},
{
"name": "observationLevel",
"description": "Level at which the observation was classified. `media` for media-based observations that are directly associated with a media file (`mediaID`). These are especially useful for machine learning and don't need to be mutually exclusive (e.g. multiple classifications are allowed). `event` for event-based observations that consider an event (comprising a collection of media files). These are especially useful for ecological research and should be mutually exclusive, so that their `count` can be summed.",
"type": "string",
"constraints": {
"required": true,
"enum": [
"media",
"event"
]
},
"example": "media"
},
{
"name": "observationType",
"description": "Type of the observation. All categories in this vocabulary have to be understandable from an AI point of view. `unknown` describes classifications with a `classificationProbability` below some predefined threshold i.e. neither humans nor AI can say what was recorded.",
"type": "string",
"constraints": {
"required": true,
"enum": [
"animal",
"human",
"vehicle",
"blank",
"unknown",
"unclassified"
]
},
"example": "animal"
},
{
"name": "cameraSetupType",
"description": "Type of the camera setup action (if any) associated with the observation.",
"type": "string",
"constraints": {
"required": false,
"enum": [
"setup",
"calibration"
]
},
"example": "calibration"
},
{
"name": "scientificName",
"description": "Scientific name of the observed individual(s).",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/scientificName",
"type": "string",
"constraints": {
"required": false
},
"example": "Canis lupus"
},
{
"name": "count",
"description": "Number of observed individuals (optionally of given life stage, sex and behavior).",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/individualCount",
"type": "integer",
"constraints": {
"required": false,
"minimum": 1
},
"example": 5
},
{
"name": "lifeStage",
"description": "Age class or life stage of the observed individual(s).",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/lifeStage",
"type": "string",
"constraints": {
"required": false,
"enum": [
"adult",
"subadult",
"juvenile"
]
},
"example": "adult"
},
{
"name": "sex",
"description": "Sex of the observed individual(s)",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/sex",
"type": "string",
"constraints": {
"required": false,
"enum": [
"female",
"male"
]
},
"example": "female"
},
{
"name": "behavior",
"description": "Dominant behavior of the observed individual(s), preferably expressed as controlled values (e.g. grazing, browsing, rooting, vigilance, running, walking). Formatted as a pipe (`|`) separated list for multiple values, with the dominant behavior listed first.",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/behavior",
"type": "string",
"constraints": {
"required": false
},
"example": "vigilance"
},
{
"name": "individualID",
"description": "Identifier of the observed individual.",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/organismID",
"type": "string",
"constraints": {
"required": false
},
"example": "RD213"
},
{
"name": "individualPositionRadius",
"description": "Distance from the camera to the observed individual identified by `individualID`. Expressed in meters. Required for distance analyses (e.g. [Howe et al. 2017](https://doi.org/10.1111/2041-210X.12790)) and random encounter modelling (e.g. [Rowcliffe et al. 2011](https://doi.org/10.1111/j.2041-210X.2011.00094.x)).",
"type": "number",
"constraints": {
"required": false,
"minimum": 0
},
"unit": "m",
"example": 6.81
},
{
"name": "individualPositionAngle",
"description": "Angular distance from the camera view centerline to the observed individual identified by `individualID`. Expressed in degrees, with negative values left, `0` straight ahead and positive values right. Required for distance analyses (e.g. [Howe et al. 2017](https://doi.org/10.1111/2041-210X.12790)) and random encounter modelling (e.g. [Rowcliffe et al. 2011](https://doi.org/10.1111/j.2041-210X.2011.00094.x)).",
"type": "number",
"constraints": {
"required": false,
"minimum": -90,
"maximum": 90
},
"unit": "°",
"example": -8.56
},
{
"name": "individualSpeed",
"description": "Average movement speed of the observed individual identified by `individualID`. Expressed in meters per second. Required for random encounter modelling (e.g. [Rowcliffe et al. 2016](https://doi.org/10.1002/rse2.17)).",
"type": "number",
"constraints": {
"required": false,
"minimum": 0
},
"unit": "m/s",
"example": 1.75
},
{
"name": "bboxX",
"description": "Horizontal position of the top-left corner of a bounding box that encompasses the observed individual(s) in the media file identified by `mediaID`. Or the horizontal position of an object in that media file. Measured from the left and relative to media file width.",
"skos:broadMatch": "http://rs.tdwg.org/ac/terms/XFrac",
"type": "number",
"constraints": {
"required": false,
"minimum": 0,
"maximum": 1
},
"example": 0.2
},
{
"name": "bboxY",
"description": "Vertical position of the top-left corner of a bounding box that encompasses the observed individual(s) in the media file identified by `mediaID`. Or the vertical position of an object in that media file. Measured from the top and relative to the media file height.",
"skos:broadMatch": "http://rs.tdwg.org/ac/terms/YFrac",
"type": "number",
"constraints": {
"required": false,
"minimum": 0,
"maximum": 1
},
"example": 0.25
},
{
"name": "bboxWidth",
"description": "Width of a bounding box that encompasses the observed individual(s) in the media file identified by `mediaID`. Measured from the left of the bounding box and relative to the media file width.",
"skos:broadMatch": "http://rs.tdwg.org/ac/terms/widthFrac",
"type": "number",
"constraints": {
"required": false,
"minimum": 1e-15,
"maximum": 1
},
"example": 0.4
},
{
"name": "bboxHeight",
"description": "Height of the bounding box that encompasses the observed individual(s) in the media file identified by `mediaID`. Measured from the top of the bounding box and relative to the media file height.",
"skos:broadMatch": "http://rs.tdwg.org/ac/terms/heightFrac",
"type": "number",
"constraints": {
"required": false,
"minimum": 1e-15,
"maximum": 1
},
"example": 0.5
},
{
"name": "classificationMethod",
"description": "Method (most recently) used to classify the observation.",
"type": "string",
"constraints": {
"required": false,
"enum": [
"human",
"machine"
]
},
"example": "human"
},
{
"name": "classifiedBy",
"description": "Name or identifier of the person or AI algorithm that (most recently) classified the observation.",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/identifiedBy",
"type": "string",
"constraints": {
"required": false
},
"example": "MegaDetector V5"
},
{
"name": "classificationTimestamp",
"description": "Date and time of the (most recent) classification. Formatted as an ISO 8601 string with timezone designator (`YYYY-MM-DDThh:mm:ssZ` or `YYYY-MM-DDThh:mm:ss±hh:mm`).",
"skos:broadMatch": "http://rs.tdwg.org/dwc/terms/dateIdentified",
"type": "datetime",
"format": "%Y-%m-%dT%H:%M:%S%z",
"constraints": {
"required": false
},
"example": "2020-08-22T10:25:19Z"
},
{
"name": "classificationProbability",
"description": "Degree of certainty of the (most recent) classification. Expressed as a probability, with `1` being maximum certainty. Omit or provide an approximate probability for human classifications.",
"type": "number",
"constraints": {
"required": false,
"minimum": 0,
"maximum": 1
},
"example": 0.95
},
{
"name": "observationTags",
"description": "Tag(s) associated with the observation. Formatted as a pipe (`|`) separated list for multiple values, with values optionally formatted as `key:value` pairs.",
"skos:exactMatch": "http://rs.tdwg.org/ac/terms/tag",
"type": "string",
"constraints": {
"required": false
},
"example": "travelDirection:left"
},
{
"name": "observationComments",
"description": "Comments or notes about the observation.",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/occurrenceRemarks",
"type": "string",
"constraints": {
"required": false
},
"example": ""
}
],
"missingValues": [
""
],
"primaryKey": "observationID",
"foreignKeys": [
{
"fields": "deploymentID",
"reference": {
"resource": "deployments",
"fields": "deploymentID"
}
},
{
"fields": "mediaID",
"reference": {
"resource": "media",
"fields": "mediaID"
}
}
]
}