@vertigis/viewer-spec 61.14.1 → 61.15.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.
Files changed (107) hide show
  1. package/analytics/MobileAction.d.ts +1 -1
  2. package/analytics/WebAction.d.ts +1 -1
  3. package/app-config/AppConfig.d.ts +1 -1
  4. package/app-config/common/ApplicationModelProperties.d.ts +1 -1
  5. package/app-config/common/BookmarksModelProperties.d.ts +2 -2
  6. package/app-config/common/BrandingThemeProperties.d.ts +1 -1
  7. package/app-config/common/CoordinateModelProperties.d.ts +1 -1
  8. package/app-config/common/EventListenerModelProperties.d.ts +1 -1
  9. package/app-config/common/FeatureDetailsModelProperties.d.ts +1 -1
  10. package/app-config/common/HighlightModelProperties.d.ts +1 -1
  11. package/app-config/common/LayerPresetsModelProperties.d.ts +1 -1
  12. package/app-config/common/LayoutProperties.d.ts +1 -1
  13. package/app-config/common/MapModelProperties.d.ts +1 -1
  14. package/app-config/common/MenuModelProperties.d.ts +2 -2
  15. package/app-config/common/ModelProperties.d.ts +1 -1
  16. package/app-config/common/RegionModelProperties.d.ts +1 -1
  17. package/app-config/common/ResultsModelProperties.d.ts +1 -1
  18. package/app-config/common/SearchModelProperties.d.ts +1 -1
  19. package/app-config/common/TranslatableText.d.ts +1 -1
  20. package/app-config/common/WorkflowModelProperties.d.ts +1 -1
  21. package/app-config/common/colors.d.ts +2 -2
  22. package/app-config/mobile/BasemapModelProperties.d.ts +1 -1
  23. package/app-config/mobile/CoordinateModelProperties.d.ts +1 -1
  24. package/app-config/mobile/FeatureDetailsModelProperties.d.ts +1 -1
  25. package/app-config/mobile/MapModelProperties.d.ts +1 -1
  26. package/app-config/mobile/OfflineModelProperties.d.ts +1 -1
  27. package/app-config/mobile/ResultsModelProperties.d.ts +1 -1
  28. package/app-config/schema/common-app-config.schema.json +1 -1
  29. package/app-config/schema/mobile-app-config.schema.json +1 -1
  30. package/app-config/schema/web-app-config.schema.json +1 -1
  31. package/app-config/web/BasemapModelProperties.d.ts +1 -1
  32. package/app-config/web/ChartModelProperties.d.ts +2 -2
  33. package/app-config/web/DataLinkSourceProperties.d.ts +2 -2
  34. package/app-config/web/DrawModelProperties.d.ts +9 -9
  35. package/app-config/web/FeatureInfoModelProperties.d.ts +1 -1
  36. package/app-config/web/FeatureListProperties.d.ts +1 -1
  37. package/app-config/web/FeatureSetProperties.d.ts +3 -3
  38. package/app-config/web/FeatureSummaryModelProperties.d.ts +1 -1
  39. package/app-config/web/GeoDataModelProperties.d.ts +1 -1
  40. package/app-config/web/GeocoderModelProperties.d.ts +2 -2
  41. package/app-config/web/KpiCardModelProperties.d.ts +2 -2
  42. package/app-config/web/MenuItemModelProperties.d.ts +1 -1
  43. package/app-config/web/ModelProperties.d.ts +1 -1
  44. package/app-config/web/QueryBuilderModelProperties.d.ts +1 -1
  45. package/app-config/web/ReportModelProperties.d.ts +1 -1
  46. package/app-config/web/ResultsModelProperties.d.ts +1 -1
  47. package/app-config/web/ResultsServiceModelProperties.d.ts +1 -1
  48. package/app-config/web/SearchServiceProperties.d.ts +1 -1
  49. package/app-config/web/SharedProjectsModelProperties.d.ts +3 -3
  50. package/app-config/web/SharedStorageModelProperties.d.ts +1 -1
  51. package/app-config/web/SnappingProperties.d.ts +3 -3
  52. package/app-config/web/SplashScreenModelProperties.d.ts +1 -1
  53. package/app-config/web/TopologyProperties.d.ts +2 -2
  54. package/app-config/web/VertigisWebModelProperties.d.ts +1 -1
  55. package/messaging/Command.d.ts +1 -1
  56. package/messaging/Event.d.ts +1 -1
  57. package/messaging/Message.d.ts +1 -1
  58. package/messaging/MessageBus.d.ts +2 -2
  59. package/messaging/Operation.d.ts +1 -1
  60. package/messaging/common.d.ts +37 -37
  61. package/messaging/registry/auth.d.ts +3 -4
  62. package/messaging/registry/basemap.d.ts +1 -1
  63. package/messaging/registry/drawing.d.ts +9 -9
  64. package/messaging/registry/edit.d.ts +3 -3
  65. package/messaging/registry/file.d.ts +1 -2
  66. package/messaging/registry/geocode.d.ts +1 -1
  67. package/messaging/registry/geolocation.d.ts +2 -2
  68. package/messaging/registry/geometry.d.ts +5 -5
  69. package/messaging/registry/layer-presets.d.ts +1 -1
  70. package/messaging/registry/layers.d.ts +0 -1
  71. package/messaging/registry/location-marker.d.ts +5 -5
  72. package/messaging/registry/map.d.ts +12 -12
  73. package/messaging/registry/measurement.d.ts +1 -1
  74. package/messaging/registry/offline.d.ts +7 -9
  75. package/messaging/registry/portal.d.ts +1 -1
  76. package/messaging/registry/printing.d.ts +4 -4
  77. package/messaging/registry/project.d.ts +6 -6
  78. package/messaging/registry/reports.d.ts +1 -1
  79. package/messaging/registry/results.d.ts +10 -10
  80. package/messaging/registry/sketching.d.ts +12 -12
  81. package/messaging/registry/tasks.d.ts +4 -4
  82. package/messaging/registry/utility-network.d.ts +4 -5
  83. package/messaging/registry/viewer.d.ts +1 -1
  84. package/messaging/schema/common-action.schema.json +1 -1
  85. package/messaging/schema/common-event.schema.json +1 -1
  86. package/messaging/schema/mobile-action.schema.json +1 -1
  87. package/messaging/schema/mobile-event.schema.json +1 -1
  88. package/messaging/schema/web-action.schema.json +1 -1
  89. package/messaging/schema/web-drawing-command-definitions.md +554 -76
  90. package/messaging/schema/web-drawing-operation-definitions.md +261 -20
  91. package/messaging/schema/web-edit-command-definitions.md +8 -0
  92. package/messaging/schema/web-event.schema.json +1 -1
  93. package/messaging/schema/web-geometry-command-definitions.md +0 -16
  94. package/messaging/schema/web-geometry-operation-definitions.md +233 -18
  95. package/messaging/schema/web-map-command-definitions.md +870 -58
  96. package/messaging/schema/web-map-operation-definitions.md +8 -0
  97. package/messaging/schema/web-measurement-command-definitions.md +556 -94
  98. package/messaging/schema/web-measurement-operation-definitions.md +124 -11
  99. package/messaging/schema/web-portal-operation-definitions.md +8 -0
  100. package/messaging/schema/web-printing-operation-definitions.md +1 -1
  101. package/messaging/schema/web-results-operation-definitions.md +4 -1
  102. package/messaging/schema/web-system-command-definitions.md +3 -1
  103. package/messaging/schema/web-system-operation-definitions.md +16 -0
  104. package/messaging/schema/web-ui-operation-definitions.md +1 -1
  105. package/package.json +33 -29
  106. package/version.d.ts +1 -1
  107. package/version.js +1 -1
