-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi.yaml
5373 lines (5371 loc) · 204 KB
/
openapi.yaml
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: DigiVine API
description: REST/CRUD API for the Digivine data warehouse
version: '0.3'
contact:
name: DigiVine
url: 'https://www.digivine.org/'
email: [email protected]
servers:
- url: 'http://127.0.0.1/api/v0.3'
externalDocs:
description: RFC7946 - The GeoJSON format.
url: 'https://tools.ietf.org/html/rfc7946'
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: query
name: api-token
schemas:
Error:
type: object
properties:
code:
type: string
description: A uniquely identifiable code for the error message
example: FieldLibError
message:
type: string
description: The error message
example: 'could not connect to DB: could not connect to server: Connection refused'
required:
- code
- message
BBox:
type: array
minItems: 4
maxItems: 4
items:
type: number
description: |
This parameter contains information on the coordinate range for its Geometries, Features or FeatureCollections. It describes a bounding box for this. The coordinates are given in the decimal degrees unit. In the following it is described, which value of the array represents which coordinate:
- The most southwesterly point: Longitude
- The most southwesterly point: Latitude
- The most northeasterly point: Longitude
- The most northeasterly point: Latitude
externalDocs:
description: RFC7946 - The GeoJSON format
url: 'https://tools.ietf.org/html/rfc7946#section-5'
example:
- 8.01234567890123
- 49.0123456789012
- 8.12345678901234
- 49.1234567890123
BBoxWithHeight:
type: array
minItems: 6
maxItems: 6
items:
type: number
description: |
This parameter contains information on the coordinate range for its Geometries, Features or FeatureCollections. It describes a bounding box for this. The coordinates are given in the decimal degrees unit. The altitude is given in meter. In the following it is described, which value of the array represents which coordinate:
- The most southwesterly point: Longitude
- The most southwesterly point: Latitude
- The most southwesterly point: Altitude
- The most northeasterly point: Longitude
- The most northeasterly point: Latitude
- The most northeasterly point: Altitude
externalDocs:
description: RFC7946 - The GeoJSON format
url: 'https://tools.ietf.org/html/rfc7946#section-5'
example:
- 8.01234567890123
- 49.0123456789012
- 154.1
- 8.12345678901234
- 49.1234567890123
- 138.2
MultiPointWithHeight:
type: object
required:
- type
- coordinates
properties:
type:
type: string
enum:
- MultiPoint
bbox:
$ref: '#/components/schemas/BBoxWithHeight'
coordinates:
type: array
items:
type: array
minItems: 3
maxItems: 3
items:
type: number
description: |
An array of Points with its coordinates and altitudes, given in the decimal degrees unit. The altitude/height is given in meter. In the following it is described, which value of the array represents which coordinate:
- Longitude
- Latitude
- Altitude
externalDocs:
description: RFC7946 - The GeoJSON format
url: 'https://tools.ietf.org/html/rfc7946#section-3.1'
example:
- - 8.01234567890123
- 49.0123456789012
- 154.1
- - 8.12345678901234
- 49.1234567890123
- 138.2
Point:
type: object
required:
- type
- coordinates
properties:
type:
type: string
enum:
- Point
bbox:
$ref: '#/components/schemas/BBox'
coordinates:
type: array
minItems: 2
maxItems: 2
items:
type: number
description: |
A Point is described by its coordinate, given in the decimal degrees unit. In the following it is described, which value of the array represents which coordinate:
- Longitude
- Latitude
A example, given in the [RFC7946 - The GeoJSON format](https://tools.ietf.org/html/rfc7946#appendix-A.1)
externalDocs:
description: RFC7946 - The GeoJSON format
url: 'https://tools.ietf.org/html/rfc7946#section-3.1.2'
example:
- 8
- 49
PointWithHeight:
type: object
required:
- type
- coordinates
properties:
type:
type: string
enum:
- Point
bbox:
$ref: '#/components/schemas/BBoxWithHeight'
coordinates:
type: array
minItems: 3
maxItems: 3
items:
type: number
description: |
A Point with its height is described by its coordinate, given in the decimal degrees unit, and its altitude, given in meter. In the following it is described, which value of the array represents which coordinate:
- Longitude
- Latitude
- Altitude
externalDocs:
description: RFC7946 - The GeoJSON format
url: 'https://tools.ietf.org/html/rfc7946#section-3.1.2'
example:
- 8
- 49
- 168
Polygon:
type: object
required:
- type
- coordinates
properties:
type:
type: string
enum:
- Polygon
bbox:
$ref: '#/components/schemas/BBox'
coordinates:
type: array
items:
type: array
minItems: 4
items:
type: array
minItems: 2
maxItems: 2
items:
type: number
description: |
A Polygon is a surface specified by its vertices. The vertices are coordinates, given in the decimal degrees unit. Note the following:
- The surface vertices are given counterclockwise.
- Holes in the surface are given clockwise.
- The last and the first coordinates must be equal.
In the following it is described, which value of the innermost array represents which coordinate:
- Longitude
- Latitude
A example, given in the [RFC7946 - The GeoJSON format](https://tools.ietf.org/html/rfc7946#appendix-A.3)
externalDocs:
description: RFC7946 - The GeoJSON format
url: 'https://tools.ietf.org/html/rfc7946#section-3.1.6'
example:
- - - 8
- 49
- - 8.1
- 49
- - 8.1
- 49.1
- - 8
- 49.1
- - 8
- 49
- - - 8.08
- 49.08
- - 8.08
- 49.02
- - 8.02
- 49.02
- - 8.02
- 49.08
- - 8.08
- 49.08
MultiPolygon:
type: object
required:
- type
- coordinates
properties:
type:
type: string
enum:
- MultiPolygon
bbox:
$ref: '#/components/schemas/BBox'
coordinates:
type: array
items:
type: array
items:
type: array
items:
type: array
minItems: 2
maxItems: 2
items:
type: number
description: |
A Polygon is a surface specified by its vertices. The vertices are coordinates, given in the decimal degrees unit. Note the following:
- The surface vertices are given counterclockwise.
- Holes in the surface are given clockwise.
- The last and the first coordinates must be equal.
In the following it is described, which value of the innermost array represents which coordinate:
- Longitude
- Latitude
The outermost array includes the various Polygons.
A example, given in the [RFC7946 - The GeoJSON format](https://tools.ietf.org/html/rfc7946#appendix-A.6)
externalDocs:
description: RFC7946 - The GeoJSON format
url: 'https://tools.ietf.org/html/rfc7946#section-3.1.7'
example:
- - - - 8
- 49
- - 8.1
- 49
- - 8.1
- 49.1
- - 8
- 49.1
- - 8
- 49
- - - - 8
- 49
- - 8.1
- 49
- - 8.1
- 49.1
- - 8
- 49.1
- - 8
- 49
- - - 8.08
- 49.08
- - 8.08
- 49.02
- - 8.02
- 49.02
- - 8.02
- 49.08
- - 8.08
- 49.08
Plant:
type: object
required:
- type
- geometry
- properties
properties:
type:
type: string
enum:
- Feature
geometry:
$ref: '#/components/schemas/Point'
properties:
type: object
required:
- import_key
- timestamp
- height
- deviation
- speed
- plant_distance
- row_distance
- row_number
properties:
id:
type: integer
format: int64
description: The numeric ID of the Plant
example: 4711
import_key:
type: string
description: Internal key to facilitate error tracing
example: 1-example_feld1
timestamp:
type: string
format: date-time
description: 'Timestamp when this plant was planted, given in the format YYYY-MM-DDThh:mm:ss.sssZ (where Y,M,D,h,m,s are variables for the time).'
externalDocs:
description: RFC3339 - Date and Time on the Internet - Timestamps
url: 'https://tools.ietf.org/html/rfc3339'
example: 1970-01-01T00:00:00.000Z
height:
type: number
description: 'Height above sea level, measured in millimeters'
externalDocs:
description: RFC7946 - The GeoJSON format.
url: 'https://tools.ietf.org/html/rfc7946'
example: 123000
deviation:
type: number
example: 12.3456789012345
speed:
type: number
description: Planting speed measured in km/h
example: 1.23456789012345
plant_distance:
type: number
description: 'Distance between two Plants in a row, measured in millimeters'
example: 1000
row_distance:
type: number
description: 'Distance between two rows, measured in millimeters'
example: 2000
row_number:
type: integer
format: int32
description: Number of the row of the Plant
example: 2
PlantPatch:
type: object
properties:
import_key:
type: string
description: Internal key to facilitate error tracing
example: 1-example_feld1
timestamp:
type: string
format: date-time
description: 'Timestamp when this plant was planted, given in the format YYYY-MM-DDThh:mm:ss.sssZ (where Y,M,D,h,m,s are variables for the time).'
externalDocs:
description: RFC3339 - Date and Time on the Internet - Timestamps
url: 'https://tools.ietf.org/html/rfc3339'
example: 1970-01-01T00:00:00.000Z
height:
type: number
description: 'Height above sea level, measured in millimeters'
externalDocs:
description: RFC7946 - The GeoJSON format.
url: 'https://tools.ietf.org/html/rfc7946'
example: 123000
deviation:
type: number
example: 12.3456789012345
speed:
type: number
description: Planting speed measured in km/h
example: 1.23456789012345
plant_distance:
type: number
description: 'Distance between two Plants in a row, measured in millimeters'
example: 1000
row_distance:
type: number
description: 'Distance between two rows, measured in millimeters'
example: 2000
row_number:
type: integer
format: int32
description: Number of the row of the Plant
example: 2
PlanterRun:
type: object
required:
- type
- features
- properties
properties:
type:
type: string
enum:
- FeatureCollection
features:
type: array
items:
$ref: '#/components/schemas/Plant'
description: An array containing the planted Plants of this Planter Run.
bbox:
$ref: '#/components/schemas/BBox'
properties:
type: object
required:
- user_id
- terminal_id
- field_id
properties:
id:
type: integer
format: int64
description: The numeric ID of the Planter Run
example: 4711
user_id:
type: integer
format: int64
description: The numeric ID of the User who planted
example: 815
terminal_id:
type: integer
format: int64
description: The numeric ID of the Terminal of the Machine that planted
example: 42
field_id:
type: integer
format: int64
description: The numeric ID of the Field on which the Planter Run is performed.
example: 4711
Field:
type: object
required:
- type
- features
- properties
- planter_runs
properties:
type:
type: string
enum:
- Feature
geometry:
$ref: '#/components/schemas/MultiPolygon'
planter_runs:
type: array
items:
$ref: '#/components/schemas/PlanterRun'
description: An array with data on planting
properties:
type: object
properties:
id:
type: integer
format: int64
description: The numeric ID of the field
example: 4711
name:
type: string
description: Field location
example: Dürkheimer Michelsberg
station_id:
type: integer
format: int64
description: The numeric ID of the station that makes Forecasts for a group of Fields.
example: 4711
historical_station_id:
type: integer
format: int32
description: The numeric ID of the historical weather station associated with the fields.
example: 4711
number:
type: string
description: The Number of the Field (not the ID)
example: 471/1
size:
type: number
format: double
description: Size of the Field given in square meters
example: 47.11
fruit_name:
type: string
description: Name of the fruit on this Field
example: Riesling
FieldPatch:
type: object
properties:
name:
type: string
description: Field location
example: Dürkheimer Michelsberg
station_id:
type: integer
format: int64
description: The numeric ID of the station that makes Forecasts for a group of Fields.
example: 4711
historical_station_id:
type: integer
format: int32
description: The numeric ID of the historical weather station associated with the fields.
example: 4711
number:
type: string
description: The Number of the Field (not the ID)
example: 471/1
size:
type: number
format: double
description: Size of the Field given in square meters
example: 47.11
fruit_name:
type: string
description: Name of the fruit on this Field
example: Riesling
Forecast:
type: object
required:
- group_id
- station_id
- station
- field_ids
- model_id
- model
- query_timestamp
- time_span_start
- time_span_end
- measurement_rate
- measurements
properties:
id:
type: integer
format: int64
description: The numeric ID of the Forecast
example: 4711
group_id:
type: integer
format: int64
description: Notice. This information will soon no longer be used and sent along!
example: 1
station_id:
type: integer
format: int64
description: The numeric ID of the station that makes Forecasts for a group of Fields.
example: 4711
station:
type: string
description: Name of the measuring station
example: Bad Dürkheim
field_ids:
type: array
items:
type: integer
format: int64
description: An array containing the IDs of the Fields for which the Forecast is.
example:
- 4711
- 815
model_id:
type: integer
format: int64
description: The numeric ID of the model
example: 17
model:
type: string
description: Name of the model
example: Traubenwickler
query_timestamp:
type: string
format: date-time
description: 'Time of retrieval of the data from an external source, given in the format YYYY-MM-DDThh:mm:ss.sssZ (where Y,M,D,h,m,s are variables for the time).'
externalDocs:
description: RFC3339 - Date and Time on the Internet - Timestamps
url: 'https://tools.ietf.org/html/rfc3339'
example: '1970-01-01T00:00:00.000Z'
time_span_start:
type: string
format: date
description: 'Start time of the measurement, given in the format YYYY-MM-DDThh:mm:ssZ (where Y,M,D,h,m,s are variables for the time).'
externalDocs:
description: RFC3339 - Date and Time on the Internet - Timestamps
url: 'https://tools.ietf.org/html/rfc3339'
example: '2000-01-01T00:00:00Z'
time_span_end:
type: string
format: date
description: 'End time of the measurement, given in the format YYYY-MM-DDThh:mm:ssZ (where Y,M,D,h,m,s are variables for the time).'
externalDocs:
description: RFC3339 - Date and Time on the Internet - Timestamps
url: 'https://tools.ietf.org/html/rfc3339'
example: '2000-12-31T23:59:59Z'
measurement_rate:
type: string
enum:
- Daily
description: Rate of the measurement
example: Daily
measurements:
type: array
items:
$ref: '#/components/schemas/ForecastMeasurement'
description: An array of measurements
ForecastMeasurement:
type: object
required:
- time
- values
properties:
id:
type: integer
format: int64
description: The numeric ID of the Measurement
example: 4711
time:
type: string
format: date-time
description: 'Time of measurement, given in the format YYYY-MM-DDThh:mm:ssZ (where Y,M,D,h,m,s are variables for the time).'
externalDocs:
description: RFC3339 - Date and Time on the Internet - Timestamps
url: 'https://tools.ietf.org/html/rfc3339'
example: '1970-01-01T00:00:00Z'
values:
type: object
description: An object containing the values of the measurement.
QualityMeasurement:
type: object
required:
- id
- type
- geometry
- properties
properties:
type:
type: string
enum:
- Feature
geometry:
$ref: '#/components/schemas/Point'
properties:
type: object
required:
- plant_id
- timestamp
- device
- measurement_uuid
- tartaric_aid
- malic_acid
- fructose
- glucose
properties:
id:
type: integer
format: int64
description: The numeric ID of the Quality Measurement
example: 4711
plant_id:
type: integer
format: int64
description: The numeric ID of the Plant
example: 815
timestamp:
type: string
format: date-time
description: 'Timestamp when the Measurement was taken, given in the format YYYY-MM-DDThh:mm:ss.sssZ (where Y,M,D,h,m,s are variables for the time).'
externalDocs:
description: 'RFC3339 - Date and Time on the Internet: Timestamps'
url: 'https://tools.ietf.org/html/rfc3339'
example: 1970-01-01T00:00:00.000Z
device:
type: string
description: 'Device id, needed for e.g. assigning the device to a customer/user'
example: device
measurement_uuid:
type: string
format: uuid
description: A Universally Unique IDentifier (UUID) of the Measurement
externalDocs:
description: RFC4122 - A Universally Unique IDentifier (UUID) URN Namespace
url: 'https://tools.ietf.org/html/rfc4122'
example: 550e8400-e29b-11d4-a716-446655440000
tartaric_acid:
type: number
format: double
description: 'The tartaric acid concentration, measured in g/L'
example: 12.143932980502946
malic_acid:
type: number
format: double
description: 'The malic acid concentration, measured in g/L'
example: 18.116626216683184
fructose:
type: number
format: double
description: 'The fructose concentration, measured in g/L'
example: 11.82997665663333
glucose:
type: number
format: double
description: 'The glucose concentration, measured in g/L'
example: 4.567645886934765
Terrain:
type: object
required:
- id
- type
- geometry
- properties
properties:
id:
type: integer
format: int64
type:
type: string
enum:
- Feature
geometry:
$ref: '#/components/schemas/MultiPointWithHeight'
properties:
type: object
required:
- description
properties:
description:
type: string
field_id:
type: integer
format: int64
HarvestTask:
type: object
required:
- type
- geometry
- properties
properties:
type:
type: string
enum:
- Feature
geometry:
$ref: '#/components/schemas/Polygon'
properties:
type: object
required:
- task_id
- task_name
- customer_name
- fruit_group_name
- fruit_name
- plain_name
- plain_size
properties:
task_id:
type: integer
format: int64
description: The numeric ID of the Harvest Task
example: 4711
task_name:
type: string
description: Name of the task
example: Ernte
customer_name:
type: string
description: Name of the customer
example: Julius Kühn-Institut
farm_name:
type: string
description: Name of the farm
example: Geilweilerhof
fruit_group_name:
type: string
description: Name of the fruit group
example: Traube
fruit_name:
type: string
description: Name of the specific fruit
example: Riesling
plain_name:
type: string
description: Name of the plains
example: Auf dem Weinberg
plain_size:
type: integer
format: int64
description: Size of the plains in square meter
example: 7668
yield_total_mass:
type: integer
format: int64
description: The mass of the harvest yield in kilogram
example: 7568
total_area:
type: integer
format: int64
description: The total area of the harvest task in square meter
example: 5874
effective_total_distance:
type: integer
format: int64
description: The effective distance travelled by the harvester in meter
example: 2580
effective_total_time:
type: integer
format: int64
description: The effective total time of the harvesting run in minutes
example: 95
Harvest:
type: object
required:
- type
- features
- properties
properties:
type:
type: string
enum:
- FeatureCollection
features:
type: array
items:
$ref: '#/components/schemas/HarvestMeasurement'
description: An array containing the measurements taken during the harvest task.
properties:
type: object
required:
- task_id
- task_name
- customer_name
- fruit_group_name
- fruit_name
- plain_name
- plain_size
properties:
task_id:
type: integer
format: int64
description: The numeric ID of the Harvest Task
example: 4711
task_name:
type: string
description: Name of the task
example: Ernte
customer_name:
type: string
description: Name of the customer
example: Julius Kühn-Institut
farm_name:
type: string
description: Name of the farm
example: Geilweilerhof
fruit_group_name:
type: string
description: Name of the fruit group
example: Traube
fruit_name:
type: string
description: Name of the specific fruit
example: Riesling
plain_name:
type: string
description: Name of the plains
example: Auf dem Weinberg
plain_size:
type: integer
format: int64
description: Size of the plains in square meter
example: 7668
yield_total_mass:
type: integer
format: int64
description: The mass of the harvest yield in kilogram
example: 7568
total_area:
type: integer
format: int64
description: The total area of the harvest task in square meter
example: 5874
effective_total_distance:
type: integer
format: int64
description: The effective distance travelled by the harvester in meter
example: 2580
effective_total_time:
type: integer
format: int64
description: The effective total time of the harvesting run in minutes
example: 95
average_tartaric_acid:
type: integer
format: int64
description: Average tartaric acid content of the harvested fruits in g/L
example: 23
average_malic_acid:
type: integer
format: int64
description: Average malic acid content of the harvested fruits in g/L
example: 23
average_glucose:
type: integer
format: int64
description: Average glucose content of the harvested fruits in g/L
example: 7
average_fructose:
type: integer
format: int64
description: Average fructose content of the harvested fruits in g/L
example: 7
HarvestOrTask:
type: object
required:
- type
- properties
properties:
type:
type: string
enum:
- FeatureCollection
- Feature
features:
type: array
items:
$ref: '#/components/schemas/HarvestMeasurement'
description: An array containing the measurements taken during the harvest task.
geometry:
$ref: '#/components/schemas/Polygon'
properties:
type: object
required:
- task_id
- task_name
- customer_name
- fruit_group_name
- fruit_name
- plain_name
- plain_size
properties:
task_id:
type: integer
format: int64
description: The numeric ID of the Harvest Task
example: 4711
task_name:
type: string
description: Name of the task
example: Ernte
customer_name:
type: string
description: Name of the customer
example: Julius Kühn-Institut
farm_name:
type: string
description: Name of the farm
example: Geilweilerhof
fruit_group_name:
type: string
description: Name of the fruit group
example: Traube
fruit_name:
type: string
description: Name of the specific fruit
example: Riesling
plain_name:
type: string
description: Name of the plains
example: Auf dem Weinberg
plain_size:
type: integer
format: int64
description: Size of the plains in square meter
example: 7668
yield_total_mass:
type: integer
format: int64
description: The mass of the harvest yield in kilogram
example: 7568
total_area:
type: integer