Repository navigation
Expand file tree
/
Copy pathswagger.json
More file actions
1297 lines (1297 loc) · 54.7 KB
/
Copy pathswagger.json
File metadata and controls
1297 lines (1297 loc) · 54.7 KB
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.1",
"info": {
"title": "WaDE OGC API",
"description": "This API service, available by the Western States Water Council’s (WSWC) Water Data Exchange (WaDE) Program, conforms to the Open Geospatial Consortium (OGC) API features and environmental data retrieval specifications. WaDE is committed to publicly sharing water rights, supply, use, and regulatory overlay data through a streamlined and standardized service that enables regional analyses to inform water resources management, planning and policies.",
"version": "1.0"
},
"servers": [
{
"url": "https://wade-api.azure-api.net/api/v2"
}
],
"paths": {
"/": {
"get": {
"tags": ["Capabilities"],
"summary": "Landing Page",
"description": "The landing page provides links to the API definition, the conformance\nstatements and to the feature collections in this dataset.",
"operationId": "getLandingPage",
"responses": {
"200": {
"$ref": "#/components/responses/LandingPage"
},
"500": {
"$ref": "#/components/responses/ServerError"
}
}
}
},
"/conformance": {
"get": {
"tags": ["Capabilities"],
"summary": "Conformance",
"description": "Conformance declaration for the OGC API.",
"operationId": "getConformance",
"responses": {
"200": {
"$ref": "#/components/responses/ConformanceDeclaration"
},
"500": {
"$ref": "#/components/responses/ServerError"
}
}
}
},
"/collections": {
"get": {
"tags": ["Capabilities"],
"summary": "The WaDE API “collections” are the distinct grouping of state-based data accessible through the API, identified by a unique identifier. WaDE offers the following collections of data: 1) overlays, 2) sites, 3) water rights, 4) timeseries.",
"description": "* Overlays refer to state-based geospatial boundary data split among administrative (districts or offices with authority over water) and regulatory (geographic areas that may follow basin or aquifer boundaries where specific rules or requirements apply to water use) boundary data paired to water right site information. Each overlay has a geospatial boundary, name, type of overlay, the water source type it applies to, an oversight agency, and a hyperlink that points to online documentation provided by the oversight agency.\n* Sites are the state-based geospatial location data of either a granted water right or a historical time series record on water supply or water use. Each site has a geospatial location (latitude and longitude), a recognized site type, a name, a geospatial category (point of diversion site or place of use boundary), and a specified water source(s).\n* Water rights refer to the state-granted rights to the use of public waters via public and private appropriations, permits, allocations, allotments, and reservations. Each water right can include the owner’s name, a limit on the flow rate or total quantity consumptively used, a priority date to determine seniority, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.\n* Timeseries refer to state-based historical time series records on water supply (reservoir releases, streamgage flow, and groundwater level or pumping measurements) and water use (withdrawals related to an existing water right, and public-supply use related to geospatial areas) data. Each timeseries has a measured value, a start and end time, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "getCollections",
"responses": {
"200": {
"$ref": "#/components/responses/Collections"
},
"500": {
"$ref": "#/components/responses/ServerError"
}
}
}
},
"/collections/overlays": {
"get": {
"tags": ["Overlays"],
"summary": "Overlays “collections” are the distinct grouping of overlay geospatial data accessible through the API, identified by a unique identifier.",
"description": "Overlays refer to state-based geospatial boundary data split among administrative (districts or offices with authority over water) and regulatory (geographic areas that may follow basin or aquifer boundaries where specific rules or requirements apply to water use) boundary data paired to water right site information. Each overlay has a geospatial boundary, name, type of overlay, the water source type it applies to, an oversight agency, and a hyperlink that points to online documentation provided by the oversight agency.",
"operationId": "getOverlaysCollections",
"responses": {
"200": {
"$ref": "#/components/responses/Collection"
},
"404": {
"$ref": "#/components/responses/NotFound"
},
"500": {
"$ref": "#/components/responses/ServerError"
}
}
}
},
"/collections/overlays/items": {
"get": {
"tags": ["Overlays"],
"summary": "Overlay “items” within overlays collections refers to an individual overlay geospatial record that is part of that collection accessible through the API, identified by a unique identifier.",
"description": "Overlays refer to state-based geospatial boundary data split among administrative (districts or offices with authority over water) and regulatory (geographic areas that may follow basin or aquifer boundaries where specific rules or requirements apply to water use) boundary data paired to water right site information. Each overlay has a geospatial boundary, name, type of overlay, the water source type it applies to, an oversight agency, and a hyperlink that points to online documentation provided by the oversight agency.",
"operationId": "getOverlays",
"parameters": [
{
"$ref": "#/components/parameters/limit"
},
{
"$ref": "#/components/parameters/bbox"
},
{
"name": "datetime",
"in": "query",
"description": "This parameter is not used on this endpoint and will be ignored!",
"required": false,
"schema": {
"type": "string"
},
"style": "form",
"explode": false
},
{
"$ref": "#/components/parameters/next"
},
{
"$ref": "#/components/parameters/siteUuids"
},
{
"$ref": "#/components/parameters/overlayUuids"
},
{
"$ref": "#/components/parameters/states"
},
{
"$ref": "#/components/parameters/overlayTypes"
},
{
"$ref": "#/components/parameters/waterSourceTypes"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Features"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/overlays/area": {
"get": {
"tags": ["Overlays"],
"summary": "Get overlay collection items in the given area",
"description": "List of overlays.",
"operationId": "getOverlaysInArea",
"parameters": [
{
"$ref": "#/components/parameters/limit"
},
{
"$ref": "#/components/parameters/coords"
},
{
"$ref": "#/components/parameters/next"
},
{
"$ref": "#/components/parameters/siteUuids"
},
{
"$ref": "#/components/parameters/overlayUuids"
},
{
"$ref": "#/components/parameters/states"
},
{
"$ref": "#/components/parameters/overlayTypes"
},
{
"$ref": "#/components/parameters/waterSourceTypes"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Features"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/rights": {
"get": {
"tags": ["Rights"],
"summary": "Water rights refer to the state-granted rights to the use of public waters via public and private appropriations, permits, allocations, allotments, and reservations",
"description": "Water rights refer to the state-granted rights to the use of public waters via public and private appropriations, permits, allocations, allotments, and reservations. Each water right can include the owner’s name, a limit on the flow rate or total quantity consumptively used, a priority date to determine seniority, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "getRightsCollection",
"responses": {
"200": {
"$ref": "#/components/responses/Collection"
}
}
}
},
"/collections/rights/items": {
"get": {
"tags": ["Rights"],
"summary": "Right “items” within rights collections refers to an individual water right record that is part of that collection accessible through the API, identified by a unique identifier.",
"description": "Water rights refer to the state-granted rights to the use of public waters via public and private appropriations, permits, allocations, allotments, and reservations. Each water right can include the owner’s name, a limit on the flow rate or total quantity consumptively used, a priority date to determine seniority, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "getRights",
"parameters": [
{
"$ref": "#/components/parameters/limit"
},
{
"$ref": "#/components/parameters/bbox"
},
{
"$ref": "#/components/parameters/next"
},
{
"$ref": "#/components/parameters/datetime"
},
{
"$ref": "#/components/parameters/allocationUuids"
},
{
"$ref": "#/components/parameters/siteUuids"
},
{
"$ref": "#/components/parameters/states"
},
{
"$ref": "#/components/parameters/waterSourceTypes"
},
{
"$ref": "#/components/parameters/beneficialUses"
},
{
"$ref": "#/components/parameters/ownerClassificationTypes"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Features"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/rights/area": {
"get": {
"tags": ["Rights"],
"summary": "The “area” of a rights collections refer to the ability to search for specific sites items that relate to a water right within a user described spatial feature (polygon) by using a well-known text (WKT) markup of a geometry object, written in decimal degrees using a world geodetic system 1984 (WGS84) coordinate reference frame.",
"description": "Water rights refer to the state-granted rights to the use of public waters via public and private appropriations, permits, allocations, allotments, and reservations. Each water right can include the owner’s name, a limit on the flow rate or total quantity consumptively used, a priority date to determine seniority, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "getRightsInArea",
"parameters": [
{
"$ref": "#/components/parameters/limit"
},
{
"$ref": "#/components/parameters/coords"
},
{
"$ref": "#/components/parameters/next"
},
{
"$ref": "#/components/parameters/allocationUuids"
},
{
"$ref": "#/components/parameters/siteUuids"
},
{
"$ref": "#/components/parameters/states"
},
{
"$ref": "#/components/parameters/waterSourceTypes"
},
{
"$ref": "#/components/parameters/beneficialUses"
},
{
"$ref": "#/components/parameters/ownerClassificationTypes"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Features"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/sites": {
"get": {
"tags": ["Sites"],
"summary": "Sites are the state-based geospatial location data of either a granted water right or a historical time series record on water supply or water use.",
"description": "Sites are the state-based geospatial location data of either a granted water right or a historical time series record on water supply or water use. Each site has a geospatial location (latitude and longitude), a recognized site type, a name, a geospatial category (point of diversion site or place of use boundary), and a specified water source(s).",
"operationId": "getSiteCollection",
"responses": {
"200": {
"$ref": "#/components/responses/Collection"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/sites/items": {
"get": {
"tags": ["Sites"],
"summary": "Site “items” within sites collections refers to an individual site geospatial record that is part of that collection accessible through the API, identified by a unique identifier.",
"description": "Sites are the state-based geospatial location data of either a granted water right or a historical time series record on water supply or water use. Each site has a geospatial location (latitude and longitude), a spatial representation of a feature, a recognized site type, a name, a geospatial category (point of diversion site or place of use boundary), and a specified water source(s).",
"operationId": "getWaterSites",
"parameters": [
{
"$ref": "#/components/parameters/limit"
},
{
"$ref": "#/components/parameters/bbox"
},
{
"name": "datetime",
"in": "query",
"description": "This parameter is not used on this endpoint and will be ignored!",
"required": false,
"schema": {
"type": "string"
},
"style": "form",
"explode": false
},
{
"$ref": "#/components/parameters/next"
},
{
"$ref": "#/components/parameters/siteUuids"
},
{
"$ref": "#/components/parameters/overlayUuids"
},
{
"$ref": "#/components/parameters/allocationUuids"
},
{
"$ref": "#/components/parameters/siteTypes"
},
{
"$ref": "#/components/parameters/states"
},
{
"$ref": "#/components/parameters/waterSourceTypes"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Features"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/sites/area": {
"get": {
"tags": ["Sites"],
"summary": "The “area” of a sites collections refer to the ability to search for specific sites items within a user described spatial feature (polygon or multipolygon) by using a well-known text (WKT) markup of a geometry object, written in decimal degrees using a world geodetic system 1984 (WGS84) coordinate reference frame.",
"description": "Sites are the state-based geospatial location data of either a granted water right or a historical time series record on water supply or water use. Each site has a geospatial location (latitude and longitude), a spatial representation of a feature, a recognized site type, a name, a geospatial category (point of diversion site or place of use boundary), and a specified water source(s).",
"operationId": "getWaterSitesInArea",
"parameters": [
{
"$ref": "#/components/parameters/limit"
},
{
"$ref": "#/components/parameters/coords"
},
{
"$ref": "#/components/parameters/next"
},
{
"$ref": "#/components/parameters/siteUuids"
},
{
"$ref": "#/components/parameters/overlayUuids"
},
{
"$ref": "#/components/parameters/allocationUuids"
},
{
"$ref": "#/components/parameters/siteTypes"
},
{
"$ref": "#/components/parameters/states"
},
{
"$ref": "#/components/parameters/waterSourceTypes"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Features"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/sites/items/{featureId}": {
"get": {
"tags": ["Sites"],
"summary": "The “siteUuid” of a sites item refers to the unique universal identifier assigned by the WaDE team to the individual site record, where each site has it’s own UUID value. For WaDE, siteUuid is a composite of state, identified data item type, and a state native id for a site if available.",
"description": "Sites are the state-based geospatial location data of either a granted water right or a historical time series record on water supply or water use. Each site has a geospatial location (latitude and longitude), a spatial representation of a feature, a recognized site type, a name, a geospatial category (point of diversion site or place of use boundary), and a specified water source(s).",
"operationId": "getWaterSite",
"parameters": [
{
"$ref": "#/components/parameters/featureId"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Feature"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/timeSeries": {
"get": {
"tags": ["Time Series"],
"summary": "Timeseries refer to state-based historical time series records on water supply (reservoir releases, streamgage flow, and groundwater level or pumping measurements) and water use (withdrawals related to an existing water right, and public-supply use related to geospatial areas) data.",
"description": "Timeseries refer to state-based historical time series records on water supply (reservoir releases, streamgage flow, and groundwater level or pumping measurements) and water use (withdrawals related to an existing water right, and public-supply use related to geospatial areas) data. Each timeseries has a measured value, a start and end time, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "getTimeSeriesCollections",
"responses": {
"200": {
"$ref": "#/components/responses/Collection"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/overlays/items/{featureId}": {
"get": {
"tags": ["Overlays"],
"summary": "Get a overlay feature",
"description": "TODO: feature.",
"operationId": "getOverlay",
"parameters": [
{
"$ref": "#/components/parameters/featureId"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Feature"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/rights/items/{featureId}": {
"get": {
"tags": ["Rights"],
"summary": "The “allocationUuid” of a rights item refers to the unique universal identifier assigned by the WaDE team to the individual water right record, where each water right has it’s own UUID value. For WaDE, allocationUuid is a composite of state, identified data item type, and a state native id for a site if available.",
"description": "Water rights refer to the state-granted rights to the use of public waters via public and private appropriations, permits, allocations, allotments, and reservations. Each water right can include the owner’s name, a limit on the flow rate or total quantity consumptively used, a priority date to determine seniority, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "getWaterRight",
"parameters": [
{
"$ref": "#/components/parameters/featureId"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Feature"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/timeSeries/items": {
"get": {
"tags": ["Time Series"],
"summary": "Timeseries “items” within timeseries collections refers to an individual timeseries record that is part of that collection accessible through the API, identified by a unique identifier.",
"description": "Timeseries refer to state-based historical time series records on water supply (reservoir releases, streamgage flow, and groundwater level or pumping measurements) and water use (withdrawals related to an existing water right, and public-supply use related to geospatial areas) data. Each timeseries has a measured value, a start and end time, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "searchTimeSeries",
"parameters": [
{
"$ref": "#/components/parameters/limit"
},
{
"$ref": "#/components/parameters/bbox"
},
{
"$ref": "#/components/parameters/next"
},
{
"$ref": "#/components/parameters/datetime"
},
{
"$ref": "#/components/parameters/siteUuids"
},
{
"$ref": "#/components/parameters/states"
},
{
"$ref": "#/components/parameters/waterSourceTypes"
},
{
"$ref": "#/components/parameters/variableTypes"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Features"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/timeSeries/area": {
"get": {
"tags": ["Time Series"],
"summary": "The “area” of a timeseries collections refer to the ability to search for specific sites items that relate to a timeseries within a user described spatial feature (polygon) by using a well-known text (WKT) markup of a geometry object, written in decimal degrees using a world geodetic system 1984 (WGS84) coordinate reference frame.",
"description": "Timeseries refer to state-based historical time series records on water supply (reservoir releases, streamgage flow, and groundwater level or pumping measurements) and water use (withdrawals related to an existing water right, and public-supply use related to geospatial areas) data. Each timeseries has a measured value, a start and end time, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "searchTimeSeriesInArea",
"parameters": [
{
"$ref": "#/components/parameters/limit"
},
{
"$ref": "#/components/parameters/coords"
},
{
"$ref": "#/components/parameters/next"
},
{
"$ref": "#/components/parameters/siteUuids"
},
{
"$ref": "#/components/parameters/states"
},
{
"$ref": "#/components/parameters/waterSourceTypes"
},
{
"$ref": "#/components/parameters/variableTypes"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Features"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
},
"/collections/timeSeries/items/{featureId}": {
"get": {
"tags": ["Time Series"],
"summary": "The “sitevariableamountsid” of a timeseries item refers to the unique row id, where each subsequent row is assigned the next identity value, which is equal to the last identity value plus the increment value.",
"description": "Timeseries refer to state-based historical time series records on water supply (reservoir releases, streamgage flow, and groundwater level or pumping measurements) and water use (withdrawals related to an existing water right, and public-supply use related to geospatial areas) data. Each timeseries has a measured value, a start and end time, a designated beneficial use(s) which may come from one or many specified water source(s), all referenced to a geospatial site location.",
"operationId": "getTimeSeries",
"parameters": [
{
"$ref": "#/components/parameters/featureId"
}
],
"responses": {
"200": {
"$ref": "#/components/responses/Feature"
},
"400": {
"$ref": "#/components/responses/InvalidParameter"
},
"404": {
"$ref": "#/components/responses/NotFound"
}
}
}
}
},
"components": {
"securitySchemes": {
"apiKeyAuth": {
"type": "apiKey",
"in": "query",
"name": "key"
}
},
"parameters": {
"allocationUuids": {
"name": "allocationUuids",
"in": "query",
"description": "Comma separated list of allocation Uuids",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"bbox": {
"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\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\nIf the value consists of four numbers, the coordinate reference system is\nWGS 84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84)\nunless a different coordinate reference system is specified in the parameter `bbox-crs`.\n\nIf the value consists of six numbers, the coordinate reference system is WGS 84\nlongitude/latitude/ellipsoidal height (http://www.opengis.net/def/crs/OGC/0/CRS84h)\nunless a different coordinate reference system is specified in the parameter `bbox-crs`.\n\nThe query parameter `bbox-crs` is specified in OGC API - Features - Part 2: Coordinate\nReference Systems by Reference.\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.",
"required": false,
"schema": {
"type": "array",
"minItems": 4,
"maxItems": 6,
"items": {
"type": "number"
}
},
"style": "form",
"explode": false
},
"beneficialUses": {
"name": "beneficialUses",
"in": "query",
"description": "Comma separated list of beneficial uses",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"coords": {
"name": "coords",
"in": "query",
"description": "Only data that has a geometry that intersects the area defined by the polygon are selected.\\n\\nThe polygon is defined using a Well Known Text string following\\n\\ncoords=POLYGON((x y,x1 y1,x2 y2,...,xn yn x y)).",
"required": true,
"schema": {
"type": "string"
}
},
"datetime": {
"name": "datetime",
"in": "query",
"description": "Either a date-time or an interval. Date and time expressions adhere to RFC 3339.\nIntervals may be bounded or half-bounded (double-dots at start or end).\n\nExamples:\n\n* A date-time: \"2018-02-12T23:20:50Z\"\n* A bounded interval: \"2018-02-12T00:00:00Z/2018-03-18T12:31:12Z\"\n* Half-bounded intervals: \"2018-02-12T00:00:00Z/..\" or \"../2018-03-18T12:31:12Z\"\n\nOnly features that have a temporal property that intersects the value of\n`datetime` are selected.",
"required": false,
"schema": {
"type": "string"
},
"style": "form",
"explode": false
},
"featureId": {
"name": "featureId",
"in": "path",
"description": "local identifier of a feature",
"required": true,
"schema": {
"type": "string"
}
},
"limit": {
"name": "limit",
"in": "query",
"description": "The optional limit parameter limits the number of items that are presented in the response document.\n\nOnly items are counted that are on the first level of the collection in the response document.\nNested objects contained within the explicitly requested items shall not be counted.\n\nMinimum = 1. Maximum = 1000. Default = 1000.",
"required": false,
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 1000
},
"style": "form",
"explode": false
},
"next": {
"name": "next",
"in": "query",
"description": "The optional next parameter is used to request the next page of items in a paginated response.\nThe value of the next parameter is the URL to the next page of items.",
"required": false,
"schema": {
"type": "string"
}
},
"ownerClassificationTypes": {
"name": "ownerClassificationTypes",
"in": "query",
"description": "Comma separated list of owner classification types",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"overlayTypes": {
"name": "overlayTypes",
"in": "query",
"description": "Comma separated list of overlay types",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"overlayUuids": {
"name": "overlayUuids",
"in": "query",
"description": "Comma separated list of overlay Uuids",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"siteTypes": {
"name": "siteTypes",
"in": "query",
"description": "Comma separated list of site types",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"siteUuids": {
"name": "siteUuids",
"in": "query",
"description": "Comma separated list of site Uuids",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"states": {
"name": "states",
"in": "query",
"description": "Comma separated list of state abbreviations",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"variableTypes": {
"name": "variableTypes",
"in": "query",
"description": "Comma separated list of variable types",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"waterSourceTypes": {
"name": "waterSourceTypes",
"in": "query",
"description": "Comma separated list of water source types",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"schemas": {
"collection": {
"type": "object",
"required": ["id", "links"],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string",
"example": "sites"
},
"title": {
"description": "human readable title of the collection",
"type": "string",
"example": "Water Sites"
},
"description": {
"description": "a description of the features in the collection",
"type": "string",
"example": "Water Sites Description"
},
"links": {
"type": "array",
"items": {
"$ref": "#/components/schemas/link"
}
},
"extent": {
"$ref": "#/components/schemas/extent"
},
"itemType": {
"description": "indicator about the type of the items in the collection (the default value is 'feature').",
"type": "string",
"default": "feature"
},
"crs": {
"description": "the list of coordinate reference systems supported by the service",
"type": "array",
"items": {
"type": "string"
},
"default": ["http://www.opengis.net/def/crs/OGC/1.3/CRS84"],
"example": ["http://www.opengis.net/def/crs/OGC/1.3/CRS84"]
}
}
},
"collections": {
"type": "object",
"required": ["links", "collections"],
"properties": {
"links": {
"type": "array",
"items": {
"$ref": "#/components/schemas/link"
}
},
"collections": {
"type": "array",
"items": {
"$ref": "#/components/schemas/collection"
}
}
}
},
"conformance": {
"type": "object",
"required": ["conformsTo"],
"properties": {
"conformsTo": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"error": {
"type": "object",
"properties": {
"type": {
"type": "string",
"format": "uri",
"description": "A URI reference that identifies the problem type."
},
"title": {
"type": "string",
"description": "A short, human-readable summary of the problem."
},
"status": {
"type": "integer",
"format": "int32",
"description": "The HTTP status code."
},
"detail": {
"type": "string",
"description": "A detailed explanation of the problem."
},
"errors": {
"type": "object",
"additionalProperties": true,
"description": "Additional key-value pairs with extended problem details."
}
}
},
"extent": {
"type": "object",
"description": "The extent of the features 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.",
"properties": {
"spatial": {
"description": "The spatial extent of the features in the collection.",
"type": "object",
"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* Upper right corner, coordinate axis 1\n* Upper right corner, coordinate axis 2\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.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"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 and add\nadditional enum values.",
"type": "string",
"enum": ["http://www.opengis.net/def/crs/OGC/1.3/CRS84"],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
}
}
},
"temporal": {
"description": "The temporal extent of the features in the collection.",
"type": "object",
"properties": {
"interval": {
"description": "One or more time intervals that describe the temporal extent of the dataset.\nThe value `null` is supported and indicates an unbounded interval end.\nIn the Core only a single time interval is supported. Extensions may support\nmultiple intervals. If multiple intervals are provided, the union of the\nintervals describes the temporal extent.",
"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",
"format": "date-time",
"nullable": true
},
"example": ["2011-11-11T12:22:11Z", null]
}
},
"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 and add\nadditional enum values.",
"type": "string",
"enum": ["http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
}
}
}
}
},
"featureCollectionGeoJSON": {
"type": "object",
"required": ["type", "features"],
"properties": {
"type": {
"type": "string",
"enum": ["FeatureCollection"]
},
"features": {
"type": "array",
"items": {
"$ref": "#/components/schemas/featureGeoJSON"
}
},
"links": {
"type": "array",
"items": {