@jupytergis/schema 0.1.7 → 0.2.1

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