@pdtf/schemas 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1279 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://geojson.org/schema/GeoJSON.json",
4
+ "title": "GeoJSON",
5
+ "oneOf": [
6
+ {
7
+ "title": "GeoJSON Point",
8
+ "type": "object",
9
+ "required": ["type", "coordinates"],
10
+ "properties": {
11
+ "type": {
12
+ "type": "string",
13
+ "enum": ["Point"]
14
+ },
15
+ "coordinates": {
16
+ "type": "array",
17
+ "minItems": 2,
18
+ "items": {
19
+ "type": "number"
20
+ }
21
+ },
22
+ "bbox": {
23
+ "type": "array",
24
+ "minItems": 4,
25
+ "items": {
26
+ "type": "number"
27
+ }
28
+ }
29
+ }
30
+ },
31
+ {
32
+ "title": "GeoJSON LineString",
33
+ "type": "object",
34
+ "required": ["type", "coordinates"],
35
+ "properties": {
36
+ "type": {
37
+ "type": "string",
38
+ "enum": ["LineString"]
39
+ },
40
+ "coordinates": {
41
+ "type": "array",
42
+ "minItems": 2,
43
+ "items": {
44
+ "type": "array",
45
+ "minItems": 2,
46
+ "items": {
47
+ "type": "number"
48
+ }
49
+ }
50
+ },
51
+ "bbox": {
52
+ "type": "array",
53
+ "minItems": 4,
54
+ "items": {
55
+ "type": "number"
56
+ }
57
+ }
58
+ }
59
+ },
60
+ {
61
+ "title": "GeoJSON Polygon",
62
+ "type": "object",
63
+ "required": ["type", "coordinates"],
64
+ "properties": {
65
+ "type": {
66
+ "type": "string",
67
+ "enum": ["Polygon"]
68
+ },
69
+ "coordinates": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "array",
73
+ "minItems": 4,
74
+ "items": {
75
+ "type": "array",
76
+ "minItems": 2,
77
+ "items": {
78
+ "type": "number"
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "bbox": {
84
+ "type": "array",
85
+ "minItems": 4,
86
+ "items": {
87
+ "type": "number"
88
+ }
89
+ }
90
+ }
91
+ },
92
+ {
93
+ "title": "GeoJSON MultiPoint",
94
+ "type": "object",
95
+ "required": ["type", "coordinates"],
96
+ "properties": {
97
+ "type": {
98
+ "type": "string",
99
+ "enum": ["MultiPoint"]
100
+ },
101
+ "coordinates": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "array",
105
+ "minItems": 2,
106
+ "items": {
107
+ "type": "number"
108
+ }
109
+ }
110
+ },
111
+ "bbox": {
112
+ "type": "array",
113
+ "minItems": 4,
114
+ "items": {
115
+ "type": "number"
116
+ }
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "title": "GeoJSON MultiLineString",
122
+ "type": "object",
123
+ "required": ["type", "coordinates"],
124
+ "properties": {
125
+ "type": {
126
+ "type": "string",
127
+ "enum": ["MultiLineString"]
128
+ },
129
+ "coordinates": {
130
+ "type": "array",
131
+ "items": {
132
+ "type": "array",
133
+ "minItems": 2,
134
+ "items": {
135
+ "type": "array",
136
+ "minItems": 2,
137
+ "items": {
138
+ "type": "number"
139
+ }
140
+ }
141
+ }
142
+ },
143
+ "bbox": {
144
+ "type": "array",
145
+ "minItems": 4,
146
+ "items": {
147
+ "type": "number"
148
+ }
149
+ }
150
+ }
151
+ },
152
+ {
153
+ "title": "GeoJSON MultiPolygon",
154
+ "type": "object",
155
+ "required": ["type", "coordinates"],
156
+ "properties": {
157
+ "type": {
158
+ "type": "string",
159
+ "enum": ["MultiPolygon"]
160
+ },
161
+ "coordinates": {
162
+ "type": "array",
163
+ "items": {
164
+ "type": "array",
165
+ "items": {
166
+ "type": "array",
167
+ "minItems": 4,
168
+ "items": {
169
+ "type": "array",
170
+ "minItems": 2,
171
+ "items": {
172
+ "type": "number"
173
+ }
174
+ }
175
+ }
176
+ }
177
+ },
178
+ "bbox": {
179
+ "type": "array",
180
+ "minItems": 4,
181
+ "items": {
182
+ "type": "number"
183
+ }
184
+ }
185
+ }
186
+ },
187
+ {
188
+ "title": "GeoJSON GeometryCollection",
189
+ "type": "object",
190
+ "required": ["type", "geometries"],
191
+ "properties": {
192
+ "type": {
193
+ "type": "string",
194
+ "enum": ["GeometryCollection"]
195
+ },
196
+ "geometries": {
197
+ "type": "array",
198
+ "items": {
199
+ "oneOf": [
200
+ {
201
+ "title": "GeoJSON Point",
202
+ "type": "object",
203
+ "required": ["type", "coordinates"],
204
+ "properties": {
205
+ "type": {
206
+ "type": "string",
207
+ "enum": ["Point"]
208
+ },
209
+ "coordinates": {
210
+ "type": "array",
211
+ "minItems": 2,
212
+ "items": {
213
+ "type": "number"
214
+ }
215
+ },
216
+ "bbox": {
217
+ "type": "array",
218
+ "minItems": 4,
219
+ "items": {
220
+ "type": "number"
221
+ }
222
+ }
223
+ }
224
+ },
225
+ {
226
+ "title": "GeoJSON LineString",
227
+ "type": "object",
228
+ "required": ["type", "coordinates"],
229
+ "properties": {
230
+ "type": {
231
+ "type": "string",
232
+ "enum": ["LineString"]
233
+ },
234
+ "coordinates": {
235
+ "type": "array",
236
+ "minItems": 2,
237
+ "items": {
238
+ "type": "array",
239
+ "minItems": 2,
240
+ "items": {
241
+ "type": "number"
242
+ }
243
+ }
244
+ },
245
+ "bbox": {
246
+ "type": "array",
247
+ "minItems": 4,
248
+ "items": {
249
+ "type": "number"
250
+ }
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "title": "GeoJSON Polygon",
256
+ "type": "object",
257
+ "required": ["type", "coordinates"],
258
+ "properties": {
259
+ "type": {
260
+ "type": "string",
261
+ "enum": ["Polygon"]
262
+ },
263
+ "coordinates": {
264
+ "type": "array",
265
+ "items": {
266
+ "type": "array",
267
+ "minItems": 4,
268
+ "items": {
269
+ "type": "array",
270
+ "minItems": 2,
271
+ "items": {
272
+ "type": "number"
273
+ }
274
+ }
275
+ }
276
+ },
277
+ "bbox": {
278
+ "type": "array",
279
+ "minItems": 4,
280
+ "items": {
281
+ "type": "number"
282
+ }
283
+ }
284
+ }
285
+ },
286
+ {
287
+ "title": "GeoJSON MultiPoint",
288
+ "type": "object",
289
+ "required": ["type", "coordinates"],
290
+ "properties": {
291
+ "type": {
292
+ "type": "string",
293
+ "enum": ["MultiPoint"]
294
+ },
295
+ "coordinates": {
296
+ "type": "array",
297
+ "items": {
298
+ "type": "array",
299
+ "minItems": 2,
300
+ "items": {
301
+ "type": "number"
302
+ }
303
+ }
304
+ },
305
+ "bbox": {
306
+ "type": "array",
307
+ "minItems": 4,
308
+ "items": {
309
+ "type": "number"
310
+ }
311
+ }
312
+ }
313
+ },
314
+ {
315
+ "title": "GeoJSON MultiLineString",
316
+ "type": "object",
317
+ "required": ["type", "coordinates"],
318
+ "properties": {
319
+ "type": {
320
+ "type": "string",
321
+ "enum": ["MultiLineString"]
322
+ },
323
+ "coordinates": {
324
+ "type": "array",
325
+ "items": {
326
+ "type": "array",
327
+ "minItems": 2,
328
+ "items": {
329
+ "type": "array",
330
+ "minItems": 2,
331
+ "items": {
332
+ "type": "number"
333
+ }
334
+ }
335
+ }
336
+ },
337
+ "bbox": {
338
+ "type": "array",
339
+ "minItems": 4,
340
+ "items": {
341
+ "type": "number"
342
+ }
343
+ }
344
+ }
345
+ },
346
+ {
347
+ "title": "GeoJSON MultiPolygon",
348
+ "type": "object",
349
+ "required": ["type", "coordinates"],
350
+ "properties": {
351
+ "type": {
352
+ "type": "string",
353
+ "enum": ["MultiPolygon"]
354
+ },
355
+ "coordinates": {
356
+ "type": "array",
357
+ "items": {
358
+ "type": "array",
359
+ "items": {
360
+ "type": "array",
361
+ "minItems": 4,
362
+ "items": {
363
+ "type": "array",
364
+ "minItems": 2,
365
+ "items": {
366
+ "type": "number"
367
+ }
368
+ }
369
+ }
370
+ }
371
+ },
372
+ "bbox": {
373
+ "type": "array",
374
+ "minItems": 4,
375
+ "items": {
376
+ "type": "number"
377
+ }
378
+ }
379
+ }
380
+ }
381
+ ]
382
+ }
383
+ },
384
+ "bbox": {
385
+ "type": "array",
386
+ "minItems": 4,
387
+ "items": {
388
+ "type": "number"
389
+ }
390
+ }
391
+ }
392
+ },
393
+ {
394
+ "title": "GeoJSON Feature",
395
+ "type": "object",
396
+ "required": ["type", "properties", "geometry"],
397
+ "properties": {
398
+ "type": {
399
+ "type": "string",
400
+ "enum": ["Feature"]
401
+ },
402
+ "id": {
403
+ "oneOf": [
404
+ {
405
+ "type": "number"
406
+ },
407
+ {
408
+ "type": "string"
409
+ }
410
+ ]
411
+ },
412
+ "properties": {
413
+ "oneOf": [
414
+ {
415
+ "type": "null"
416
+ },
417
+ {
418
+ "type": "object"
419
+ }
420
+ ]
421
+ },
422
+ "geometry": {
423
+ "oneOf": [
424
+ {
425
+ "type": "null"
426
+ },
427
+ {
428
+ "title": "GeoJSON Point",
429
+ "type": "object",
430
+ "required": ["type", "coordinates"],
431
+ "properties": {
432
+ "type": {
433
+ "type": "string",
434
+ "enum": ["Point"]
435
+ },
436
+ "coordinates": {
437
+ "type": "array",
438
+ "minItems": 2,
439
+ "items": {
440
+ "type": "number"
441
+ }
442
+ },
443
+ "bbox": {
444
+ "type": "array",
445
+ "minItems": 4,
446
+ "items": {
447
+ "type": "number"
448
+ }
449
+ }
450
+ }
451
+ },
452
+ {
453
+ "title": "GeoJSON LineString",
454
+ "type": "object",
455
+ "required": ["type", "coordinates"],
456
+ "properties": {
457
+ "type": {
458
+ "type": "string",
459
+ "enum": ["LineString"]
460
+ },
461
+ "coordinates": {
462
+ "type": "array",
463
+ "minItems": 2,
464
+ "items": {
465
+ "type": "array",
466
+ "minItems": 2,
467
+ "items": {
468
+ "type": "number"
469
+ }
470
+ }
471
+ },
472
+ "bbox": {
473
+ "type": "array",
474
+ "minItems": 4,
475
+ "items": {
476
+ "type": "number"
477
+ }
478
+ }
479
+ }
480
+ },
481
+ {
482
+ "title": "GeoJSON Polygon",
483
+ "type": "object",
484
+ "required": ["type", "coordinates"],
485
+ "properties": {
486
+ "type": {
487
+ "type": "string",
488
+ "enum": ["Polygon"]
489
+ },
490
+ "coordinates": {
491
+ "type": "array",
492
+ "items": {
493
+ "type": "array",
494
+ "minItems": 4,
495
+ "items": {
496
+ "type": "array",
497
+ "minItems": 2,
498
+ "items": {
499
+ "type": "number"
500
+ }
501
+ }
502
+ }
503
+ },
504
+ "bbox": {
505
+ "type": "array",
506
+ "minItems": 4,
507
+ "items": {
508
+ "type": "number"
509
+ }
510
+ }
511
+ }
512
+ },
513
+ {
514
+ "title": "GeoJSON MultiPoint",
515
+ "type": "object",
516
+ "required": ["type", "coordinates"],
517
+ "properties": {
518
+ "type": {
519
+ "type": "string",
520
+ "enum": ["MultiPoint"]
521
+ },
522
+ "coordinates": {
523
+ "type": "array",
524
+ "items": {
525
+ "type": "array",
526
+ "minItems": 2,
527
+ "items": {
528
+ "type": "number"
529
+ }
530
+ }
531
+ },
532
+ "bbox": {
533
+ "type": "array",
534
+ "minItems": 4,
535
+ "items": {
536
+ "type": "number"
537
+ }
538
+ }
539
+ }
540
+ },
541
+ {
542
+ "title": "GeoJSON MultiLineString",
543
+ "type": "object",
544
+ "required": ["type", "coordinates"],
545
+ "properties": {
546
+ "type": {
547
+ "type": "string",
548
+ "enum": ["MultiLineString"]
549
+ },
550
+ "coordinates": {
551
+ "type": "array",
552
+ "items": {
553
+ "type": "array",
554
+ "minItems": 2,
555
+ "items": {
556
+ "type": "array",
557
+ "minItems": 2,
558
+ "items": {
559
+ "type": "number"
560
+ }
561
+ }
562
+ }
563
+ },
564
+ "bbox": {
565
+ "type": "array",
566
+ "minItems": 4,
567
+ "items": {
568
+ "type": "number"
569
+ }
570
+ }
571
+ }
572
+ },
573
+ {
574
+ "title": "GeoJSON MultiPolygon",
575
+ "type": "object",
576
+ "required": ["type", "coordinates"],
577
+ "properties": {
578
+ "type": {
579
+ "type": "string",
580
+ "enum": ["MultiPolygon"]
581
+ },
582
+ "coordinates": {
583
+ "type": "array",
584
+ "items": {
585
+ "type": "array",
586
+ "items": {
587
+ "type": "array",
588
+ "minItems": 4,
589
+ "items": {
590
+ "type": "array",
591
+ "minItems": 2,
592
+ "items": {
593
+ "type": "number"
594
+ }
595
+ }
596
+ }
597
+ }
598
+ },
599
+ "bbox": {
600
+ "type": "array",
601
+ "minItems": 4,
602
+ "items": {
603
+ "type": "number"
604
+ }
605
+ }
606
+ }
607
+ },
608
+ {
609
+ "title": "GeoJSON GeometryCollection",
610
+ "type": "object",
611
+ "required": ["type", "geometries"],
612
+ "properties": {
613
+ "type": {
614
+ "type": "string",
615
+ "enum": ["GeometryCollection"]
616
+ },
617
+ "geometries": {
618
+ "type": "array",
619
+ "items": {
620
+ "oneOf": [
621
+ {
622
+ "title": "GeoJSON Point",
623
+ "type": "object",
624
+ "required": ["type", "coordinates"],
625
+ "properties": {
626
+ "type": {
627
+ "type": "string",
628
+ "enum": ["Point"]
629
+ },
630
+ "coordinates": {
631
+ "type": "array",
632
+ "minItems": 2,
633
+ "items": {
634
+ "type": "number"
635
+ }
636
+ },
637
+ "bbox": {
638
+ "type": "array",
639
+ "minItems": 4,
640
+ "items": {
641
+ "type": "number"
642
+ }
643
+ }
644
+ }
645
+ },
646
+ {
647
+ "title": "GeoJSON LineString",
648
+ "type": "object",
649
+ "required": ["type", "coordinates"],
650
+ "properties": {
651
+ "type": {
652
+ "type": "string",
653
+ "enum": ["LineString"]
654
+ },
655
+ "coordinates": {
656
+ "type": "array",
657
+ "minItems": 2,
658
+ "items": {
659
+ "type": "array",
660
+ "minItems": 2,
661
+ "items": {
662
+ "type": "number"
663
+ }
664
+ }
665
+ },
666
+ "bbox": {
667
+ "type": "array",
668
+ "minItems": 4,
669
+ "items": {
670
+ "type": "number"
671
+ }
672
+ }
673
+ }
674
+ },
675
+ {
676
+ "title": "GeoJSON Polygon",
677
+ "type": "object",
678
+ "required": ["type", "coordinates"],
679
+ "properties": {
680
+ "type": {
681
+ "type": "string",
682
+ "enum": ["Polygon"]
683
+ },
684
+ "coordinates": {
685
+ "type": "array",
686
+ "items": {
687
+ "type": "array",
688
+ "minItems": 4,
689
+ "items": {
690
+ "type": "array",
691
+ "minItems": 2,
692
+ "items": {
693
+ "type": "number"
694
+ }
695
+ }
696
+ }
697
+ },
698
+ "bbox": {
699
+ "type": "array",
700
+ "minItems": 4,
701
+ "items": {
702
+ "type": "number"
703
+ }
704
+ }
705
+ }
706
+ },
707
+ {
708
+ "title": "GeoJSON MultiPoint",
709
+ "type": "object",
710
+ "required": ["type", "coordinates"],
711
+ "properties": {
712
+ "type": {
713
+ "type": "string",
714
+ "enum": ["MultiPoint"]
715
+ },
716
+ "coordinates": {
717
+ "type": "array",
718
+ "items": {
719
+ "type": "array",
720
+ "minItems": 2,
721
+ "items": {
722
+ "type": "number"
723
+ }
724
+ }
725
+ },
726
+ "bbox": {
727
+ "type": "array",
728
+ "minItems": 4,
729
+ "items": {
730
+ "type": "number"
731
+ }
732
+ }
733
+ }
734
+ },
735
+ {
736
+ "title": "GeoJSON MultiLineString",
737
+ "type": "object",
738
+ "required": ["type", "coordinates"],
739
+ "properties": {
740
+ "type": {
741
+ "type": "string",
742
+ "enum": ["MultiLineString"]
743
+ },
744
+ "coordinates": {
745
+ "type": "array",
746
+ "items": {
747
+ "type": "array",
748
+ "minItems": 2,
749
+ "items": {
750
+ "type": "array",
751
+ "minItems": 2,
752
+ "items": {
753
+ "type": "number"
754
+ }
755
+ }
756
+ }
757
+ },
758
+ "bbox": {
759
+ "type": "array",
760
+ "minItems": 4,
761
+ "items": {
762
+ "type": "number"
763
+ }
764
+ }
765
+ }
766
+ },
767
+ {
768
+ "title": "GeoJSON MultiPolygon",
769
+ "type": "object",
770
+ "required": ["type", "coordinates"],
771
+ "properties": {
772
+ "type": {
773
+ "type": "string",
774
+ "enum": ["MultiPolygon"]
775
+ },
776
+ "coordinates": {
777
+ "type": "array",
778
+ "items": {
779
+ "type": "array",
780
+ "items": {
781
+ "type": "array",
782
+ "minItems": 4,
783
+ "items": {
784
+ "type": "array",
785
+ "minItems": 2,
786
+ "items": {
787
+ "type": "number"
788
+ }
789
+ }
790
+ }
791
+ }
792
+ },
793
+ "bbox": {
794
+ "type": "array",
795
+ "minItems": 4,
796
+ "items": {
797
+ "type": "number"
798
+ }
799
+ }
800
+ }
801
+ }
802
+ ]
803
+ }
804
+ },
805
+ "bbox": {
806
+ "type": "array",
807
+ "minItems": 4,
808
+ "items": {
809
+ "type": "number"
810
+ }
811
+ }
812
+ }
813
+ }
814
+ ]
815
+ },
816
+ "bbox": {
817
+ "type": "array",
818
+ "minItems": 4,
819
+ "items": {
820
+ "type": "number"
821
+ }
822
+ }
823
+ }
824
+ },
825
+ {
826
+ "title": "GeoJSON FeatureCollection",
827
+ "type": "object",
828
+ "required": ["type", "features"],
829
+ "properties": {
830
+ "type": {
831
+ "type": "string",
832
+ "enum": ["FeatureCollection"]
833
+ },
834
+ "features": {
835
+ "type": "array",
836
+ "items": {
837
+ "title": "GeoJSON Feature",
838
+ "type": "object",
839
+ "required": ["type", "properties", "geometry"],
840
+ "properties": {
841
+ "type": {
842
+ "type": "string",
843
+ "enum": ["Feature"]
844
+ },
845
+ "id": {
846
+ "oneOf": [
847
+ {
848
+ "type": "number"
849
+ },
850
+ {
851
+ "type": "string"
852
+ }
853
+ ]
854
+ },
855
+ "properties": {
856
+ "oneOf": [
857
+ {
858
+ "type": "null"
859
+ },
860
+ {
861
+ "type": "object"
862
+ }
863
+ ]
864
+ },
865
+ "geometry": {
866
+ "oneOf": [
867
+ {
868
+ "type": "null"
869
+ },
870
+ {
871
+ "title": "GeoJSON Point",
872
+ "type": "object",
873
+ "required": ["type", "coordinates"],
874
+ "properties": {
875
+ "type": {
876
+ "type": "string",
877
+ "enum": ["Point"]
878
+ },
879
+ "coordinates": {
880
+ "type": "array",
881
+ "minItems": 2,
882
+ "items": {
883
+ "type": "number"
884
+ }
885
+ },
886
+ "bbox": {
887
+ "type": "array",
888
+ "minItems": 4,
889
+ "items": {
890
+ "type": "number"
891
+ }
892
+ }
893
+ }
894
+ },
895
+ {
896
+ "title": "GeoJSON LineString",
897
+ "type": "object",
898
+ "required": ["type", "coordinates"],
899
+ "properties": {
900
+ "type": {
901
+ "type": "string",
902
+ "enum": ["LineString"]
903
+ },
904
+ "coordinates": {
905
+ "type": "array",
906
+ "minItems": 2,
907
+ "items": {
908
+ "type": "array",
909
+ "minItems": 2,
910
+ "items": {
911
+ "type": "number"
912
+ }
913
+ }
914
+ },
915
+ "bbox": {
916
+ "type": "array",
917
+ "minItems": 4,
918
+ "items": {
919
+ "type": "number"
920
+ }
921
+ }
922
+ }
923
+ },
924
+ {
925
+ "title": "GeoJSON Polygon",
926
+ "type": "object",
927
+ "required": ["type", "coordinates"],
928
+ "properties": {
929
+ "type": {
930
+ "type": "string",
931
+ "enum": ["Polygon"]
932
+ },
933
+ "coordinates": {
934
+ "type": "array",
935
+ "items": {
936
+ "type": "array",
937
+ "minItems": 4,
938
+ "items": {
939
+ "type": "array",
940
+ "minItems": 2,
941
+ "items": {
942
+ "type": "number"
943
+ }
944
+ }
945
+ }
946
+ },
947
+ "bbox": {
948
+ "type": "array",
949
+ "minItems": 4,
950
+ "items": {
951
+ "type": "number"
952
+ }
953
+ }
954
+ }
955
+ },
956
+ {
957
+ "title": "GeoJSON MultiPoint",
958
+ "type": "object",
959
+ "required": ["type", "coordinates"],
960
+ "properties": {
961
+ "type": {
962
+ "type": "string",
963
+ "enum": ["MultiPoint"]
964
+ },
965
+ "coordinates": {
966
+ "type": "array",
967
+ "items": {
968
+ "type": "array",
969
+ "minItems": 2,
970
+ "items": {
971
+ "type": "number"
972
+ }
973
+ }
974
+ },
975
+ "bbox": {
976
+ "type": "array",
977
+ "minItems": 4,
978
+ "items": {
979
+ "type": "number"
980
+ }
981
+ }
982
+ }
983
+ },
984
+ {
985
+ "title": "GeoJSON MultiLineString",
986
+ "type": "object",
987
+ "required": ["type", "coordinates"],
988
+ "properties": {
989
+ "type": {
990
+ "type": "string",
991
+ "enum": ["MultiLineString"]
992
+ },
993
+ "coordinates": {
994
+ "type": "array",
995
+ "items": {
996
+ "type": "array",
997
+ "minItems": 2,
998
+ "items": {
999
+ "type": "array",
1000
+ "minItems": 2,
1001
+ "items": {
1002
+ "type": "number"
1003
+ }
1004
+ }
1005
+ }
1006
+ },
1007
+ "bbox": {
1008
+ "type": "array",
1009
+ "minItems": 4,
1010
+ "items": {
1011
+ "type": "number"
1012
+ }
1013
+ }
1014
+ }
1015
+ },
1016
+ {
1017
+ "title": "GeoJSON MultiPolygon",
1018
+ "type": "object",
1019
+ "required": ["type", "coordinates"],
1020
+ "properties": {
1021
+ "type": {
1022
+ "type": "string",
1023
+ "enum": ["MultiPolygon"]
1024
+ },
1025
+ "coordinates": {
1026
+ "type": "array",
1027
+ "items": {
1028
+ "type": "array",
1029
+ "items": {
1030
+ "type": "array",
1031
+ "minItems": 4,
1032
+ "items": {
1033
+ "type": "array",
1034
+ "minItems": 2,
1035
+ "items": {
1036
+ "type": "number"
1037
+ }
1038
+ }
1039
+ }
1040
+ }
1041
+ },
1042
+ "bbox": {
1043
+ "type": "array",
1044
+ "minItems": 4,
1045
+ "items": {
1046
+ "type": "number"
1047
+ }
1048
+ }
1049
+ }
1050
+ },
1051
+ {
1052
+ "title": "GeoJSON GeometryCollection",
1053
+ "type": "object",
1054
+ "required": ["type", "geometries"],
1055
+ "properties": {
1056
+ "type": {
1057
+ "type": "string",
1058
+ "enum": ["GeometryCollection"]
1059
+ },
1060
+ "geometries": {
1061
+ "type": "array",
1062
+ "items": {
1063
+ "oneOf": [
1064
+ {
1065
+ "title": "GeoJSON Point",
1066
+ "type": "object",
1067
+ "required": ["type", "coordinates"],
1068
+ "properties": {
1069
+ "type": {
1070
+ "type": "string",
1071
+ "enum": ["Point"]
1072
+ },
1073
+ "coordinates": {
1074
+ "type": "array",
1075
+ "minItems": 2,
1076
+ "items": {
1077
+ "type": "number"
1078
+ }
1079
+ },
1080
+ "bbox": {
1081
+ "type": "array",
1082
+ "minItems": 4,
1083
+ "items": {
1084
+ "type": "number"
1085
+ }
1086
+ }
1087
+ }
1088
+ },
1089
+ {
1090
+ "title": "GeoJSON LineString",
1091
+ "type": "object",
1092
+ "required": ["type", "coordinates"],
1093
+ "properties": {
1094
+ "type": {
1095
+ "type": "string",
1096
+ "enum": ["LineString"]
1097
+ },
1098
+ "coordinates": {
1099
+ "type": "array",
1100
+ "minItems": 2,
1101
+ "items": {
1102
+ "type": "array",
1103
+ "minItems": 2,
1104
+ "items": {
1105
+ "type": "number"
1106
+ }
1107
+ }
1108
+ },
1109
+ "bbox": {
1110
+ "type": "array",
1111
+ "minItems": 4,
1112
+ "items": {
1113
+ "type": "number"
1114
+ }
1115
+ }
1116
+ }
1117
+ },
1118
+ {
1119
+ "title": "GeoJSON Polygon",
1120
+ "type": "object",
1121
+ "required": ["type", "coordinates"],
1122
+ "properties": {
1123
+ "type": {
1124
+ "type": "string",
1125
+ "enum": ["Polygon"]
1126
+ },
1127
+ "coordinates": {
1128
+ "type": "array",
1129
+ "items": {
1130
+ "type": "array",
1131
+ "minItems": 4,
1132
+ "items": {
1133
+ "type": "array",
1134
+ "minItems": 2,
1135
+ "items": {
1136
+ "type": "number"
1137
+ }
1138
+ }
1139
+ }
1140
+ },
1141
+ "bbox": {
1142
+ "type": "array",
1143
+ "minItems": 4,
1144
+ "items": {
1145
+ "type": "number"
1146
+ }
1147
+ }
1148
+ }
1149
+ },
1150
+ {
1151
+ "title": "GeoJSON MultiPoint",
1152
+ "type": "object",
1153
+ "required": ["type", "coordinates"],
1154
+ "properties": {
1155
+ "type": {
1156
+ "type": "string",
1157
+ "enum": ["MultiPoint"]
1158
+ },
1159
+ "coordinates": {
1160
+ "type": "array",
1161
+ "items": {
1162
+ "type": "array",
1163
+ "minItems": 2,
1164
+ "items": {
1165
+ "type": "number"
1166
+ }
1167
+ }
1168
+ },
1169
+ "bbox": {
1170
+ "type": "array",
1171
+ "minItems": 4,
1172
+ "items": {
1173
+ "type": "number"
1174
+ }
1175
+ }
1176
+ }
1177
+ },
1178
+ {
1179
+ "title": "GeoJSON MultiLineString",
1180
+ "type": "object",
1181
+ "required": ["type", "coordinates"],
1182
+ "properties": {
1183
+ "type": {
1184
+ "type": "string",
1185
+ "enum": ["MultiLineString"]
1186
+ },
1187
+ "coordinates": {
1188
+ "type": "array",
1189
+ "items": {
1190
+ "type": "array",
1191
+ "minItems": 2,
1192
+ "items": {
1193
+ "type": "array",
1194
+ "minItems": 2,
1195
+ "items": {
1196
+ "type": "number"
1197
+ }
1198
+ }
1199
+ }
1200
+ },
1201
+ "bbox": {
1202
+ "type": "array",
1203
+ "minItems": 4,
1204
+ "items": {
1205
+ "type": "number"
1206
+ }
1207
+ }
1208
+ }
1209
+ },
1210
+ {
1211
+ "title": "GeoJSON MultiPolygon",
1212
+ "type": "object",
1213
+ "required": ["type", "coordinates"],
1214
+ "properties": {
1215
+ "type": {
1216
+ "type": "string",
1217
+ "enum": ["MultiPolygon"]
1218
+ },
1219
+ "coordinates": {
1220
+ "type": "array",
1221
+ "items": {
1222
+ "type": "array",
1223
+ "items": {
1224
+ "type": "array",
1225
+ "minItems": 4,
1226
+ "items": {
1227
+ "type": "array",
1228
+ "minItems": 2,
1229
+ "items": {
1230
+ "type": "number"
1231
+ }
1232
+ }
1233
+ }
1234
+ }
1235
+ },
1236
+ "bbox": {
1237
+ "type": "array",
1238
+ "minItems": 4,
1239
+ "items": {
1240
+ "type": "number"
1241
+ }
1242
+ }
1243
+ }
1244
+ }
1245
+ ]
1246
+ }
1247
+ },
1248
+ "bbox": {
1249
+ "type": "array",
1250
+ "minItems": 4,
1251
+ "items": {
1252
+ "type": "number"
1253
+ }
1254
+ }
1255
+ }
1256
+ }
1257
+ ]
1258
+ },
1259
+ "bbox": {
1260
+ "type": "array",
1261
+ "minItems": 4,
1262
+ "items": {
1263
+ "type": "number"
1264
+ }
1265
+ }
1266
+ }
1267
+ }
1268
+ },
1269
+ "bbox": {
1270
+ "type": "array",
1271
+ "minItems": 4,
1272
+ "items": {
1273
+ "type": "number"
1274
+ }
1275
+ }
1276
+ }
1277
+ }
1278
+ ]
1279
+ }