Coverage for test/data/vars_responses.py: 100%
4 statements
« prev ^ index » next coverage.py v7.9.1, created at 2025-06-23 02:22 +0000
« prev ^ index » next coverage.py v7.9.1, created at 2025-06-23 02:22 +0000
1ex_23060001 = {
2 'annotations': [
3 # annotations[0]
4 {
5 'observation_uuid': '0059f860-4799-485f-c06c-5830e5ddd31e',
6 'concept': 'Pomacentridae',
7 'observer': 'NikkiCunanan',
8 'observation_timestamp': '2023-08-24T18:36:14.245Z',
9 'video_reference_uuid': 'dda3dc62-9f78-4dbb-91cd-5015026e0434',
10 'imaged_moment_uuid': 'aa7c743e-99ba-4b65-c16c-aeb3585dc91e',
11 'elapsed_time_millis': 0,
12 'recorded_timestamp': '2023-08-24T18:36:14.245Z',
13 'group': 'ROV',
14 'associations': [
15 {
16 'uuid': '08f0563b-090e-417e-0e68-c314fb69d41e',
17 'link_name': 's1',
18 'to_concept': 'sed',
19 'link_value': 'nil',
20 'mime_type': 'text/plain'
21 },
22 {
23 'uuid': '08f0563b-090e-417e-0e68-upon',
24 'link_name': 'upon',
25 'to_concept': 'sed',
26 'link_value': 'nil',
27 'mime_type': 'text/plain'
28 },
29 {
30 'uuid': '204a46b5-id-reference',
31 'link_name': 'identity-reference',
32 'to_concept': 'self',
33 'link_value': '12',
34 'mime_type': 'text/plain'
35 },
36 {
37 "uuid": "c9567180-61e2-49bf-acfe-59a27353f591",
38 "link_name": "bounding box",
39 "to_concept": "self",
40 "link_value": "{\"x\":520,\"y\":430,\"width\":517,\"height\":402,\"generator\":\"VARS Annotation\"}",
41 "mime_type": "application/json"
42 },
43 ],
44 'image_references': [
45 {
46 'uuid': '165ea9f2-6e4f-4215-d06e-36801741e01e',
47 'description': 'compressed image',
48 'url': 'http://hurlstor.soest.hawaii.edu/imagearchive/Hercules/images/1381920/20220418T202402.015Z--542830a8-ec69-4ee5-a57d-9de66a412dba.jpg',
49 'format': 'image/jpg',
50 'width_pixels': 1920,
51 'height_pixels': 1080
52 },
53 {
54 'uuid': '78084244-266d-434e-de6b-b27e1741e01e',
55 'description': 'uncompressed image',
56 'url': 'http://hurlstor.soest.hawaii.edu/imagearchive/Hercules/images/1381920/20220418T202402.015Z--542830a8-ec69-4ee5-a57d-9de66a412dba.png',
57 'format': 'image/png',
58 'width_pixels': 1920,
59 'height_pixels': 1080
60 }
61 ],
62 'ancillary_data': {
63 'altitude': 1.899999976158142,
64 'depth_meters': 668.458984375,
65 'latitude': 38.793148973388,
66 'longitude': -72.992393976812,
67 'oxygen_ml_l': 7.3196001052856445,
68 'salinity': 35.864898681640625,
69 'temperature_celsius': 5.125999927520752,
70 'uuid': 'b5bdfa60-9b20-40c4-6462-9d4db9b3d41e'
71 }
72 },
73 # annotations[1]
74 {
75 'observation_uuid': '0d9133d7-1d49-47d5-4b6d-6e4fb25dd41e',
76 'concept': 'Pomacentridae',
77 'observer': 'MeaganPutts',
78 'observation_timestamp': '2022-10-07T00:58:25.675Z',
79 'video_reference_uuid': '9cb8f6cd-9720-4f51-aaac-4d7da1dec55a',
80 'imaged_moment_uuid': 'e602a14b-1a55-4451-4a6d-6e4fb25dd41e',
81 'elapsed_time_millis': 6751855,
82 'recorded_timestamp': '2023-08-24T21:28:25.675Z',
83 'group': 'ROV',
84 'activity': 'cruise',
85 'associations': [
86 {
87 'uuid': '18bb6ed0-92b2-4f58-4c6d-6e4fb25dd41e',
88 'link_name': 's1',
89 'to_concept': 'sed',
90 'link_value': 'nil',
91 'mime_type': 'text/plain'
92 },
93 {
94 'uuid': 'a1c3990e-3566-4832-4d6d-6e4fb25dd41e',
95 'link_name': 's2',
96 'to_concept': 'mantra',
97 'link_value': 'nil',
98 'mime_type': 'text/plain'
99 },
100 {
101 'uuid': '204a46b5-id-certainty',
102 'link_name': 'identity-certainty',
103 'to_concept': 'self',
104 'link_value': 'maybe',
105 'mime_type': 'text/plain'
106 },
107 {
108 'uuid': '204a46b5-id-reference',
109 'link_name': 'identity-reference',
110 'to_concept': 'self',
111 'link_value': '13',
112 'mime_type': 'text/plain'
113 },
114 {
115 'uuid': 'c4eaa100-upon',
116 'link_name': 'upon',
117 'to_concept': 'sed',
118 'link_value': 'nil',
119 'mime_type': 'text/plain'
120 },
121 {
122 'uuid': 'c4eaa100-comment',
123 'link_name': 'comment',
124 'to_concept': 'self',
125 'link_value': 'this is a comment',
126 'mime_type': 'text/plain'
127 },
128 {
129 'uuid': 'c4eaa100-guide-photo',
130 'link_name': 'guide-photo',
131 'to_concept': '1 best',
132 'link_value': 'nil',
133 'mime_type': 'text/plain'
134 },
135 {
136 'uuid': 'd37d482e-5d56-4267-786b-0dfb525bd41e',
137 'link_name': 'occurrence-remark',
138 'to_concept': 'nil',
139 'link_value': 'in water column on descent',
140 'mime_type': 'text/plain'
141 },
142 {
143 'uuid': '8c46c0fc-28d9-47e6-9a62-94e36b3adb1e',
144 'link_name': 'size',
145 'to_concept': '50-100 cm',
146 'link_value': 'nil',
147 'mime_type': 'text/plain'
148 },
149 {
150 'uuid': '37c87be6-8b2c-436c-8b6a-fc0f42d2db1e',
151 'link_name': 'sampled-by',
152 'to_concept': 'manipulator',
153 'link_value': 'nil',
154 'mime_type': 'text/plain'
155 },
156 {
157 'uuid': 'ae29252c-325d-43ce-b263-ce0d41c7d81e',
158 'link_name': 'habitat-comment',
159 'to_concept': 'nil',
160 'link_value': 'loose talus',
161 'mime_type': 'text/plain'
162 },
163 ],
164 'image_references': [
165 {
166 'uuid': '1ab3f4b1-f448-4a62-5660-41a52152dc1e',
167 'description': 'imported image',
168 'url': 'https://hurlimage.soest.hawaii.edu/SupplementalPhotos/Hphotos/NA138photos/H1920/cam1_20220419064757.png',
169 'width_pixels': 0,
170 'height_pixels': 0
171 }
172 ],
173 'ancillary_data': {
174 'altitude': 1.899999976158142,
175 'depth_meters': 668.458984375,
176 'latitude': 38.793148973388,
177 'longitude': -72.992393976812,
178 'oxygen_ml_l': 7.3196001052856445,
179 'salinity': 35.864898681640625,
180 'temperature_celsius': 5.125999927520752,
181 'uuid': 'b5bdfa60-9b20-40c4-6462-9d4db9b3d41e'
182 }
183 },
184 # annotations[2]
185 {
186 'observation_uuid': '080118db-baa2-468a-d06a-144249c1d41e',
187 'concept': 'Pomacentridae',
188 'observer': 'MeaganPutts',
189 'observation_timestamp': '2022-10-14T23:04:45.429Z',
190 'video_reference_uuid': 'd955c4ef-94e0-4f0d-83f5-d0144a09a933',
191 'imaged_moment_uuid': '67b21aab-9fcb-4342-0160-1c4249c1d41e',
192 'elapsed_time_millis': 7028345,
193 'recorded_timestamp': '2014-09-20T14:13:23.345Z',
194 'group': 'ROV',
195 'activity': 'cruise',
196 'associations': [
197 {
198 'uuid': '1cc0aa4a-36e4-4eec-0261-b69749c1d41e',
199 'link_name': 's1',
200 'to_concept': 'sed',
201 'link_value': 'nil',
202 'mime_type': 'text/plain'
203 },
204 {
205 'uuid': '204a46b5-8efa-47b9-a56d-22b149c1d41e',
206 'link_name': 'identity-certainty',
207 'to_concept': 'self',
208 'link_value': 'maybe',
209 'mime_type': 'text/plain'
210 },
211 {
212 'uuid': '66f74ac5-12c5-4b50-9367-30a049c1d41e',
213 'link_name': 's2',
214 'to_concept': 'bou',
215 'link_value': 'nil',
216 'mime_type': 'text/plain'
217 },
218 {
219 'uuid': '7dbddb7d-0442-470e-e46a-1ea549c1d41e',
220 'link_name': 's2',
221 'to_concept': 'bed',
222 'link_value': 'nil',
223 'mime_type': 'text/plain'
224 },
225 {
226 'uuid': '7dbddb7d-0442-470e-e46a-upon',
227 'link_name': 'upon',
228 'to_concept': 'bed',
229 'link_value': 'nil',
230 'mime_type': 'text/plain'
231 },
232 {
233 'uuid': 'faf820ac-93fd-4d5a-486a-87775ec1d41e',
234 'link_name': 'comment',
235 'to_concept': 'self',
236 'link_value': 'Added for review: Don Draper',
237 'mime_type': 'text/plain'
238 }
239 ],
240 'image_references': [],
241 'ancillary_data': {
242 'altitude': 2.299999952316284,
243 'latitude': 39.023365743777,
244 'longitude': -72.448741878402,
245 'oxygen_ml_l': 8.13640022277832,
246 'salinity': 34.951900482177734,
247 'temperature_celsius': 3.8610000610351562,
248 'uuid': '5b9fd45e-a771-4ae2-4c6c-8cd75f66d71e'
249 }
250 },
251 # annotations[3]
252 {
253 'observation_uuid': '35aa2bb9-d067-419b-9a6e-09cdce8ed41e',
254 'concept': 'Pomacentridae',
255 'observer': 'MeaganPutts',
256 'observation_timestamp': '2022-10-10T22:43:14.208Z',
257 'video_reference_uuid': '9888ccf0-22d7-40a1-9dc6-70e029c45155',
258 'imaged_moment_uuid': '74c08709-b3ab-43d0-bb6c-0ecdce8ed41e',
259 'elapsed_time_millis': 3995082,
260 'recorded_timestamp': '2014-09-06T13:35:03.082Z',
261 'group': 'ROV',
262 'activity': 'cruise',
263 'associations': [
264 {
265 'uuid': '297d23d7-5979-46e7-6f66-8f1fcf8ed41e',
266 'link_name': 'comment',
267 'to_concept': 'self',
268 'link_value': 'Added for review: Jon Snow; This is a weird lookin sponge thing!',
269 'mime_type': 'text/plain'
270 },
271 {
272 'uuid': '954b0835-ca6d-4180-1d6f-4ee4ce8ed41e',
273 'link_name': 's2',
274 'to_concept': 'sed',
275 'link_value': 'nil',
276 'mime_type': 'text/plain'
277 },
278 {
279 'uuid': '7dbddb7d-0442-470e-e46a-upon',
280 'link_name': 'upon',
281 'to_concept': 'bed',
282 'link_value': 'nil',
283 'mime_type': 'text/plain'
284 },
285 {
286 'uuid': 'cd581243-bdfb-469e-dc6a-b9dbce8ed41e',
287 'link_name': 's1',
288 'to_concept': 'bed',
289 'link_value': 'nil',
290 'mime_type': 'text/plain'
291 }
292 ],
293 'image_references': [],
294 'ancillary_data': {
295 'altitude': 1.600000023841858,
296 'depth_meters': 639.4940185546875,
297 'latitude': 37.410213069179,
298 'longitude': -74.464855305838,
299 'oxygen_ml_l': 7.184100151062012,
300 'salinity': 35.87260055541992,
301 'temperature_celsius': 5.309000015258789,
302 'uuid': '855dc798-961a-460f-886e-f53bbbb3d41e'
303 }
304 },
305 # annotations[4]
306 {
307 'observation_uuid': '2ccca0ff-10d8-4666-b365-6201604ee81e',
308 'concept': 'none',
309 'observer': 'MeaganPutts',
310 'observation_timestamp': '2023-11-17T01:09:49.756Z',
311 'video_reference_uuid': 'dda3dc62-9f78-4dbb-91cd-5015026e0434',
312 'imaged_moment_uuid': 'c0ce51ca-cac1-48a4-e46a-6901604ee81e',
313 'elapsed_time_millis': 7927,
314 'recorded_timestamp': '2023-08-24T18:30:07.927Z',
315 'group': 'ROV',
316 'activity': 'descend',
317 'associations': [
318 {
319 'uuid': '71ba8e26-53cd-43f3-166f-b7bf604ee81e',
320 'link_name': 'occurrence-remark',
321 'to_concept': 'nil',
322 'link_value': 'bottom in sight',
323 'mime_type': 'text/plain'
324 },
325 {
326 'uuid': '98ec7927-378e-4922-a860-cfb1614ee81e',
327 'link_name': 'megahabitat',
328 'to_concept': 'continental shelf',
329 'link_value': 'nil',
330 'mime_type': 'text/plain'
331 },
332 {
333 'uuid': 'c9dcfd72-ad5e-4a3b-f767-cf50614ee81e',
334 'link_name': 'habitat',
335 'to_concept': 'slope',
336 'link_value': 'nil',
337 'mime_type': 'text/plain'
338 }
339 ],
340 'image_references': [],
341 'ancillary_data': {
342 'altitude': 9.100000381469727,
343 'depth_meters': 3089.68310546875,
344 'latitude': 55.9305241742622,
345 'longitude': -152.91831874139763,
346 'oxygen_ml_l': 2.4683001041412354,
347 'salinity': 34.65370178222656,
348 'temperature_celsius': 1.5455000400543213,
349 'uuid': '73184686-bd05-40c1-296b-7be1bb2ee91e'
350 }
351 },
352 # annotations[5]
353 {
354 'observation_uuid': '0059f860-4799-485f-c06c-asdfasdfadsf',
355 'concept': 'Pomacentridae',
356 'observer': 'NikkiCunanan',
357 'observation_timestamp': '2023-08-24T18:36:38',
358 'video_reference_uuid': 'dda3dc62-9f78-4dbb-91cd-5015026e0434',
359 'imaged_moment_uuid': 'aa7c743e-99ba-4b65-c16c-aeb3585dc91e',
360 'elapsed_time_millis': 0,
361 'recorded_timestamp': '2023-08-24T18:45:13Z',
362 'group': 'ROV',
363 'associations': [
364 {
365 'uuid': '08f0563b-090e-417e-0e68-asdfasd',
366 'link_name': 's1',
367 'to_concept': 'sed',
368 'link_value': 'nil',
369 'mime_type': 'text/plain'
370 },
371 {
372 'uuid': '08f0563b-090e-417e-0e68-asdfasdf',
373 'link_name': 'upon',
374 'to_concept': 'sed',
375 'link_value': 'nil',
376 'mime_type': 'text/plain'
377 },
378 {
379 'uuid': '204a46b5-id-asdfasdfdas',
380 'link_name': 'identity-reference',
381 'to_concept': 'self',
382 'link_value': '12',
383 'mime_type': 'text/plain'
384 },
385 ],
386 'image_references': [
387 {
388 'uuid': '165ea9f2-6e4f-4215-d06e-36801741e01e',
389 'description': 'compressed image',
390 'url': 'http://hurlstor.soest.hawaii.edu/imagearchive/Hercules/images/1381920/20220418T202402.015Z--542830a8-ec69-4ee5-a57d-9de66a412dba.jpg',
391 'format': 'image/jpg',
392 'width_pixels': 1920,
393 'height_pixels': 1080
394 },
395 {
396 'uuid': '78084244-266d-434e-de6b-b27e1741e01e',
397 'description': 'uncompressed image',
398 'url': 'http://hurlstor.soest.hawaii.edu/imagearchive/Hercules/images/1381920/20220418T202402.015Z--542830a8-ec69-4ee5-a57d-9de66a412dba.png',
399 'format': 'image/png',
400 'width_pixels': 1920,
401 'height_pixels': 1080
402 }
403 ],
404 'ancillary_data': {
405 'altitude': 1.899999976158142,
406 'depth_meters': 668.458984375,
407 'latitude': 38.793148973388,
408 'longitude': -72.992393976812,
409 'oxygen_ml_l': 7.3196001052856445,
410 'salinity': 35.864898681640625,
411 'temperature_celsius': 5.125999927520752,
412 'uuid': 'b5bdfa60-9b20-40c4-6462-9d4db9b3d41e'
413 }
414 },
415 ],
416 'media': [
417 {
418 'video_sequence_uuid': '653882d3-d26a-4bf1-99cf-77095aa88eb9',
419 'video_reference_uuid': 'dda3dc62-9f78-4dbb-91cd-5015026e0434',
420 'video_uuid': 'de847600-3d1f-463f-8122-5db1a47faf73',
421 'video_sequence_name': 'Deep Discoverer 23060001',
422 'camera_id': 'Deep Discoverer',
423 'uri': 'http://hurlstor.soest.hawaii.edu/videoarchive/D2/2023/EX2306_01/EX2306_01_20230824T183000Z.m4v',
424 'start_timestamp': '2023-08-24T18:30:00Z',
425 'duration_millis': 7199993,
426 'width': 1920,
427 'height': 1080,
428 'frame_rate': 29.97002997002997,
429 'size_bytes': 9104729858,
430 'sha512': '340887B07E3BF3A6573D204DF4FA80A00E565C236FC4342D176F59BB5880BBD21F3324B7FDCF971689D086F5074FF923954EC219CD42D8FE7D10AC9015E48BC8',
431 'video_name': 'Deep Discoverer 23060001 20230824T183000.000000Z'
432 },
433 {
434 'video_sequence_uuid': '653882d3-d26a-4bf1-99cf-77095aa88eb9',
435 'video_reference_uuid': 'd955c4ef-94e0-4f0d-83f5-d0144a09a933',
436 'video_uuid': '20e7949d-fc43-40e6-911c-16c4b55bb3ee',
437 'video_sequence_name': 'Deep Discoverer 23060001',
438 'camera_id': 'Deep Discoverer',
439 'uri': 'http://hurlstor.soest.hawaii.edu/videoarchive/D2/2023/EX2306_01/EX2306_01_20230824T203000Z.m4v',
440 'start_timestamp': '2023-08-24T20:30:00Z',
441 'duration_millis': 7199993,
442 'width': 1920,
443 'height': 1080,
444 'frame_rate': 29.97002997002997,
445 'size_bytes': 9105529037,
446 'sha512': '7510831372F5267FEFC2CD4868FDCA47EAA53EEF82EF221945017214777D7B10B5DE25FA8B0A9DD94923B92830FA3C1EAE1DBEED7CB59F6E8A857A40C8A5139C',
447 'video_name': 'Deep Discoverer 23060001 20230824T203000.000000Z'
448 },
449 ],
450}
452# this is the 'problem' dive for qaqc checks
453ex_23060002 = {
454 'annotations': [
455 # annotations[0]: duplicate s1, missing upon substrate, blank association, missing expected association
456 {
457 'observation_uuid': '006fb032-13b5-4517-136c-11aa9597e81e',
458 'concept': 'Hydroidolina',
459 'observer': 'NikkiCunanan',
460 'observation_timestamp': '2023-11-22T20:54:43.743Z',
461 'video_reference_uuid': '54915e37-a5d1-4381-af54-81ae25457e7b',
462 'imaged_moment_uuid': 'edd0673a-84a8-4e80-126c-11aa9597e81e',
463 'elapsed_time_millis': 3725393,
464 'recorded_timestamp': '2023-08-25T20:52:05.393Z',
465 'group': 'ROV',
466 'activity': 'cruise',
467 'associations': [
468 {
469 'uuid': '22a296c3-8d1b-4593-156c-11aa9597e81e',
470 'link_name': 's1',
471 'to_concept': 'sed',
472 'link_value': 'nil',
473 'mime_type': 'text/plain'
474 },
475 {
476 'uuid': '22a296c3-8d1b-4593-156c-oh-no',
477 'link_name': 's1',
478 'to_concept': 'bed',
479 'link_value': 'nil',
480 'mime_type': 'text/plain'
481 },
482 {
483 'uuid': '9b9d48bb-6425-4f5c-146c-11aa9597e81e',
484 'link_name': 'upon',
485 'to_concept': 'ded',
486 'link_value': 'nil',
487 'mime_type': 'text/plain'
488 },
489 {
490 'uuid': '954b0835-ca6d-4180-1d6f-4ee4ce8ed41e',
491 'link_name': 'comment',
492 'to_concept': 'self',
493 'link_value': '',
494 'mime_type': 'text/plain'
495 },
496 {
497 'uuid': '204a46b5-id-reference',
498 'link_name': 'identity-reference',
499 'to_concept': 'self',
500 'link_value': '50',
501 'mime_type': 'text/plain'
502 },
503 ],
504 'image_references': [],
505 'ancillary_data': {
506 'altitude': 0.4000000059604645,
507 'depth_meters': 4255.12890625,
508 'latitude': 56.92319044566854,
509 'longitude': -149.55652416503983,
510 'oxygen_ml_l': 3.2002999782562256,
511 'salinity': 34.67940139770508,
512 'temperature_celsius': 1.4749000072479248,
513 'uuid': 'fd7a9d9c-274d-4e7c-a36a-96dbbd2ee91e'
514 }
515 },
516 # annotations[1]: missing s1, duplicate s2s, blank association, suspicious host, missing host in previous records
517 {
518 'observation_uuid': '01f3e954-b793-40a3-6166-88f24898e81e',
519 'concept': 'Pomacentridae',
520 'observer': 'NikkiCunanan',
521 'observation_timestamp': '2023-11-22T22:14:53.738Z',
522 'video_reference_uuid': '54915e37-a5d1-4381-af54-81ae25457e7b',
523 'imaged_moment_uuid': '13e84950-60be-408a-6066-88f24898e81e',
524 'elapsed_time_millis': 4543805,
525 'recorded_timestamp': '2023-08-25T21:05:43.805Z',
526 'group': 'ROV',
527 'activity': 'cruise',
528 'associations': [
529 {
530 'uuid': '001adc93-d793-4032-e462-b91c4998e81e',
531 'link_name': 'identity-certainty',
532 'to_concept': 'self',
533 'link_value': 'maybe',
534 'mime_type': 'text/plain'
535 },
536 {
537 'uuid': '954b0835-ca6d-4180-1d6f-4ee4ohno',
538 'link_name': 's2',
539 'to_concept': 'sed',
540 'link_value': 'nil',
541 'mime_type': 'text/plain'
542 },
543 {
544 'uuid': '954b0835-ca6d-4180-1d6f-4ee4ce8ed41e',
545 'link_name': 's2',
546 'to_concept': 'sed',
547 'link_value': 'nil',
548 'mime_type': 'text/plain'
549 },
550 {
551 'uuid': '954b0835-ca6d-4180-1d6f-4ee4ce8ed41e',
552 'link_name': 'comment',
553 'to_concept': 'self',
554 'link_value': '',
555 'mime_type': 'text/plain'
556 },
557 {
558 'uuid': '98d04f38-0d7f-484e-4a60-9577c98ce81e',
559 'link_name': 'upon',
560 'to_concept': 'Pomacentridae',
561 'link_value': 'nil',
562 'mime_type': 'text/plain'
563 },
564 ],
565 'image_references': [],
566 'ancillary_data': {
567 'altitude': 0.20000000298023224,
568 'depth_meters': 4256.0888671875,
569 'latitude': 56.92335858355786,
570 'longitude': -149.5563359228375,
571 'oxygen_ml_l': 3.0899999141693115,
572 'salinity': 34.6781005859375,
573 'temperature_celsius': 1.4814000129699707,
574 'uuid': 'f769daac-0f90-4ebb-526a-96dbbd2ee91e'
575 }
576 },
577 # annotations[2]: missing ancillary data, id ref different concept name, id ref conflicting associations, long host associate time diff, duplicate s1/s2
578 {
579 'observation_uuid': '02dfd7f4-c834-433d-4960-9577c98ce81e',
580 'concept': 'Hydroidolina',
581 'observer': 'NikkiCunanan',
582 'observation_timestamp': '2023-11-22T00:18:01.961Z',
583 'video_reference_uuid': '54915e37-a5d1-4381-af54-81ae25457e7b',
584 'imaged_moment_uuid': '6ee8b4c6-8ea6-4f28-4860-9577c98ce81e',
585 'elapsed_time_millis': 2435762,
586 'recorded_timestamp': '2023-08-25T20:30:35.762Z',
587 'group': 'ROV',
588 'activity': 'cruise',
589 'associations': [
590 {
591 'uuid': '6767d952-4996-4c3a-8e6a-59b4c98ce81e',
592 'link_name': 'population-quantity',
593 'to_concept': 'self',
594 'link_value': '5',
595 'mime_type': 'text/plain'
596 },
597 {
598 'uuid': '98d04f38-0d7f-484e-4a60-9577c98ce81e',
599 'link_name': 'upon',
600 'to_concept': 'HostConcept',
601 'link_value': 'nil',
602 'mime_type': 'text/plain'
603 },
604 {
605 'uuid': 'eb8f9358-cdec-434a-4b60-9577c98ce81e',
606 'link_name': 's1',
607 'to_concept': 'sed',
608 'link_value': 'nil',
609 'mime_type': 'text/plain'
610 },
611 {
612 'uuid': 'eb8f9358-cdec-434a-4b60-9577c98ce81e',
613 'link_name': 's2',
614 'to_concept': 'sed',
615 'link_value': 'nil',
616 'mime_type': 'text/plain'
617 },
618 {
619 'uuid': '204a46b5-id-reference',
620 'link_name': 'identity-reference',
621 'to_concept': 'self',
622 'link_value': '13',
623 'mime_type': 'text/plain'
624 },
625 ],
626 'image_references': [],
627 },
628 # annotations[3]: mismatched substrates, missing upon, missing ancillary data, id ref different concept name, id ref conflicting assocaitions, long host associate time diff
629 {
630 'observation_uuid': '02dfd7f4-c834-433d-4960-9123',
631 'concept': 'HostConcept',
632 'observer': 'NikkiCunanan',
633 'observation_timestamp': '2023-11-22T00:16:25Z',
634 'video_reference_uuid': '54915e37-a5d1-4381-af54-81ae25457e7b',
635 'imaged_moment_uuid': '6ee8b4c6-8ea6-4f28-4860-9577c98ce81e',
636 'elapsed_time_millis': 2435762,
637 'recorded_timestamp': '2023-08-25T20:29:01Z',
638 'group': 'ROV',
639 'activity': 'cruise',
640 'associations': [
641 {
642 'uuid': '6767d952-4996-4c3a-8e6a-59b4c98ce81e',
643 'link_name': 'population-quantity',
644 'to_concept': 'self',
645 'link_value': '5',
646 'mime_type': 'text/plain'
647 },
648 {
649 'uuid': 'eb8f9358-cdec-434a-4b60-9577c98ce81e',
650 'link_name': 's1',
651 'to_concept': 'ded',
652 'link_value': 'nil',
653 'mime_type': 'text/plain'
654 },
655 {
656 'uuid': '204a46b5-id-reference',
657 'link_name': 'identity-reference',
658 'to_concept': 'self',
659 'link_value': '13',
660 'mime_type': 'text/plain'
661 },
662 ],
663 'image_references': [],
664 },
665 # annotations[4]: long host associate time diff (>5 min)
666 {
667 'observation_uuid': '0983d9f1-d28a-482e-0160-6d3df753e91e',
668 'concept': 'AssociateConcept',
669 'observer': 'NikkiCunanan',
670 'observation_timestamp': '2023-11-22T00:18:01.961Z',
671 'video_reference_uuid': '54915e37-a5d1-4381-af54-81ae25457e7b',
672 'imaged_moment_uuid': '4ed4f8b7-086d-4b5a-af6c-603df753e91e',
673 'elapsed_time_millis': 6842402,
674 'recorded_timestamp': '2023-08-25T20:39:01Z',
675 'group': 'ROV',
676 'activity': 'stationary',
677 'associations': [
678 {
679 'uuid': '489eccde-8e58-4717-1b64-1f83c55fe91e',
680 'link_name': 'upon',
681 'to_concept': 'HostConcept',
682 'link_value': 'nil',
683 'mime_type': 'text/plain'
684 },
685 {
686 'uuid': 'a3f4ff3d-b915-4095-7b6b-89f9f753e91e',
687 'link_name': 's1',
688 'to_concept': 'sed',
689 'link_value': 'nil',
690 'mime_type': 'text/plain'
691 }
692 ],
693 'image_references': [],
694 'ancillary_data': {
695 'depth_meters': 4260.2080078125,
696 'latitude': 56.92390544652011,
697 'longitude': -149.55602221947646,
698 'oxygen_ml_l': 3.1916000843048096,
699 'salinity': 34.68040084838867,
700 'temperature_celsius': 1.455899953842163,
701 'uuid': '07336680-9b62-495d-9966-e998f753e91e'
702 }
703 },
704 # annotations[5]: mismatched substrates
705 {
706 'observation_uuid': '02dfd7f4-c834-433d-4960-9123',
707 'concept': 'none',
708 'observer': 'NikkiCunanan',
709 'observation_timestamp': '2023-11-22T00:16:25Z',
710 'video_reference_uuid': '54915e37-a5d1-4381-af54-81ae25457e7b',
711 'imaged_moment_uuid': '6ee8b4c6-8ea6-4f28-4860-9577c98ce81e',
712 'elapsed_time_millis': 2435762,
713 'recorded_timestamp': '2023-08-25T20:29:01Z',
714 'group': 'ROV',
715 'activity': 'cruise',
716 'associations': [
717 {
718 'uuid': 'eb8f9358-cdec-434a-4b60-9577c98ce81e',
719 'link_name': 's1',
720 'to_concept': 'sssssssed',
721 'link_value': 'nil',
722 'mime_type': 'text/plain'
723 },
724 ],
725 'image_references': [],
726 'ancillary_data': {
727 'depth_meters': 4260.2080078125,
728 'latitude': 56.92390544652011,
729 'longitude': -149.55602221947646,
730 'oxygen_ml_l': 3.1916000843048096,
731 'salinity': 34.68040084838867,
732 'temperature_celsius': 1.455899953842163,
733 'uuid': '07336680-9b62-495d-9966-e998f753e91e'
734 }
735 },
736 ],
737 'media': [
738 {
739 'video_sequence_uuid': '9d3265d1-376b-4c55-b9be-4ae6bb58e4df',
740 'video_reference_uuid': '54915e37-a5d1-4381-af54-81ae25457e7b',
741 'video_uuid': '17a7fffa-43ea-437c-b05d-fb14550264ad',
742 'video_sequence_name': 'Deep Discoverer 23060002',
743 'camera_id': 'Deep Discoverer',
744 'uri': 'http://hurlstor.soest.hawaii.edu/videoarchive/D2/2023/EX2306_02/EX2306_02_20230825T195000Z.m4v',
745 'start_timestamp': '2023-08-25T19:50:00Z',
746 'duration_millis': 8399992,
747 'width': 1920,
748 'height': 1080,
749 'frame_rate': 29.97002997002997,
750 'size_bytes': 10623288499,
751 'sha512': 'BB7420CF2A038E1E311BEFD94B0C0C1C005B3EB8AC29557F4FC4D725EBD9C71FCEF33B98BBF7638F76D7FE65984729F79D92AB38877B81B455AC4584D330D1F4',
752 'video_name': 'Deep Discoverer 23060002 20230825T195000.000000Z'
753 },
754 {
755 'video_sequence_uuid': '9d3265d1-376b-4c55-b9be-4ae6bb58e4df',
756 'video_reference_uuid': 'c26617a3-6527-4805-9d79-3af6fbf149d4',
757 'video_uuid': 'c41045b3-1b05-4d2e-b30d-729b5e684701',
758 'video_sequence_name': 'Deep Discoverer 23060002',
759 'camera_id': 'Deep Discoverer',
760 'uri': 'urn:imagecollection:org.mbari:Deep_Discoverer_23060002',
761 'start_timestamp': '2023-08-25T19:57:48Z',
762 'duration_millis': 7657000,
763 'width': 0,
764 'height': 0,
765 'frame_rate': 0.0,
766 'size_bytes': 0,
767 'video_name': 'Deep Discoverer 23060002 image collection'
768 }
769 ]
770}
772pomacentridae = {
773 'name': 'object',
774 'alternativeNames': [
775 'root'
776 ],
777 'children': [
778 {
779 'name': 'physical-object',
780 'alternativeNames': [
781 'physical object'
782 ],
783 'children': [
784 {
785 'name': 'Biological',
786 'children': [
787 {
788 'name': 'Organism',
789 'children': [
790 {
791 'name': 'Animalia',
792 'rank': 'kingdom',
793 'children': [
794 {
795 'name': 'Chordata',
796 'rank': 'phylum',
797 'children': [
798 {
799 'name': 'Vertebrata',
800 'rank': 'subphylum',
801 'children': [
802 {
803 'name': 'Gnathostomata',
804 'alternativeNames': [
805 'jawed-vertebtates'
806 ],
807 'rank': 'superclass',
808 'children': [
809 {
810 'name': 'Pisces',
811 'alternativeNames': [
812 'jawed-fish'
813 ],
814 'rank': 'superclass',
815 'children': [
816 {
817 'name': 'Actinopterygii',
818 'alternativeNames': [
819 'fish',
820 'Actinopteri'
821 ],
822 'rank': 'class',
823 'children': [
824 {
825 'name': 'Perciformes',
826 'alternativeNames': [
827 'perch like fish'
828 ],
829 'rank': 'order',
830 'children': [
831 {
832 'name': 'Pomacentridae',
833 'alternativeNames': [
834 'anemonefish',
835 'damselfish'
836 ],
837 'rank': 'family'
838 }
839 ]
840 }
841 ]
842 }
843 ]
844 }
845 ]
846 }
847 ]
848 }
849 ]
850 }
851 ]
852 }
853 ]
854 }
855 ]
856 }
857 ]
858 }
859 ]
860}
862hydroidolina = {
863 'name': 'object',
864 'alternativeNames': [
865 'root'
866 ],
867 'children': [
868 {
869 'name': 'physical-object',
870 'alternativeNames': [
871 'physical object'
872 ],
873 'children': [
874 {
875 'name': 'Biological',
876 'children': [
877 {
878 'name': 'Organism',
879 'children': [
880 {
881 'name': 'Animalia',
882 'rank': 'kingdom',
883 'children': [
884 {
885 'name': 'Cnidaria',
886 'alternativeNames': [
887 'coelenterate',
888 'cnidarian'
889 ],
890 'rank': 'phylum',
891 'children': [
892 {
893 'name': 'Hydrozoa',
894 'alternativeNames': [
895 'hydrozoan',
896 'hydroid'
897 ],
898 'rank': 'class',
899 'children': [
900 {
901 'name': 'Hydroidolina',
902 'rank': 'subclass'
903 }
904 ]
905 }
906 ]
907 }
908 ]
909 }
910 ]
911 }
912 ]
913 }
914 ]
915 }
916 ]
917}