@@ -205,15 +205,98 @@ esri.rest-api.FeatureJson.FeatureJson properties:
205
205
  ```json
206
206
  {
207
207
  "attributes": {
208
+ "anyOf": [
209
+ {
210
+ "description": "Construct a type with a set of properties K of type T"
211
+ },
212
+ {
213
+ "type": "null"
214
+ }
215
+ ],
208
216
  "description": "The feature attributes. It is a JSON object that contains a dictionary of name-value pairs. The names are the feature field names. The values are the field values and they can be any of the standard JSON types - string, number and boolean. Note that date values are encoded as numbers. The number represents the number of milliseconds since epoch (January 1,\n1970) in UTC."
209
217
  },
210
218
  "geometry": {
219
+ "anyOf": [
220
+ {
221
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
222
+ },
223
+ {
224
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
225
+ },
226
+ {
227
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
228
+ },
229
+ {
230
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
231
+ },
232
+ {
233
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
234
+ },
235
+ {
236
+ "type": "null"
237
+ }
238
+ ],
211
239
  "description": "The feature geometry."
212
240
  },
213
241
  "popupInfo": {
242
+ "anyOf": [
243
+ {
244
+ "$ref": "#/definitions/esri.rest-api.PopupInfoJson.PopupInfoJson"
245
+ },
246
+ {
247
+ "type": "null"
248
+ }
249
+ ],
214
250
  "description": "A popupInfo object defining the content of popup window when you click a feature on the map. Applicable to features in a map notes feature layer only."
215
251
  },
216
252
  "symbol": {
253
+ "anyOf": [
254
+ {
255
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolJson"
256
+ },
257
+ {
258
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
259
+ },
260
+ {
261
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
262
+ },
263
+ {
264
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
265
+ },
266
+ {
267
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
268
+ },
269
+ {
270
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
271
+ },
272
+ {
273
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
274
+ },
275
+ {
276
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
277
+ },
278
+ {
279
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.LabelSymbol3DJson"
280
+ },
281
+ {
282
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
283
+ },
284
+ {
285
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.MeshSymbol3DJson"
286
+ },
287
+ {
288
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
289
+ },
290
+ {
291
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
292
+ },
293
+ {
294
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.StyleSymbolReferenceJson"
295
+ },
296
+ {
297
+ "type": "null"
298
+ }
299
+ ],
217
300
  "description": "Symbol used for drawing the feature."
218
301
  }
219
302
  }
@@ -404,6 +487,14 @@ CreateMapNoteArgs properties:
404
487
  "description": "The map that should show the created note."
405
488
  },
406
489
  "parent": {
490
+ "anyOf": [
491
+ {
492
+ "$ref": "#/definitions/Model"
493
+ },
494
+ {
495
+ "type": "string"
496
+ }
497
+ ],
407
498
  "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes."
408
499
  }
409
500
  }
@@ -436,6 +527,14 @@ EditMapNotesArgs properties:
436
527
  "isRequired": "true"
437
528
  },
438
529
  "parent": {
530
+ "anyOf": [
531
+ {
532
+ "$ref": "#/definitions/Model"
533
+ },
534
+ {
535
+ "type": "string"
536
+ }
537
+ ],
439
538
  "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes."
440
539
  }
441
540
  }
@@ -496,15 +595,98 @@ esri.rest-api.FeatureJson.FeatureJson properties:
496
595
  ```json
497
596
  {
498
597
  "attributes": {
598
+ "anyOf": [
599
+ {
600
+ "description": "Construct a type with a set of properties K of type T"
601
+ },
602
+ {
603
+ "type": "null"
604
+ }
605
+ ],
499
606
  "description": "The feature attributes. It is a JSON object that contains a dictionary of name-value pairs. The names are the feature field names. The values are the field values and they can be any of the standard JSON types - string, number and boolean. Note that date values are encoded as numbers. The number represents the number of milliseconds since epoch (January 1,\n1970) in UTC."
500
607
  },
501
608
  "geometry": {
609
+ "anyOf": [
610
+ {
611
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
612
+ },
613
+ {
614
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
615
+ },
616
+ {
617
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
618
+ },
619
+ {
620
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
621
+ },
622
+ {
623
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
624
+ },
625
+ {
626
+ "type": "null"
627
+ }
628
+ ],
502
629
  "description": "The feature geometry."
503
630
  },
504
631
  "popupInfo": {
632
+ "anyOf": [
633
+ {
634
+ "$ref": "#/definitions/esri.rest-api.PopupInfoJson.PopupInfoJson"
635
+ },
636
+ {
637
+ "type": "null"
638
+ }
639
+ ],
505
640
  "description": "A popupInfo object defining the content of popup window when you click a feature on the map. Applicable to features in a map notes feature layer only."
506
641
  },
507
642
  "symbol": {
643
+ "anyOf": [
644
+ {
645
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolJson"
646
+ },
647
+ {
648
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
649
+ },
650
+ {
651
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
652
+ },
653
+ {
654
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
655
+ },
656
+ {
657
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
658
+ },
659
+ {
660
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
661
+ },
662
+ {
663
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
664
+ },
665
+ {
666
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
667
+ },
668
+ {
669
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.LabelSymbol3DJson"
670
+ },
671
+ {
672
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
673
+ },
674
+ {
675
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.MeshSymbol3DJson"
676
+ },
677
+ {
678
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
679
+ },
680
+ {
681
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
682
+ },
683
+ {
684
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.StyleSymbolReferenceJson"
685
+ },
686
+ {
687
+ "type": "null"
688
+ }
689
+ ],
508
690
  "description": "Symbol used for drawing the feature."
509
691
  }
510
692
  }
