-
Notifications
You must be signed in to change notification settings - Fork 26
/
ogcapi-environmental-data-retrieval-1.bundled.json
4874 lines (4874 loc) · 210 KB
/
ogcapi-environmental-data-retrieval-1.bundled.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
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"openapi": "3.0.3",
"info": {
"title": "OGC API - Environmental Data Retrieval Standard",
"description": "Example of OGC API - Environmental Data Retrieval Standard OpenAPI document",
"version": "1.1.0",
"license": {
"name": "OGC License",
"url": "https://www.ogc.org/legal"
}
},
"servers": [
{
"url": "https://example.org/edr",
"description": "Example OGC API - Environmental Data Retrieval server"
}
],
"tags": [
{
"name": "Capabilities",
"description": "Essential characteristics of the information available from the API."
},
{
"name": "Collection metadata",
"description": "Description of the information available from the collections"
},
{
"name": "Instance metadata",
"description": "Description of the information available from the instances of a collection"
},
{
"name": "Collection data queries",
"description": "Data queries available."
},
{
"name": "Instance data queries",
"description": "Data queries available on instances of the collection."
}
],
"paths": {
"/": {
"get": {
"tags": [
"Capabilities"
],
"summary": "landing page of this API",
"description": "The landing page provides links to the API definition, the Conformance statements and the metadata about the feature data in this dataset.",
"operationId": "getLandingPage",
"parameters": [
{
"name": "f",
"in": "query",
"description": "format to return the data response in",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "links to the API capabilities",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"links"
],
"properties": {
"title": {
"type": "string",
"example": "Meteorological data server"
},
"description": {
"type": "string",
"example": "Access to Meteorological data via a Web API that conforms to the OGC API Environmental Data Retrieval specification."
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href",
"rel"
],
"properties": {
"href": {
"type": "string",
"example": "https://example.com/collections/monitoringsites/locations/1234"
},
"rel": {
"type": "string",
"example": "alternate"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
},
"title": {
"type": "string",
"example": "Monitoring site name"
},
"length": {
"type": "integer"
},
"templated": {
"description": "defines if the link href value is a template with values requiring replacement",
"type": "boolean"
}
}
},
"example": [
{
"href": "https://example.org/edr/api",
"hreflang": "en",
"rel": "service-desc",
"type": "application/vnd.oai.openapi+json;version=3.0",
"title": ""
},
{
"href": "https://example.org/edr/conformance",
"hreflang": "en",
"rel": "data",
"type": "application/json",
"title": ""
},
{
"href": "https://example.org/edr/collections",
"hreflang": "en",
"rel": "data",
"type": "application/json",
"title": ""
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"Temperature",
"Wind",
"Point",
"Trajectory"
]
},
"provider": {
"type": "object",
"properties": {
"name": {
"description": "Name of organization providing the service",
"type": "string"
},
"url": {
"description": "Link to service providers website",
"type": "string"
}
}
},
"contact": {
"type": "object",
"properties": {
"email": {
"description": "Email address of service provider",
"type": "string"
},
"phone": {
"description": "Phone number of service provider",
"type": "string"
},
"fax": {
"description": "Fax number of service provider",
"type": "string"
},
"hours": {
"type": "string"
},
"instructions": {
"type": "string"
},
"address": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"city": {
"type": "string"
},
"stateorprovince": {
"type": "string"
},
"country": {
"type": "string"
}
}
}
}
}
},
"text/html": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/conformance": {
"get": {
"tags": [
"Capabilities"
],
"summary": "Information about standards that this API conforms to",
"description": "List all requirements classes specified in a standard that the server conforms to",
"operationId": "getRequirementsClasses",
"parameters": [
{
"$ref": "#/paths/~1/get/parameters/0"
}
],
"responses": {
"200": {
"description": "URIs of all requirements classes supported by the server",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"conformsTo"
],
"properties": {
"conformsTo": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"text/html": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/collections": {
"get": {
"tags": [
"Capabilities"
],
"summary": "List the avialable collections from the service",
"operationId": "listCollections",
"parameters": [
{
"name": "bbox",
"in": "query",
"description": "Only features that have a geometry that intersects the bounding box are selected.\nThe bounding box is provided as four or six numbers, depending on whether the\ncoordinate reference system includes a vertical axis (height or depth):\n* Lower left corner, coordinate axis 1\n* Lower left corner, coordinate axis 2\n* Minimum value, coordinate axis 3 (optional)\n* Upper right corner, coordinate axis 1\n* Upper right corner, coordinate axis 2\n* Maximum value, coordinate axis 3 (optional)\nThe coordinate reference system of the values is WGS 84 longitude/latitude\n(http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate\nreference system is specified in the parameter `bbox-crs`.\nFor WGS 84 longitude/latitude the values are in most cases the sequence of\nminimum longitude, minimum latitude, maximum longitude and maximum latitude.\nHowever, in cases where the box spans the antimeridian the first value\n(west-most box edge) is larger than the third value (east-most box edge).\nIf the vertical axis is included, the third and the sixth number are the\nbottom and the top of the 3-dimensional bounding box.\nIf a feature has multiple spatial geometry properties, it is the decision of the\nserver whether only a single spatial geometry property is used to determine\nthe extent or all relevant geometries.",
"required": false,
"schema": {
"oneOf": [
{
"items": {
"type": "number"
},
"type": "array",
"minItems": 4,
"maxItems": 4
},
{
"items": {
"type": "number"
},
"type": "array",
"minItems": 6,
"maxItems": 6
}
]
},
"style": "form",
"explode": false
},
{
"name": "datetime",
"in": "query",
"description": "Either a date-time or an interval, open or closed. Date and time expressions adhere to RFC 3339. Open intervals are expressed using double-dots.\nExamples:\n* A date-time: \"2018-02-12T23:20:50Z\" * A closed interval: \"2018-02-12T00:00:00Z/2018-03-18T12:31:12Z\" * Open intervals: \"2018-02-12T00:00:00Z/..\" or \"../2018-03-18T12:31:12Z\"\nOnly features that have a temporal property that intersects the value of `datetime` are selected.\nIf a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.",
"required": false,
"schema": {
"type": "string"
},
"style": "form",
"explode": false
},
{
"$ref": "#/paths/~1/get/parameters/0"
}
],
"responses": {
"200": {
"description": "Metadata about the Environmental data collections shared by this API",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"links",
"collections"
],
"properties": {
"links": {
"type": "array",
"items": {
"$ref": "#/paths/~1/get/responses/200/content/application~1json/schema/properties/links/items"
},
"example": [
{
"href": "https://example.org/edr/collections",
"hreflang": "en",
"rel": "self",
"type": "application/yaml"
},
{
"href": "https://example.org/edr/collections?f=html",
"hreflang": "en",
"rel": "alternate",
"type": "text/html"
},
{
"href": "https://example.org/edr/collections?f=xml",
"hreflang": "en",
"rel": "alternate",
"type": "application/xml"
}
]
},
"collections": {
"type": "array",
"items": {
"$ref": "#/paths/~1collections~1%7BcollectionId%7D/get/responses/200/content/application~1json/schema"
}
}
}
}
},
"text/html": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "An error occured.",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"text/html": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/collections/{collectionId}": {
"get": {
"tags": [
"Collection metadata"
],
"summary": "List query types supported by the collection",
"description": "This will provide information about the query types that are supported by the chosen collection Use content negotiation to request HTML or JSON",
"operationId": "getQueries",
"parameters": [
{
"name": "collectionId",
"in": "path",
"description": "Identifier (id) of a specific collection",
"required": true,
"schema": {
"type": "string"
}
},
{
"$ref": "#/paths/~1/get/parameters/0"
}
],
"responses": {
"200": {
"description": "Metadata about the {collectionId} collection shared by this API",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"links",
"id",
"extent",
"data_queries",
"parameter_names",
"output_formats",
"crs"
],
"properties": {
"links": {
"type": "array",
"items": {
"$ref": "#/paths/~1/get/responses/200/content/application~1json/schema/properties/links/items"
},
"example": [
{
"href": "https://example.org/service/description.html",
"hreflang": "en",
"rel": "service-doc",
"type": "text/html",
"title": ""
},
{
"href": "https://example.org/service/licence.html",
"hreflang": "en",
"rel": "licence",
"type": "text/html",
"title": ""
},
{
"href": "https://example.org/service/terms-and-conditions.html",
"hreflang": "en",
"rel": "restrictions",
"type": "text/html",
"title": ""
},
{
"href": "https://example.org/edr/collections/the_collection_id/",
"hreflang": "en",
"rel": "collection",
"type": "collection",
"title": "Collection"
},
{
"href": "https://example.org/edr/collections/the_collection_id/position",
"hreflang": "en",
"rel": "data",
"type": "position",
"title": "Position"
},
{
"href": "https://example.org/edr/collections/the_collection_id/area",
"hreflang": "en",
"rel": "data",
"type": "area",
"title": "Area"
}
]
},
"id": {
"description": "id of the collection",
"type": "string",
"example": "Metar data"
},
"title": {
"description": "title of the collection",
"type": "string",
"example": "Metar observations"
},
"description": {
"description": "description of the collection",
"type": "string",
"example": "Last 24 hours Metar observations"
},
"keywords": {
"description": "List of keywords which help to describe the collection",
"type": "array",
"items": {
"type": "string"
}
},
"extent": {
"description": "The extent of the information in the collection. In the Core only spatial and temporal\nextents are specified. Extensions may add additional members to represent other\nextents, for example, thermal or pressure ranges.",
"type": "object",
"properties": {
"spatial": {
"description": "The spatial extent of the information in the collection.",
"type": "object",
"required": [
"bbox",
"crs"
],
"properties": {
"bbox": {
"description": "One or more bounding boxes that describe the spatial extent of the dataset.\nIn the Core only a single bounding box is supported. Extensions may support\nadditional areas. If multiple areas are provided, the union of the bounding\nboxes describes the spatial extent.",
"type": "array",
"minItems": 1,
"items": {
"description": "Each bounding box is provided as four or six numbers, depending on\nwhether the coordinate reference system includes a vertical axis\n(height or depth):\n\n* Lower left corner, coordinate axis 1\n* Lower left corner, coordinate axis 2\n* Minimum value, coordinate axis 3 (optional)\n* Upper right corner, coordinate axis 1\n* Upper right corner, coordinate axis 2\n* Maximum value, coordinate axis 3 (optional)\n\nThe coordinate reference system of the values is WGS 84 longitude/latitude\n(http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate\nreference system is specified in `crs`.\n\nFor WGS 84 longitude/latitude the values are in most cases the sequence of\nminimum longitude, minimum latitude, maximum longitude and maximum latitude.\nHowever, in cases where the box spans the antimeridian the first value\n(west-most box edge) is larger than the third value (east-most box edge).\n\nIf the vertical axis is included, the third and the sixth number are\nthe bottom and the top of the 3-dimensional bounding box.\n\nIf a feature has multiple spatial geometry properties, it is the decision of the\nserver whether only a single spatial geometry property is used to determine\nthe extent or all relevant geometries.",
"oneOf": [
{
"items": {
"type": "number"
},
"minItems": 4,
"maxItems": 4,
"type": "array"
},
{
"items": {
"type": "number"
},
"minItems": 6,
"maxItems": 6,
"type": "array"
}
]
},
"example": [
-180,
-90,
180,
90
]
},
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent\n(property `bbox`). The default reference system is WGS 84 longitude/latitude.\nIn the Core this is the only supported coordinate reference system.\nExtensions may support additional coordinate reference systems ",
"type": "string",
"default": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.01745329251994328,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]"
},
"name": {
"description": "Name of the vertical coordinate reference system",
"type": "string"
}
}
},
"temporal": {
"description": "The temporal extent of the information in the collection.",
"type": "object",
"required": [
"interval",
"trs"
],
"properties": {
"interval": {
"description": "RFC3339 compliant Date and Time",
"type": "array",
"minItems": 1,
"items": {
"description": "Begin and end times of the time interval. The timestamps are in the\ntemporal coordinate reference system specified in `trs`. By default\nthis is the Gregorian calendar.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"nullable": true
},
"example": [
[
"2020-11-12T12:15Z",
"2020-11-12T12:15Z"
],
[
"2020-11-12T12:15Z",
"2020-11-12T12:45Z"
],
[
"2022-01-14T09:00Z",
"2022-01-15T09:00Z"
],
[
"2022-01-14T09:00Z",
"2022-01-14T21:00Z"
],
[
"2022-01-14T09:00Z",
"2022-01-16T09:00Z"
]
]
}
},
"values": {
"description": "Provides information about the time intervals available in the collection \nas ISO8601 compliant dates, either as a time range specified \nas start time / end time (e.g. 2017-11-14T09:00Z/2017-11-14T21:00Z) or\nas number of repetitions / start time / interval (e.g. R4/2017-11-14T21:00Z/PT3H) \nor a list of time values (e.g.\n2017-11-14T09:00Z,2017-11-14T12:00Z,2017-11-14T15:00Z,2017-11-14T18:00Z,2017-11-14T21:00Z)",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minItems": 1,
"nullable": true,
"example": [
[
"2020-11-12T12:15Z"
],
[
"2020-11-12T12:15Z",
"2020-11-12T12:30Z",
"2020-11-12T12:45Z"
],
[
"R12/2022-01-14T09:00Z/2022-01-15T09:00Z"
],
[
"R12/2022-01-14T09:00Z/PT1H"
],
[
"R12/2022-01-14T09:00Z/PT1H",
"R4/2022-01-14T21:00Z/PT3H",
"R4/2022-01-15T09:00Z/PT6H"
]
]
}
},
"trs": {
"description": "Coordinate reference system of the coordinates in the temporal extent\n(property `interval`). The default reference system is the Gregorian calendar.\nIn the Core this is the only supported temporal coordinate reference system.\nExtensions may support additional temporal coordinate reference systems ",
"type": "string",
"example": "TIMECRS[\"DateTime\",TDATUM[\"Gregorian Calendar\"],CS[TemporalDateTime,1],AXIS[\"Time (T)\",future]]",
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"name": {
"description": "Name of the temporal coordinate reference system",
"type": "string"
}
}
},
"vertical": {
"description": "The vertical extent of the information in the collection.",
"type": "object",
"required": [
"interval",
"vrs"
],
"properties": {
"interval": {
"description": "If multiple intervals are provided, the union of the intervals describes the vertical extent.",
"type": "array",
"minItems": 1,
"items": {
"description": "minimum and maximum heights of the vertical interval. The values are in the\nvertical coordinate reference system specified in `vrs`. By default\nthis is the vertical coordinate reference system of the source information.",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"nullable": true
},
"example": [
[
"2",
"100"
]
]
}
},
"values": {
"description": "Vertical level intervals that data in the collection is available at \nthese can be defined as follows:\nmin level / max level (e.g. \"2/100\") or \nas number of repetitions / start level / interval (e.g.\"R5/100/50\") \nor a list of vertical levels (e.g. \"2\",10,\"80\",\"100\"}\nThe value `null` is supported and indicates an open vertical interval.",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"nullable": true,
"example": [
[
"2/100"
],
[
"R20/1000/-50"
],
[
"2",
"10",
"80",
"100"
]
]
}
},
"vrs": {
"description": "Coordinate reference system of the coordinates in the vertical extent\n(property `interval`). ",
"type": "string",
"example": "VERTCS[\"WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PARAMETER[\"Vertical_Shift\",0.0],PARAMETER[\"Direction\",1.0],UNIT[\"Meter\",1.0]],AXIS[\"Up\",UP]",
"default": "VERTCS[\"WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PARAMETER[\"Vertical_Shift\",0.0],PARAMETER[\"Direction\",1.0],UNIT[\"Meter\",1.0]],AXIS[\"Up\",UP]"
},
"name": {
"description": "Name of the vertical coordinate reference system",
"type": "string"
}
}
},
"custom": {
"description": "The custom extents available in the collection.",
"type": "array",
"items": {
"description": "custom dimension defintion",
"type": "object",
"required": [
"id",
"interval",
"reference"
],
"properties": {
"id": {
"description": "The name of the custom dimension.",
"type": "string",
"example": [
[
"members"
]
]
},
"interval": {
"description": "If multiple intervals are provided, the union of the intervals describes the custom extent.",
"type": "array",
"minItems": 1,
"items": {
"description": "minimum and maximum vakues of the custom interval.",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"nullable": true
},
"example": [
[
"0",
"50"
]
]
}
},
"values": {
"description": "values that data in the collection is available at \nthese can be defined as follows:\nmin level / max level (e.g. \"2/100\") or \nas number of repetitions / start level / interval (e.g.\"R5/100/50\") \nor a list of custom dimension values (e.g. \"25\",50,\"75\"}\nThe value `null` is supported and indicates an open custom interval.",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"nullable": true,
"example": [
[
"25/75"
],
[
"R20/0/5"
],
[
"25",
"50",
"75"
]
]
}
},
"reference": {
"description": "URI to a definition or description of the custom dimension",
"type": "string",
"example": "https://en.wikipedia.org/wiki/Percentile"
}
}
}
}
}
},
"data_queries": {
"description": "Detailed information relevant to individual query types",
"type": "object",
"properties": {
"position": {
"type": "object",
"properties": {
"link": {
"allOf": [
{
"$ref": "#/paths/~1/get/responses/200/content/application~1json/schema/properties/links/items"
}
],
"properties": {
"href": {
"type": "string",
"example": "https://example.com/collections/monitoringsites/position"
},
"variables": {
"allOf": [
{
"$ref": "#/paths/~1collections/get/responses/200/content/application~1json/schema/properties/collections/items/properties/data_queries/properties/area/properties/link/properties/variables/allOf/0"
}
],
"required": [
"query_type"
],
"properties": {
"query_type": {
"description": "Type of EDR query",
"type": "string",
"enum": [
"position"
],
"example": "position"
}
}
}
}
}
}
},
"radius": {
"type": "object",
"properties": {
"link": {
"allOf": [
{
"$ref": "#/paths/~1/get/responses/200/content/application~1json/schema/properties/links/items"
}
],
"properties": {
"href": {
"type": "string",
"example": "https://example.com/collections/monitoringsites/radius"
},
"variables": {
"allOf": [
{
"$ref": "#/paths/~1collections/get/responses/200/content/application~1json/schema/properties/collections/items/properties/data_queries/properties/area/properties/link/properties/variables/allOf/0"
}
],
"properties": {
"query_type": {
"description": "Type of EDR query",
"type": "string",
"enum": [
"radius"
],
"example": "radius"
},
"within_units": {
"description": "list of distance units radius values can be specified in",
"type": "array",
"items": {
"type": "string"
},
"example": [
"km",
"miles"
]
}
}
}
}
}
}
},
"area": {
"type": "object",
"properties": {
"link": {
"allOf": [
{
"$ref": "#/paths/~1/get/responses/200/content/application~1json/schema/properties/links/items"
}
],
"properties": {
"href": {
"type": "string",
"example": "https://example.com/collections/monitoringsites/area"
},
"variables": {
"allOf": [
{
"description": "Property to contain any extra metadata information that is specific to an individual data query",
"type": "object",
"required": [
"title",
"description",
"output_formats",
"default_output_format",
"crs_details"
],
"properties": {
"title": {
"description": "title of the query",
"type": "string",
"example": "Position query"
},
"description": {
"description": "description of the query",
"type": "string",
"example": "Query to return data for a defined well known text point"
},
"output_formats": {
"description": "list of output formats supported by the Position query",
"type": "array",
"items": {
"type": "string"
},
"example": [
"CoverageJSON",
"GeoJSON",
"IWXXM",
"GRIB"
]
},
"default_output_format": {
"description": "default output format for the Position query",
"type": "string"
},
"crs_details": {
"description": "List of key/value definitions for the CRS's supported by the Position query. The key is the query parameter and the value is the Well Known Text description",
"type": "array",
"items": {
"type": "object",
"required": [
"crs",
"wkt"
],
"properties": {
"crs": {
"description": "name of the coordinate reference system, used as the value in the crs query parameter to define the required output CRS",
"type": "string",
"example": "native"
},
"wkt": {
"description": "Well Known text description of the coordinate reference system",
"type": "string",
"example": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.01745329251994328,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]"
}
}
}
}
}
}
],
"properties": {
"query_type": {
"description": "Type of EDR query",
"type": "string",
"enum": [
"area"
],
"example": "area"
}
}
}
}
}
}
},
"cube": {
"type": "object",
"properties": {
"link": {
"allOf": [
{
"$ref": "#/paths/~1/get/responses/200/content/application~1json/schema/properties/links/items"
}
],
"properties": {
"href": {
"type": "string",
"example": "https://example.com/collections/monitoringsites/cube"
},
"variables": {
"allOf": [
{
"$ref": "#/paths/~1collections/get/responses/200/content/application~1json/schema/properties/collections/items/properties/data_queries/properties/area/properties/link/properties/variables/allOf/0"
}
],
"required": [
"height_units"
],
"properties": {
"query_type": {
"description": "Type of EDR query",
"type": "string",
"enum": [
"cube"
],
"example": "cube"
},
"height_units": {
"description": "list of z distance units vertical values can be specified in",