@@ -515,14 +697,26 @@ esri.rest-api.GeometryJson.PointJson properties:
515
697
  {
516
698
  "m": {
517
699
  "description": "M coordinate which contains measures used for linear referencing.",
518
- "type": "number"
700
+ "type": [
701
+ "null",
702
+ "number"
703
+ ]
519
704
  },
520
705
  "spatialReference": {
706
+ "anyOf": [
707
+ {
708
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
709
+ },
710
+ {
711
+ "type": "null"
712
+ }
713
+ ],
521
714
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
522
715
  },
523
716
  "x": {
524
717
  "description": "X coordinate which is measured along the east/west axis.",
525
718
  "type": [
719
+ "null",
526
720
  "string",
527
721
  "number"
528
722
  ],
@@ -531,6 +725,7 @@ esri.rest-api.GeometryJson.PointJson properties:
531
725
  "y": {
532
726
  "description": "Y coordinate which is measured along the north/south axis.",
533
727
  "type": [
728
+ "null",
534
729
  "string",
535
730
  "number"
536
731
  ],
@@ -539,6 +734,7 @@ esri.rest-api.GeometryJson.PointJson properties:
539
734
  "z": {
540
735
  "description": "Z coordinate which measures height or elevation.",
541
736
  "type": [
737
+ "null",
542
738
  "string",
543
739
  "number"
544
740
  ]
@@ -551,11 +747,17 @@ esri.rest-api.GeometryJson.MultipointJson properties:
551
747
  {
552
748
  "hasM": {
553
749
  "description": "Indicates whether the geometry contains M coordinate values.",
554
- "type": "boolean"
750
+ "type": [
751
+ "null",
752
+ "boolean"
753
+ ]
555
754
  },
556
755
  "hasZ": {
557
756
  "description": "Indicates whether the geometry contains Z coordinate values.",
558
- "type": "boolean"
757
+ "type": [
758
+ "null",
759
+ "boolean"
760
+ ]
559
761
  },
560
762
  "points": {
561
763
  "description": "An array that corresponds to 2D and 3D points.",
@@ -569,6 +771,14 @@ esri.rest-api.GeometryJson.MultipointJson properties:
569
771
  "isRequired": "true"
570
772
  },
571
773
  "spatialReference": {
774
+ "anyOf": [
775
+ {
776
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
777
+ },
778
+ {
779
+ "type": "null"
780
+ }
781
+ ],
572
782
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
573
783
  }
574
784
  }
@@ -579,11 +789,17 @@ esri.rest-api.GeometryJson.PolylineJson properties:
579
789
  {
580
790
  "hasM": {
581
791
  "description": "Indicates whether the geometry contains M coordinate values.",
582
- "type": "boolean"
792
+ "type": [
793
+ "null",
794
+ "boolean"
795
+ ]
583
796
  },
584
797
  "hasZ": {
585
798
  "description": "Indicates whether the geometry contains Z coordinate values.",
586
- "type": "boolean"
799
+ "type": [
800
+ "null",
801
+ "boolean"
802
+ ]
587
803
  },
588
804
  "paths": {
589
805
  "description": "Three nested arrays which corresponds to a polyline.",
@@ -600,6 +816,14 @@ esri.rest-api.GeometryJson.PolylineJson properties:
600
816
  "isRequired": "true"
601
817
  },
602
818
  "spatialReference": {
819
+ "anyOf": [
820
+ {
821
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
822
+ },
823
+ {
824
+ "type": "null"
825
+ }
826
+ ],
603
827
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
604
828
  }
605
829
  }
@@ -610,11 +834,17 @@ esri.rest-api.GeometryJson.PolygonJson properties:
610
834
  {
611
835
  "hasM": {
612
836
  "description": "Indicates whether the geometry contains M coordinate values.",
613
- "type": "boolean"
837
+ "type": [
838
+ "null",
839
+ "boolean"
840
+ ]
614
841
  },
615
842
  "hasZ": {
616
843
  "description": "Indicates whether the geometry contains Z coordinate values.",
617
- "type": "boolean"
844
+ "type": [
845
+ "null",
846
+ "boolean"
847
+ ]
618
848
  },
619
849
  "rings": {
620
850
  "description": "Represents an array of points. Each point is an array of numbers.",
@@ -631,6 +861,14 @@ esri.rest-api.GeometryJson.PolygonJson properties:
631
861
  "isRequired": "true"
632
862
  },
633
863
  "spatialReference": {
864
+ "anyOf": [
865
+ {
866
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
867
+ },
868
+ {
869
+ "type": "null"
870
+ }
871
+ ],
634
872
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
635
873
  }
636
874
  }
@@ -640,23 +878,43 @@ esri.rest-api.GeometryJson.ExtentJson properties:
640
878
  ```json
641
879
  {
642
880
  "spatialReference": {
881
+ "anyOf": [
882
+ {
883
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
884
+ },
885
+ {
886
+ "type": "null"
887
+ }
888
+ ],
643
889
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
644
890
  },
645
891
  "xmax": {
646
892
  "description": "A numeric value indicating the top-right X-coordinate of an extent envelope.",
647
- "type": "number"
893
+ "type": [
894
+ "null",
895
+ "number"
896
+ ]
648
897
  },
649
898
  "xmin": {
650
899
  "description": "A numeric value indicating the bottom-left X-coordinate of an extent envelope.",
651
- "type": "number"
900
+ "type": [
901
+ "null",
902
+ "number"
903
+ ]
652
904
  },
653
905
  "ymax": {
654
906
  "description": "A numeric value indicating the top-right Y-coordinate of an extent envelope.",
655
- "type": "number"
907
+ "type": [
908
+ "null",
909
+ "number"
910
+ ]
656
911
  },
657
912
  "ymin": {
658
913
  "description": "A numeric value indicating the bottom-left Y-coordinate of an extent envelope.",
659
- "type": "number"
914
+ "type": [
915
+ "null",
916
+ "number"
917
+ ]
660
918
  }
661
919
  }
662
920
  ```
@@ -666,14 +924,26 @@ esri.rest-api.GeometryJson.PointJson properties:
666
924
  {
667
925
  "m": {
668
926
  "description": "M coordinate which contains measures used for linear referencing.",
669
- "type": "number"
927
+ "type": [
928
+ "null",
929
+ "number"
930
+ ]
670
931
  },
671
932
  "spatialReference": {
933
+ "anyOf": [
934
+ {
935
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
936
+ },
937
+ {
938
+ "type": "null"
939
+ }
940
+ ],
672
941
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
673
942
  },
674
943
  "x": {
675
944
  "description": "X coordinate which is measured along the east/west axis.",
676
945
  "type": [
946
+ "null",
677
947
  "string",
678
948
  "number"
679
949
  ],
@@ -682,6 +952,7 @@ esri.rest-api.GeometryJson.PointJson properties:
682
952
  "y": {
683
953
  "description": "Y coordinate which is measured along the north/south axis.",
684
954
  "type": [
955
+ "null",
685
956
  "string",
686
957
  "number"
687
958
  ],
@@ -690,6 +961,7 @@ esri.rest-api.GeometryJson.PointJson properties:
690
961
  "z": {
691
962
  "description": "Z coordinate which measures height or elevation.",
692
963
  "type": [
964
+ "null",
693
965
  "string",
694
966
  "number"
695
967
  ]
@@ -702,11 +974,17 @@ esri.rest-api.GeometryJson.MultipointJson properties:
702
974
  {
703
975
  "hasM": {
704
976
  "description": "Indicates whether the geometry contains M coordinate values.",
705
- "type": "boolean"
977
+ "type": [
978
+ "null",
979
+ "boolean"
980
+ ]
706
981
  },
707
982
  "hasZ": {
708
983
  "description": "Indicates whether the geometry contains Z coordinate values.",
709
- "type": "boolean"
984
+ "type": [
985
+ "null",
986
+ "boolean"
987
+ ]
710
988
  },
711
989
  "points": {
712
990
  "description": "An array that corresponds to 2D and 3D points.",
@@ -720,6 +998,14 @@ esri.rest-api.GeometryJson.MultipointJson properties:
720
998
  "isRequired": "true"
721
999
  },
722
1000
  "spatialReference": {
1001
+ "anyOf": [
1002
+ {
1003
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1004
+ },
1005
+ {
1006
+ "type": "null"
1007
+ }
1008
+ ],
723
1009
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
724
1010
  }
725
1011
  }
@@ -730,11 +1016,17 @@ esri.rest-api.GeometryJson.PolylineJson properties:
730
1016
  {
731
1017
  "hasM": {
732
1018
  "description": "Indicates whether the geometry contains M coordinate values.",
733
- "type": "boolean"
1019
+ "type": [
1020
+ "null",
1021
+ "boolean"
1022
+ ]
734
1023
  },
735
1024
  "hasZ": {
736
1025
  "description": "Indicates whether the geometry contains Z coordinate values.",
737
- "type": "boolean"
1026
+ "type": [
1027
+ "null",
1028
+ "boolean"
1029
+ ]
738
1030
  },
739
1031
  "paths": {
740
1032
  "description": "Three nested arrays which corresponds to a polyline.",
@@ -751,6 +1043,14 @@ esri.rest-api.GeometryJson.PolylineJson properties:
751
1043
  "isRequired": "true"
752
1044
  },
753
1045
  "spatialReference": {
1046
+ "anyOf": [
1047
+ {
1048
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1049
+ },
1050
+ {
1051
+ "type": "null"
1052
+ }
1053
+ ],
754
1054
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
755
1055
  }
756
1056
  }
@@ -761,11 +1061,17 @@ esri.rest-api.GeometryJson.PolygonJson properties:
761
1061
  {
762
1062
  "hasM": {
763
1063
  "description": "Indicates whether the geometry contains M coordinate values.",
764
- "type": "boolean"
1064
+ "type": [
1065
+ "null",
1066
+ "boolean"
1067
+ ]
765
1068
  },
766
1069
  "hasZ": {
767
1070
  "description": "Indicates whether the geometry contains Z coordinate values.",
768
- "type": "boolean"
1071
+ "type": [
1072
+ "null",
1073
+ "boolean"
1074
+ ]
769
1075
  },
770
1076
  "rings": {
771
1077
  "description": "Represents an array of points. Each point is an array of numbers.",
@@ -782,6 +1088,14 @@ esri.rest-api.GeometryJson.PolygonJson properties:
782
1088
  "isRequired": "true"
783
1089
  },
784
1090
  "spatialReference": {
1091
+ "anyOf": [
1092
+ {
1093
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1094
+ },
1095
+ {
1096
+ "type": "null"
1097
+ }
1098
+ ],
785
1099
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
786
1100
  }
787
1101
  }
@@ -934,17 +1248,51 @@ esri.rest-api.ViewpointJson.ViewpointJson properties:
934
1248
  ```json
935
1249
  {
936
1250
  "camera": {
1251
+ "anyOf": [
1252
+ {
1253
+ "$ref": "#/definitions/esri.rest-api.ViewpointJson.CameraJson"
1254
+ },
1255
+ {
1256
+ "type": "null"
1257
+ }
1258
+ ],
937
1259
  "description": "The camera defines the position, tilt, and heading of the point from which the SceneView's visible extent is observed."
938
1260
  },
939
1261
  "rotation": {
940
1262
  "description": "The rotation of due north in relation to the top of the view in degrees.",
941
- "type": "number"
1263
+ "type": [
1264
+ "null",
1265
+ "number"
1266
+ ]
942
1267
  },
943
1268
  "scale": {
944
1269
  "description": "The scale of the viewpoint.",
945
- "type": "number"
1270
+ "type": [
1271
+ "null",
1272
+ "number"
1273
+ ]
946
1274
  },
947
1275
  "targetGeometry": {
1276
+ "anyOf": [
1277
+ {
1278
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
1279
+ },
1280
+ {
1281
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
1282
+ },
1283
+ {
1284
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
1285
+ },
1286
+ {
1287
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
1288
+ },
1289
+ {
1290
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
1291
+ },
1292
+ {
1293
+ "type": "null"
1294
+ }
1295
+ ],
948
1296
  "description": "The target geometry framed by the viewpoint."
949
1297
  }
950
1298
  }
@@ -1052,15 +1400,98 @@ esri.rest-api.FeatureJson.FeatureJson properties:
1052
1400
  ```json
1053
1401
  {
1054
1402
  "attributes": {
1403
+ "anyOf": [
1404
+ {
1405
+ "description": "Construct a type with a set of properties K of type T"
1406
+ },
1407
+ {
1408
+ "type": "null"
1409
+ }
1410
+ ],
1055
1411
  "description": "The feature attributes. It is a JSON object that contains a dictionary of name-value pairs. The names are the feature field names. The values are the field values and they can be any of the standard JSON types - string, number and boolean. Note that date values are encoded as numbers. The number represents the number of milliseconds since epoch (January 1,\n1970) in UTC."
1056
1412
  },
1057
1413
  "geometry": {
1414
+ "anyOf": [
1415
+ {
1416
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
1417
+ },
1418
+ {
1419
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
1420
+ },
1421
+ {
1422
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
1423
+ },
1424
+ {
1425
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
1426
+ },
1427
+ {
1428
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
1429
+ },
1430
+ {
1431
+ "type": "null"
1432
+ }
1433
+ ],
1058
1434
  "description": "The feature geometry."
1059
1435
  },
1060
1436
  "popupInfo": {
1437
+ "anyOf": [
1438
+ {
1439
+ "$ref": "#/definitions/esri.rest-api.PopupInfoJson.PopupInfoJson"
1440
+ },
1441
+ {
1442
+ "type": "null"
1443
+ }
1444
+ ],
1061
1445
  "description": "A popupInfo object defining the content of popup window when you click a feature on the map. Applicable to features in a map notes feature layer only."
1062
1446
  },
1063
1447
  "symbol": {
1448
+ "anyOf": [
1449
+ {
1450
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolJson"
1451
+ },
1452
+ {
1453
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
1454
+ },
1455
+ {
1456
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
1457
+ },
1458
+ {
1459
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
1460
+ },
1461
+ {
1462
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
1463
+ },
1464
+ {
1465
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
1466
+ },
1467
+ {
1468
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
1469
+ },
1470
+ {
1471
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
1472
+ },
1473
+ {
1474
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.LabelSymbol3DJson"
1475
+ },
1476
+ {
1477
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
1478
+ },
1479
+ {
1480
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.MeshSymbol3DJson"
1481
+ },
1482
+ {
1483
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
1484
+ },
1485
+ {
1486
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
1487
+ },
1488
+ {
1489
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.StyleSymbolReferenceJson"
1490
+ },
1491
+ {
1492
+ "type": "null"
1493
+ }
1494
+ ],
1064
1495
  "description": "Symbol used for drawing the feature."
1065
1496
  }
1066
1497
  }
@@ -1071,14 +1502,26 @@ esri.rest-api.GeometryJson.PointJson properties:
1071
1502
  {
1072
1503
  "m": {
1073
1504
  "description": "M coordinate which contains measures used for linear referencing.",
1074
- "type": "number"
1505
+ "type": [
1506
+ "null",
1507
+ "number"
1508
+ ]
1075
1509
  },
1076
1510
  "spatialReference": {
1511
+ "anyOf": [
1512
+ {
1513
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1514
+ },
1515
+ {
1516
+ "type": "null"
1517
+ }
1518
+ ],
1077
1519
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1078
1520
  },
1079
1521
  "x": {
1080
1522
  "description": "X coordinate which is measured along the east/west axis.",
1081
1523
  "type": [
1524
+ "null",
1082
1525
  "string",
1083
1526
  "number"
1084
1527
  ],
@@ -1087,6 +1530,7 @@ esri.rest-api.GeometryJson.PointJson properties:
1087
1530
  "y": {
1088
1531
  "description": "Y coordinate which is measured along the north/south axis.",
1089
1532
  "type": [
1533
+ "null",
1090
1534
  "string",
1091
1535
  "number"
1092
1536
  ],
@@ -1095,6 +1539,7 @@ esri.rest-api.GeometryJson.PointJson properties:
1095
1539
  "z": {
1096
1540
  "description": "Z coordinate which measures height or elevation.",
1097
1541
  "type": [
1542
+ "null",
1098
1543
  "string",
1099
1544
  "number"
1100
1545
  ]
@@ -1107,11 +1552,17 @@ esri.rest-api.GeometryJson.MultipointJson properties:
1107
1552
  {
1108
1553
  "hasM": {
1109
1554
  "description": "Indicates whether the geometry contains M coordinate values.",
1110
- "type": "boolean"
1555
+ "type": [
1556
+ "null",
1557
+ "boolean"
1558
+ ]
1111
1559
  },
1112
1560
  "hasZ": {
1113
1561
  "description": "Indicates whether the geometry contains Z coordinate values.",
1114
- "type": "boolean"
1562
+ "type": [
1563
+ "null",
1564
+ "boolean"
1565
+ ]
1115
1566
  },
1116
1567
  "points": {
1117
1568
  "description": "An array that corresponds to 2D and 3D points.",
@@ -1125,6 +1576,14 @@ esri.rest-api.GeometryJson.MultipointJson properties:
1125
1576
  "isRequired": "true"
1126
1577
  },
1127
1578
  "spatialReference": {
1579
+ "anyOf": [
1580
+ {
1581
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1582
+ },
1583
+ {
1584
+ "type": "null"
1585
+ }
1586
+ ],
1128
1587
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1129
1588
  }
1130
1589
  }
@@ -1135,11 +1594,17 @@ esri.rest-api.GeometryJson.PolylineJson properties:
1135
1594
  {
1136
1595
  "hasM": {
1137
1596
  "description": "Indicates whether the geometry contains M coordinate values.",
1138
- "type": "boolean"
1597
+ "type": [
1598
+ "null",
1599
+ "boolean"
1600
+ ]
1139
1601
  },
1140
1602
  "hasZ": {
1141
1603
  "description": "Indicates whether the geometry contains Z coordinate values.",
1142
- "type": "boolean"
1604
+ "type": [
1605
+ "null",
1606
+ "boolean"
1607
+ ]
1143
1608
  },
1144
1609
  "paths": {
1145
1610
  "description": "Three nested arrays which corresponds to a polyline.",
@@ -1156,6 +1621,14 @@ esri.rest-api.GeometryJson.PolylineJson properties:
1156
1621
  "isRequired": "true"
1157
1622
  },
1158
1623
  "spatialReference": {
1624
+ "anyOf": [
1625
+ {
1626
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1627
+ },
1628
+ {
1629
+ "type": "null"
1630
+ }
1631
+ ],
1159
1632
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1160
1633
  }
1161
1634
  }
@@ -1166,11 +1639,17 @@ esri.rest-api.GeometryJson.PolygonJson properties:
1166
1639
  {
1167
1640
  "hasM": {
1168
1641
  "description": "Indicates whether the geometry contains M coordinate values.",
1169
- "type": "boolean"
1642
+ "type": [
1643
+ "null",
1644
+ "boolean"
1645
+ ]
1170
1646
  },
1171
1647
  "hasZ": {
1172
1648
  "description": "Indicates whether the geometry contains Z coordinate values.",
1173
- "type": "boolean"
1649
+ "type": [
1650
+ "null",
1651
+ "boolean"
1652
+ ]
1174
1653
  },
1175
1654
  "rings": {
1176
1655
  "description": "Represents an array of points. Each point is an array of numbers.",
@@ -1187,6 +1666,14 @@ esri.rest-api.GeometryJson.PolygonJson properties:
1187
1666
  "isRequired": "true"
1188
1667
  },
1189
1668
  "spatialReference": {
1669
+ "anyOf": [
1670
+ {
1671
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1672
+ },
1673
+ {
1674
+ "type": "null"
1675
+ }
1676
+ ],
1190
1677
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1191
1678
  }
1192
1679
  }
@@ -1196,23 +1683,43 @@ esri.rest-api.GeometryJson.ExtentJson properties:
1196
1683
  ```json
1197
1684
  {
1198
1685
  "spatialReference": {
1686
+ "anyOf": [
1687
+ {
1688
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1689
+ },
1690
+ {
1691
+ "type": "null"
1692
+ }
1693
+ ],
1199
1694
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1200
1695
  },
1201
1696
  "xmax": {
1202
1697
  "description": "A numeric value indicating the top-right X-coordinate of an extent envelope.",
1203
- "type": "number"
1698
+ "type": [
1699
+ "null",
1700
+ "number"
1701
+ ]
1204
1702
  },
1205
1703
  "xmin": {
1206
1704
  "description": "A numeric value indicating the bottom-left X-coordinate of an extent envelope.",
1207
- "type": "number"
1705
+ "type": [
1706
+ "null",
1707
+ "number"
1708
+ ]
1208
1709
  },
1209
1710
  "ymax": {
1210
1711
  "description": "A numeric value indicating the top-right Y-coordinate of an extent envelope.",
1211
- "type": "number"
1712
+ "type": [
1713
+ "null",
1714
+ "number"
1715
+ ]
1212
1716
  },
1213
1717
  "ymin": {
1214
1718
  "description": "A numeric value indicating the bottom-left Y-coordinate of an extent envelope.",
1215
- "type": "number"
1719
+ "type": [
1720
+ "null",
1721
+ "number"
1722
+ ]
1216
1723
  }
1217
1724
  }
1218
1725
  ```
@@ -1222,14 +1729,26 @@ esri.rest-api.GeometryJson.PointJson properties:
1222
1729
  {
1223
1730
  "m": {
1224
1731
  "description": "M coordinate which contains measures used for linear referencing.",
1225
- "type": "number"
1732
+ "type": [
1733
+ "null",
1734
+ "number"
1735
+ ]
1226
1736
  },
1227
1737
  "spatialReference": {
1738
+ "anyOf": [
1739
+ {
1740
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1741
+ },
1742
+ {
1743
+ "type": "null"
1744
+ }
1745
+ ],
1228
1746
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1229
1747
  },
1230
1748
  "x": {
1231
1749
  "description": "X coordinate which is measured along the east/west axis.",
1232
1750
  "type": [
1751
+ "null",
1233
1752
  "string",
1234
1753
  "number"
1235
1754
  ],
@@ -1238,6 +1757,7 @@ esri.rest-api.GeometryJson.PointJson properties:
1238
1757
  "y": {
1239
1758
  "description": "Y coordinate which is measured along the north/south axis.",
1240
1759
  "type": [
1760
+ "null",
1241
1761
  "string",
1242
1762
  "number"
1243
1763
  ],
@@ -1246,6 +1766,7 @@ esri.rest-api.GeometryJson.PointJson properties:
1246
1766
  "z": {
1247
1767
  "description": "Z coordinate which measures height or elevation.",
1248
1768
  "type": [
1769
+ "null",
1249
1770
  "string",
1250
1771
  "number"
1251
1772
  ]
@@ -1258,11 +1779,17 @@ esri.rest-api.GeometryJson.MultipointJson properties:
1258
1779
  {
1259
1780
  "hasM": {
1260
1781
  "description": "Indicates whether the geometry contains M coordinate values.",
1261
- "type": "boolean"
1782
+ "type": [
1783
+ "null",
1784
+ "boolean"
1785
+ ]
1262
1786
  },
1263
1787
  "hasZ": {
1264
1788
  "description": "Indicates whether the geometry contains Z coordinate values.",
1265
- "type": "boolean"
1789
+ "type": [
1790
+ "null",
1791
+ "boolean"
1792
+ ]
1266
1793
  },
1267
1794
  "points": {
1268
1795
  "description": "An array that corresponds to 2D and 3D points.",
@@ -1276,6 +1803,14 @@ esri.rest-api.GeometryJson.MultipointJson properties:
1276
1803
  "isRequired": "true"
1277
1804
  },
1278
1805
  "spatialReference": {
1806
+ "anyOf": [
1807
+ {
1808
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1809
+ },
1810
+ {
1811
+ "type": "null"
1812
+ }
1813
+ ],
1279
1814
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1280
1815
  }
1281
1816
  }
@@ -1286,11 +1821,17 @@ esri.rest-api.GeometryJson.PolylineJson properties:
1286
1821
  {
1287
1822
  "hasM": {
1288
1823
  "description": "Indicates whether the geometry contains M coordinate values.",
1289
- "type": "boolean"
1824
+ "type": [
1825
+ "null",
1826
+ "boolean"
1827
+ ]
1290
1828
  },
1291
1829
  "hasZ": {
1292
1830
  "description": "Indicates whether the geometry contains Z coordinate values.",
1293
- "type": "boolean"
1831
+ "type": [
1832
+ "null",
1833
+ "boolean"
1834
+ ]
1294
1835
  },
1295
1836
  "paths": {
1296
1837
  "description": "Three nested arrays which corresponds to a polyline.",
@@ -1307,6 +1848,14 @@ esri.rest-api.GeometryJson.PolylineJson properties:
1307
1848
  "isRequired": "true"
1308
1849
  },
1309
1850
  "spatialReference": {
1851
+ "anyOf": [
1852
+ {
1853
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1854
+ },
1855
+ {
1856
+ "type": "null"
1857
+ }
1858
+ ],
1310
1859
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1311
1860
  }
1312
1861
  }
@@ -1317,11 +1866,17 @@ esri.rest-api.GeometryJson.PolygonJson properties:
1317
1866
  {
1318
1867
  "hasM": {
1319
1868
  "description": "Indicates whether the geometry contains M coordinate values.",
1320
- "type": "boolean"
1869
+ "type": [
1870
+ "null",
1871
+ "boolean"
1872
+ ]
1321
1873
  },
1322
1874
  "hasZ": {
1323
1875
  "description": "Indicates whether the geometry contains Z coordinate values.",
1324
- "type": "boolean"
1876
+ "type": [
1877
+ "null",
1878
+ "boolean"
1879
+ ]
1325
1880
  },
1326
1881
  "rings": {
1327
1882
  "description": "Represents an array of points. Each point is an array of numbers.",
@@ -1338,6 +1893,14 @@ esri.rest-api.GeometryJson.PolygonJson properties:
1338
1893
  "isRequired": "true"
1339
1894
  },
1340
1895
  "spatialReference": {
1896
+ "anyOf": [
1897
+ {
1898
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
1899
+ },
1900
+ {
1901
+ "type": "null"
1902
+ }
1903
+ ],
1341
1904
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1342
1905
  }
1343
1906
  }
@@ -1648,15 +2211,98 @@ esri.rest-api.FeatureJson.FeatureJson properties:
1648
2211
  ```json
1649
2212
  {
1650
2213
  "attributes": {
2214
+ "anyOf": [
2215
+ {
2216
+ "description": "Construct a type with a set of properties K of type T"
2217
+ },
2218
+ {
2219
+ "type": "null"
2220
+ }
2221
+ ],
1651
2222
  "description": "The feature attributes. It is a JSON object that contains a dictionary of name-value pairs. The names are the feature field names. The values are the field values and they can be any of the standard JSON types - string, number and boolean. Note that date values are encoded as numbers. The number represents the number of milliseconds since epoch (January 1,\n1970) in UTC."
1652
2223
  },
1653
2224
  "geometry": {
2225
+ "anyOf": [
2226
+ {
2227
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
2228
+ },
2229
+ {
2230
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
2231
+ },
2232
+ {
2233
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
2234
+ },
2235
+ {
2236
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
2237
+ },
2238
+ {
2239
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
2240
+ },
2241
+ {
2242
+ "type": "null"
2243
+ }
2244
+ ],
1654
2245
  "description": "The feature geometry."
1655
2246
  },
1656
2247
  "popupInfo": {
2248
+ "anyOf": [
2249
+ {
2250
+ "$ref": "#/definitions/esri.rest-api.PopupInfoJson.PopupInfoJson"
2251
+ },
2252
+ {
2253
+ "type": "null"
2254
+ }
2255
+ ],
1657
2256
  "description": "A popupInfo object defining the content of popup window when you click a feature on the map. Applicable to features in a map notes feature layer only."
1658
2257
  },
1659
2258
  "symbol": {
2259
+ "anyOf": [
2260
+ {
2261
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolJson"
2262
+ },
2263
+ {
2264
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.CIMSymbolReferenceJson"
2265
+ },
2266
+ {
2267
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PictureFillSymbolJson"
2268
+ },
2269
+ {
2270
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PictureMarkerSymbolJson"
2271
+ },
2272
+ {
2273
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleFillSymbolJson"
2274
+ },
2275
+ {
2276
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleLineSymbolJson"
2277
+ },
2278
+ {
2279
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.SimpleMarkerSymbolJson"
2280
+ },
2281
+ {
2282
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.TextSymbolJson"
2283
+ },
2284
+ {
2285
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.LabelSymbol3DJson"
2286
+ },
2287
+ {
2288
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.LineSymbol3DJson"
2289
+ },
2290
+ {
2291
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.MeshSymbol3DJson"
2292
+ },
2293
+ {
2294
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PointSymbol3DJson"
2295
+ },
2296
+ {
2297
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.PolygonSymbol3DJson"
2298
+ },
2299
+ {
2300
+ "$ref": "#/definitions/esri.rest-api.SymbolJson.StyleSymbolReferenceJson"
2301
+ },
2302
+ {
2303
+ "type": "null"
2304
+ }
2305
+ ],
1660
2306
  "description": "Symbol used for drawing the feature."
1661
2307
  }
1662
2308
  }
@@ -1667,14 +2313,26 @@ esri.rest-api.GeometryJson.PointJson properties:
1667
2313
  {
1668
2314
  "m": {
1669
2315
  "description": "M coordinate which contains measures used for linear referencing.",
1670
- "type": "number"
2316
+ "type": [
2317
+ "null",
2318
+ "number"
2319
+ ]
1671
2320
  },
1672
2321
  "spatialReference": {
2322
+ "anyOf": [
2323
+ {
2324
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2325
+ },
2326
+ {
2327
+ "type": "null"
2328
+ }
2329
+ ],
1673
2330
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1674
2331
  },
1675
2332
  "x": {
1676
2333
  "description": "X coordinate which is measured along the east/west axis.",
1677
2334
  "type": [
2335
+ "null",
1678
2336
  "string",
1679
2337
  "number"
1680
2338
  ],
@@ -1683,6 +2341,7 @@ esri.rest-api.GeometryJson.PointJson properties:
1683
2341
  "y": {
1684
2342
  "description": "Y coordinate which is measured along the north/south axis.",
1685
2343
  "type": [
2344
+ "null",
1686
2345
  "string",
1687
2346
  "number"
1688
2347
  ],
@@ -1691,6 +2350,7 @@ esri.rest-api.GeometryJson.PointJson properties:
1691
2350
  "z": {
1692
2351
  "description": "Z coordinate which measures height or elevation.",
1693
2352
  "type": [
2353
+ "null",
1694
2354
  "string",
1695
2355
  "number"
1696
2356
  ]
@@ -1703,11 +2363,17 @@ esri.rest-api.GeometryJson.MultipointJson properties:
1703
2363
  {
1704
2364
  "hasM": {
1705
2365
  "description": "Indicates whether the geometry contains M coordinate values.",
1706
- "type": "boolean"
2366
+ "type": [
2367
+ "null",
2368
+ "boolean"
2369
+ ]
1707
2370
  },
1708
2371
  "hasZ": {
1709
2372
  "description": "Indicates whether the geometry contains Z coordinate values.",
1710
- "type": "boolean"
2373
+ "type": [
2374
+ "null",
2375
+ "boolean"
2376
+ ]
1711
2377
  },
1712
2378
  "points": {
1713
2379
  "description": "An array that corresponds to 2D and 3D points.",
@@ -1721,6 +2387,14 @@ esri.rest-api.GeometryJson.MultipointJson properties:
1721
2387
  "isRequired": "true"
1722
2388
  },
1723
2389
  "spatialReference": {
2390
+ "anyOf": [
2391
+ {
2392
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2393
+ },
2394
+ {
2395
+ "type": "null"
2396
+ }
2397
+ ],
1724
2398
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1725
2399
  }
1726
2400
  }
@@ -1731,11 +2405,17 @@ esri.rest-api.GeometryJson.PolylineJson properties:
1731
2405
  {
1732
2406
  "hasM": {
1733
2407
  "description": "Indicates whether the geometry contains M coordinate values.",
1734
- "type": "boolean"
2408
+ "type": [
2409
+ "null",
2410
+ "boolean"
2411
+ ]
1735
2412
  },
1736
2413
  "hasZ": {
1737
2414
  "description": "Indicates whether the geometry contains Z coordinate values.",
1738
- "type": "boolean"
2415
+ "type": [
2416
+ "null",
2417
+ "boolean"
2418
+ ]
1739
2419
  },
1740
2420
  "paths": {
1741
2421
  "description": "Three nested arrays which corresponds to a polyline.",
@@ -1752,6 +2432,14 @@ esri.rest-api.GeometryJson.PolylineJson properties:
1752
2432
  "isRequired": "true"
1753
2433
  },
1754
2434
  "spatialReference": {
2435
+ "anyOf": [
2436
+ {
2437
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2438
+ },
2439
+ {
2440
+ "type": "null"
2441
+ }
2442
+ ],
1755
2443
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1756
2444
  }
1757
2445
  }
@@ -1762,11 +2450,17 @@ esri.rest-api.GeometryJson.PolygonJson properties:
1762
2450
  {
1763
2451
  "hasM": {
1764
2452
  "description": "Indicates whether the geometry contains M coordinate values.",
1765
- "type": "boolean"
2453
+ "type": [
2454
+ "null",
2455
+ "boolean"
2456
+ ]
1766
2457
  },
1767
2458
  "hasZ": {
1768
2459
  "description": "Indicates whether the geometry contains Z coordinate values.",
1769
- "type": "boolean"
2460
+ "type": [
2461
+ "null",
2462
+ "boolean"
2463
+ ]
1770
2464
  },
1771
2465
  "rings": {
1772
2466
  "description": "Represents an array of points. Each point is an array of numbers.",
@@ -1783,6 +2477,14 @@ esri.rest-api.GeometryJson.PolygonJson properties:
1783
2477
  "isRequired": "true"
1784
2478
  },
1785
2479
  "spatialReference": {
2480
+ "anyOf": [
2481
+ {
2482
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2483
+ },
2484
+ {
2485
+ "type": "null"
2486
+ }
2487
+ ],
1786
2488
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1787
2489
  }
1788
2490
  }
@@ -1792,23 +2494,43 @@ esri.rest-api.GeometryJson.ExtentJson properties:
1792
2494
  ```json
1793
2495
  {
1794
2496
  "spatialReference": {
2497
+ "anyOf": [
2498
+ {
2499
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2500
+ },
2501
+ {
2502
+ "type": "null"
2503
+ }
2504
+ ],
1795
2505
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1796
2506
  },
1797
2507
  "xmax": {
1798
2508
  "description": "A numeric value indicating the top-right X-coordinate of an extent envelope.",
1799
- "type": "number"
2509
+ "type": [
2510
+ "null",
2511
+ "number"
2512
+ ]
1800
2513
  },
1801
2514
  "xmin": {
1802
2515
  "description": "A numeric value indicating the bottom-left X-coordinate of an extent envelope.",
1803
- "type": "number"
2516
+ "type": [
2517
+ "null",
2518
+ "number"
2519
+ ]
1804
2520
  },
1805
2521
  "ymax": {
1806
2522
  "description": "A numeric value indicating the top-right Y-coordinate of an extent envelope.",
1807
- "type": "number"
2523
+ "type": [
2524
+ "null",
2525
+ "number"
2526
+ ]
1808
2527
  },
1809
2528
  "ymin": {
1810
2529
  "description": "A numeric value indicating the bottom-left Y-coordinate of an extent envelope.",
1811
- "type": "number"
2530
+ "type": [
2531
+ "null",
2532
+ "number"
2533
+ ]
1812
2534
  }
1813
2535
  }
1814
2536
  ```
@@ -1818,14 +2540,26 @@ esri.rest-api.GeometryJson.PointJson properties:
1818
2540
  {
1819
2541
  "m": {
1820
2542
  "description": "M coordinate which contains measures used for linear referencing.",
1821
- "type": "number"
2543
+ "type": [
2544
+ "null",
2545
+ "number"
2546
+ ]
1822
2547
  },
1823
2548
  "spatialReference": {
2549
+ "anyOf": [
2550
+ {
2551
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2552
+ },
2553
+ {
2554
+ "type": "null"
2555
+ }
2556
+ ],
1824
2557
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1825
2558
  },
1826
2559
  "x": {
1827
2560
  "description": "X coordinate which is measured along the east/west axis.",
1828
2561
  "type": [
2562
+ "null",
1829
2563
  "string",
1830
2564
  "number"
1831
2565
  ],
@@ -1834,6 +2568,7 @@ esri.rest-api.GeometryJson.PointJson properties:
1834
2568
  "y": {
1835
2569
  "description": "Y coordinate which is measured along the north/south axis.",
1836
2570
  "type": [
2571
+ "null",
1837
2572
  "string",
1838
2573
  "number"
1839
2574
  ],
@@ -1842,6 +2577,7 @@ esri.rest-api.GeometryJson.PointJson properties:
1842
2577
  "z": {
1843
2578
  "description": "Z coordinate which measures height or elevation.",
1844
2579
  "type": [
2580
+ "null",
1845
2581
  "string",
1846
2582
  "number"
1847
2583
  ]
@@ -1854,11 +2590,17 @@ esri.rest-api.GeometryJson.MultipointJson properties:
1854
2590
  {
1855
2591
  "hasM": {
1856
2592
  "description": "Indicates whether the geometry contains M coordinate values.",
1857
- "type": "boolean"
2593
+ "type": [
2594
+ "null",
2595
+ "boolean"
2596
+ ]
1858
2597
  },
1859
2598
  "hasZ": {
1860
2599
  "description": "Indicates whether the geometry contains Z coordinate values.",
1861
- "type": "boolean"
2600
+ "type": [
2601
+ "null",
2602
+ "boolean"
2603
+ ]
1862
2604
  },
1863
2605
  "points": {
1864
2606
  "description": "An array that corresponds to 2D and 3D points.",
@@ -1872,6 +2614,14 @@ esri.rest-api.GeometryJson.MultipointJson properties:
1872
2614
  "isRequired": "true"
1873
2615
  },
1874
2616
  "spatialReference": {
2617
+ "anyOf": [
2618
+ {
2619
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2620
+ },
2621
+ {
2622
+ "type": "null"
2623
+ }
2624
+ ],
1875
2625
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1876
2626
  }
1877
2627
  }
@@ -1882,11 +2632,17 @@ esri.rest-api.GeometryJson.PolylineJson properties:
1882
2632
  {
1883
2633
  "hasM": {
1884
2634
  "description": "Indicates whether the geometry contains M coordinate values.",
1885
- "type": "boolean"
2635
+ "type": [
2636
+ "null",
2637
+ "boolean"
2638
+ ]
1886
2639
  },
1887
2640
  "hasZ": {
1888
2641
  "description": "Indicates whether the geometry contains Z coordinate values.",
1889
- "type": "boolean"
2642
+ "type": [
2643
+ "null",
2644
+ "boolean"
2645
+ ]
1890
2646
  },
1891
2647
  "paths": {
1892
2648
  "description": "Three nested arrays which corresponds to a polyline.",
@@ -1903,6 +2659,14 @@ esri.rest-api.GeometryJson.PolylineJson properties:
1903
2659
  "isRequired": "true"
1904
2660
  },
1905
2661
  "spatialReference": {
2662
+ "anyOf": [
2663
+ {
2664
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2665
+ },
2666
+ {
2667
+ "type": "null"
2668
+ }
2669
+ ],
1906
2670
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1907
2671
  }
1908
2672
  }
@@ -1913,11 +2677,17 @@ esri.rest-api.GeometryJson.PolygonJson properties:
1913
2677
  {
1914
2678
  "hasM": {
1915
2679
  "description": "Indicates whether the geometry contains M coordinate values.",
1916
- "type": "boolean"
2680
+ "type": [
2681
+ "null",
2682
+ "boolean"
2683
+ ]
1917
2684
  },
1918
2685
  "hasZ": {
1919
2686
  "description": "Indicates whether the geometry contains Z coordinate values.",
1920
- "type": "boolean"
2687
+ "type": [
2688
+ "null",
2689
+ "boolean"
2690
+ ]
1921
2691
  },
1922
2692
  "rings": {
1923
2693
  "description": "Represents an array of points. Each point is an array of numbers.",
@@ -1934,6 +2704,14 @@ esri.rest-api.GeometryJson.PolygonJson properties:
1934
2704
  "isRequired": "true"
1935
2705
  },
1936
2706
  "spatialReference": {
2707
+ "anyOf": [
2708
+ {
2709
+ "$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson"
2710
+ },
2711
+ {
2712
+ "type": "null"
2713
+ }
2714
+ ],
1937
2715
  "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT)."
1938
2716
  }
1939
2717
  }
@@ -2105,17 +2883,51 @@ esri.rest-api.ViewpointJson.ViewpointJson properties:
2105
2883
  ```json
2106
2884
  {
2107
2885
  "camera": {
2886
+ "anyOf": [
2887
+ {
2888
+ "$ref": "#/definitions/esri.rest-api.ViewpointJson.CameraJson"
2889
+ },
2890
+ {
2891
+ "type": "null"
2892
+ }
2893
+ ],
2108
2894
  "description": "The camera defines the position, tilt, and heading of the point from which the SceneView's visible extent is observed."
2109
2895
  },
2110
2896
  "rotation": {
2111
2897
  "description": "The rotation of due north in relation to the top of the view in degrees.",
2112
- "type": "number"
2898
+ "type": [
2899
+ "null",
2900
+ "number"
2901
+ ]
2113
2902
  },
2114
2903
  "scale": {
2115
2904
  "description": "The scale of the viewpoint.",
2116
- "type": "number"
2905
+ "type": [
2906
+ "null",
2907
+ "number"
2908
+ ]
2117
2909
  },
2118
2910
  "targetGeometry": {
2911
+ "anyOf": [
2912
+ {
2913
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
2914
+ },
2915
+ {
2916
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
2917
+ },
2918
+ {
2919
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
2920
+ },
2921
+ {
2922
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
2923
+ },
2924
+ {
2925
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
2926
+ },
2927
+ {
2928
+ "type": "null"
2929
+ }
2930
+ ],
2119
2931
  "description": "The target geometry framed by the viewpoint."
2120
2932
  }
2121
2933
  }