forked from ramp4-pcar4/ramp4-pcar4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
2020 lines (2018 loc) · 84 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "http://json-schema.org/draft/2019-09/schema#",
"title": "RAMP4 Config Schema",
"type": "object",
"version": 4.0,
"unevaluatedProperties": false,
"$defs": {
"help": {
"type": "object",
"description": "Specifies details for the Help section.",
"properties": {
"folderName": {
"type": "string",
"default": "default",
"description": "Help folder name within the help directory which contains the help content and images. Markdown files must be named for the language they support, e.g. en.md, fr.md"
},
"panelWidth": {
"type": "number",
"default": 350,
"description": "Help panel width in pixels"
}
},
"required": ["folderName"],
"additionalProperties": false
},
"northarrow": {
"type": "object",
"description": "Provides configuration to the northarrow fixture.",
"properties": {
"arrowIcon": {
"type": "string",
"default": "",
"description": "The graphical icon url/data url of the north arrow."
},
"poleIcon": {
"type": "string",
"default": "",
"description": "The graphical icon url/data url of the north pole that replaces north arrow when it's on north pole"
}
},
"required": ["arrowIcon", "poleIcon"],
"additionalProperties": false
},
"overviewmap": {
"type": "object",
"description": "Provides the configuration to the overviewmap fixture",
"properties": {
"basemaps": {
"type": "object",
"description": "Key-value dictionary where the key is the tile schema id and the value is a basemap. Can provide an overriding basemap for each tile schema in the main map config.",
"additionalProperties": {
"type": "object",
"$ref": "#/$defs/basemapNode"
}
},
"startMinimized": {
"type": "boolean",
"default": true,
"description": "Initial state of the overviewmap"
},
"expandFactor": {
"type": "number",
"default": 1.5,
"description": "The ratio of the overview map's extent size compared to the main map's extent size"
}
}
},
"scrollguard": {
"type": "object",
"description": "Provides the configuration to the scrollguard fixture",
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Indicates if the scrollguard should be active"
}
}
},
"appbar": {
"type": "object",
"description": "Provides configuration to the appbar fixture. If not supplied, the default appbar controls are displayed.",
"properties": {
"items": {
"type": "array",
"default": ["legend", "geosearch", "basemap"],
"description": "Items that are displayed on the appbar, such as buttons linked to map components, formatters, images, etc.",
"items": {
"oneOf": [
{
"type": "string",
"default": "",
"description": "Specifies a map component or type of formatting element for appbar (i.e. divider)."
},
{
"type": "object",
"description": "Specifies an appbar component with custom options.",
"properties": {
"id": {
"type": "string",
"description": "Id of the appbar component."
},
"options": {
"type": "object",
"description": "Optional additional properties to customize the appbar component.",
"additionalProperties": true
}
}
}
]
},
"minItems": 1
},
"temporaryButtons": {
"type": "array",
"default": [],
"description": "Temporary buttons displayed on the appbar. They are shown when the related panel is opened and disappear when it is closed.",
"items": {
"oneOf": [
{
"type": "string",
"description": "Id of the appbar component. The related panel's id should be 'id-panel'."
},
{
"type": "object",
"description": "Specifies a temporary appbar button. The id of the related panel and appbar component do not need to match.",
"properties": {
"panelId": {
"type": "string",
"description": "Id of the related panel."
},
"appbarItem": {
"type": "string",
"description": "Id of the appbar component."
}
}
}
]
}
}
},
"required": ["items"],
"additionalProperties": false
},
"details": {
"type": "object",
"description": "Provides configuration to the details fixture.",
"properties": {
"template": {
"type": "string",
"description": "Custom Vue component to render as details template"
}
},
"required": ["template"],
"additionalProperties": false
},
"geosearch": {
"type": "object",
"description": "Provides configuration to the geosearch fixture.",
"properties": {
"serviceUrls": {
"type": "object",
"properties": {
"geoNames": {
"type": "string",
"default": "",
"description": "Endpoint url for geoNames service."
},
"geoLocation": {
"type": "string",
"default": "",
"description": "Endpoint url for geoLocation service."
},
"geoProvince": {
"type": "string",
"default": "https://geogratis.gc.ca/services/geoname/@{language}/codes/province.json",
"description": "Endpoint url for provinces service."
},
"geoTypes": {
"type": "string",
"default": "https://geogratis.gc.ca/services/geoname/@{language}/codes/concise.json",
"description": "Endpoint url for types service."
},
"settings": {
"type": "object",
"properties": {
"categories": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Filter the search results based on the type of the geographical names. Allowed values can be found here (if using the Canadian GeoNames Search Service API): http://geogratis.gc.ca/services/geoname/en/codes/concise."
},
"sortOrder": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "The sort order of the defined 'categories'. Any missing categories are appended to the bottom of the sorted list. The results can still be sorted through this option even if there are no categories being filtered."
},
"maxResults": {
"type": "number",
"default": 100,
"description": "The maximum number of results to return per request. The Canadian GeoNames Search Service API has a 1000 search limit which will be used as an upper limit of results returned unless another service is being used with a higher limit. The default is 100 results."
},
"officialOnly": {
"type": "boolean",
"default": false,
"description": "Whether to return only official names for the geographic names. Default is false which will return both official names and formerly official names."
}
}
}
},
"required": [
"geoNames",
"geoLocation",
"geoProvince",
"geoTypes"
]
}
},
"unevaluatedProperties": false
},
"legend": {
"type": "object",
"description": "Provides configuration to the legend fixture.",
"properties": {
"headerControls": {
"$ref": "legendHeaderControls",
"default": [
"wizard",
"layerReorder",
"groupToggle",
"visibilityToggle"
]
},
"isOpen": {
"type": "boolean",
"default": false,
"description": "Specifies whether legend panel is open by default."
},
"root": {
"$ref": "#/$defs/entryGroup"
}
},
"required": ["root"],
"unevaluatedProperties": false
},
"entryGroup": {
"type": "object",
"description": "A legend group element that can contain child elements to form a nested legend structure.",
"properties": {
"name": {
"type": "string",
"default": "",
"description": "Title of the legend group."
},
"hidden": {
"type": "boolean",
"default": false,
"description": "Indicates that the legend group will be hidden from the UI."
},
"expanded": {
"type": "boolean",
"default": true,
"description": "Specifies if legend group is expanded by default."
},
"controls": {
"$ref": "#/$defs/legendGroupControls",
"default": [
"opacity",
"visibility",
"symbology",
"identify",
"reload",
"remove",
"settings"
]
},
"disabledControls": {
"$ref": "#/$defs/legendGroupControls",
"default": []
},
"children": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/$defs/entry"
},
{
"$ref": "#/$defs/entryGroup"
},
{
"$ref": "#/$defs/infoSection"
},
{
"$ref": "#/$defs/visibilitySet"
}
]
},
"minItems": 1
}
},
"required": ["name", "children"],
"unevaluatedProperties": false
},
"legendHeaderControls": {
"type": "array",
"description": "All possible controls to show in the legend header.",
"items": {
"type": "string",
"enum": [
"wizard",
"layerReorder",
"groupToggle",
"visibilityToggle"
]
},
"uniqueItems": true
},
"legendGroupControls": {
"type": "array",
"description": "All possible controls to be enabled/disabled on a legend group.",
"items": {
"type": "string",
"enum": [
"opacity",
"visibility",
"symbology",
"identify",
"reload",
"remove",
"settings"
]
},
"uniqueItems": true
},
"layerControls": {
"type": "array",
"description": "All possible controls to be enabled/disabled on a single legend entry.",
"items": {
"type": "string",
"enum": [
"opacity",
"visibility",
"boundingBox",
"identify",
"metadata",
"boundaryZoom",
"refresh",
"reload",
"remove",
"settings",
"data",
"styles"
]
},
"uniqueItems": true
},
"entry": {
"type": "object",
"description": "A single entry legend element.",
"properties": {
"layerId": {
"type": "string",
"description": "Link to a layer defined in the layers section of config."
},
"hidden": {
"type": "boolean",
"default": false,
"description": "Indicates that the legend block will be hidden from the UI and all its controls will be inaccessible to the user."
},
"controlledIds": {
"type": "array",
"default": [],
"description": "List of additional layer ids which controlled by this layer.",
"items": {
"type": "string"
}
},
"entryIndex": {
"type": "integer",
"default": 0,
"description": "Index of the 'sublayer' in the case of a map image layer."
},
"entryId": {
"type": "string",
"default": 0,
"description": "Id of the 'sublayer' in the case of an OGC WMS layer."
},
"coverIcon": {
"type": "string",
"default": "",
"description": "An optional icon used to represent the layer."
},
"description": {
"type": "string",
"default": "",
"description": "Optional description displayed above the symbology stack on mouse hover."
},
"symbologyStack": {
"$ref": "#/$defs/symbologyStack"
},
"symbologyRenderStyle": {
"type": "string",
"enum": ["icons", "images"],
"default": "icons",
"description": "An optional style, describes how the symbology stack should be rendered."
},
"symbologyExpanded": {
"type": "boolean",
"default": false,
"description": "Indicates if symbology stack is expand by default"
}
},
"required": ["layerId"],
"unevaluatedProperties": false
},
"symbologyStack": {
"type": "array",
"description": "A collection of image-label pairings making up a layer's symbology stack.",
"items": {
"type": "object",
"properties": {
"image": {
"type": "string",
"default": "",
"description": "Either a data URI or a URL to a source that supports CORS headers."
},
"text": {
"type": "string",
"default": "",
"description": "Description of a layer feature."
},
"sqlQuery": {
"type": "string",
"default": "",
"description": "An SQL where clause by which the map and datatable attributes can be filtered. All the query results for the symbologyStack should cover all attributes for that layer."
}
},
"required": ["image", "text"],
"additionalProperties": false
},
"minItems": 1
},
"infoSection": {
"type": "object",
"description": "Static content that can be added to a legend.",
"properties": {
"infoType": {
"type": "string",
"enum": ["title", "image", "text"],
"default": "title",
"description": "Type of info content."
},
"content": {
"type": "string",
"description": "Actual content of the section - description of title/text or URL to image file."
}
},
"required": ["infoType", "content"],
"additionalProperties": false
},
"visibilitySet": {
"type": "object",
"description": "A visibility set legend element with only one child element visible at all times.",
"properties": {
"collapse": {
"type": "boolean",
"default": false,
"description": "Renders a visiblity set as a single legend entry."
},
"exclusiveVisibility": {
"type": "array",
"description": "A list of legend elements forming the visibility set.",
"items": {
"oneOf": [
{
"$ref": "#/$defs/entryGroup"
},
{
"$ref": "#/$defs/entry"
}
]
},
"minItems": 1
}
},
"required": ["exclusiveVisibility"],
"unevaluatedProperties": false
},
"mapnav": {
"type": "object",
"description": "Provides configuration to the map navigation bar fixture. If not supplied the default mapnav buttons are shown.",
"properties": {
"zoomOption": {
"type": "string",
"enum": ["all", "buttons", "slider"],
"default": "buttons",
"description": "Specifies between zoom buttons or zoom sliders."
},
"items": {
"type": "array",
"default": ["fullscreen", "help", "home", "basemap"],
"description": "Map navigation buttons displayed on mapnav.",
"items": {
"type": "string",
"enum": [
"geolocator",
"zoom",
"home",
"basemap",
"help",
"fullscreen",
"geosearch",
"legend"
]
},
"uniqueItems": true
}
},
"unevaluatedProperties": false
},
"export-basic": {
"type": "object",
"description": "Provides configuration to the basic export fixture. If not supplied the default config used.",
"properties": {
"title": {
"type": "object",
"description": "Configuration for the title text of the exported image.",
"properties": {
"disabled": {
"type": "boolean",
"default": false,
"description": "Indicates if the export title is disabled."
},
"value": {
"type": "string",
"default": "",
"description": "The value of the title text."
}
}
},
"fileName": {
"type": "string",
"description": "The filename of the exported image."
}
}
},
"layerList": {
"type": "array",
"description": "List of defined layers to be displayed, added to the map in the same order it appears in this list.",
"items": {
"oneOf": [
{
"$ref": "#/$defs/basicLayerNode"
},
{
"$ref": "#/$defs/mapImageLayerNode"
},
{
"$ref": "#/$defs/featureLayerNode"
},
{
"$ref": "#/$defs/fileLayerNode"
},
{
"$ref": "#/$defs/wfsLayerNode"
},
{
"$ref": "#/$defs/wmsLayerNode"
},
{
"$ref": "#/$defs/osmLayerNode"
}
]
},
"minItems": 0
},
"basicLayerNode": {
"type": "object",
"description": "Properties describing a generic layer type that can represent an ESRI tile/image layer.",
"properties": {
"id": {
"type": "string",
"description": "Identification of the layer for referencing within the viewer (does not relate directly to any external service)."
},
"name": {
"type": "string",
"default": "",
"description": "Display name of the layer."
},
"url": {
"type": "string",
"default": "",
"description": "Service endpoint of the layer. It should match the type provided in layerType."
},
"refreshInterval": {
"type": "number",
"default": 0,
"description": "The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes."
},
"expectedResponseTime": {
"type": "number",
"default": 4000,
"description": "The time span after which a 'slow-to-respond' notification is shown for any loading or refreshing layer."
},
"metadataUrl": {
"type": "string",
"default": null,
"description": "Metadata url of the layer service."
},
"catalogueUrl": {
"type": "string",
"default": null,
"description": "Catalogue url of the layer service."
},
"layerType": {
"type": "string",
"enum": ["esri-imagery", "esri-tile"],
"description": "Service type shorthand for basic layers."
},
"extent": {
"$ref": "#/$defs/extentWithReferenceNode"
},
"controls": {
"$ref": "#/$defs/layerControls",
"default": [
"opacity",
"visibility",
"boundingBox",
"identify",
"metadata",
"boundaryZoom",
"refresh",
"reload",
"remove",
"settings"
]
},
"disabledControls": {
"$ref": "#/$defs/layerControls",
"default": []
},
"state": {
"$ref": "#/$defs/initialLayerSettings"
},
"cosmetic": {
"type": "boolean",
"default": false,
"description": "Indicates if this layer is a cosmetic supporting layer which will not be considered for general user interaction."
}
},
"required": ["id", "layerType", "url"],
"unevaluatedProperties": false
},
"osmLayerNode": {
"type": "object",
"description": "Properties describing an OpenStreetMap layer.",
"properties": {
"id": {
"type": "string",
"description": "Identification of the layer for referencing within the viewer (does not relate directly to any external service)."
},
"name": {
"type": "string",
"default": "",
"description": "Display name of the layer."
},
"expectedResponseTime": {
"type": "number",
"default": 4000,
"description": "The time span after which a 'slow-to-respond' notification is shown for any loading or refreshing layer."
},
"metadataUrl": {
"type": "string",
"default": null,
"description": "Metadata url of the layer service."
},
"layerType": {
"type": "string",
"enum": ["osm-tile"],
"description": "Service type shorthand for OpenStreetMap layers."
},
"extent": {
"$ref": "#/$defs/extentWithReferenceNode"
},
"controls": {
"$ref": "#/$defs/layerControls",
"default": [
"opacity",
"visibility",
"boundingBox",
"metadata",
"boundaryZoom",
"reload",
"remove",
"settings"
]
},
"disabledControls": {
"$ref": "#/$defs/layerControls",
"default": []
},
"state": {
"$ref": "#/$defs/initialLayerSettings"
},
"cosmetic": {
"type": "boolean",
"default": false,
"description": "Indicates if this layer is a cosmetic supporting layer which will not be considered for general user interaction."
}
},
"required": ["id", "layerType"],
"unevaluatedProperties": false
},
"mapImageLayerNode": {
"type": "object",
"description": "Properties describing a map image Layer which is rendered as a group by default.",
"properties": {
"id": {
"type": "string",
"description": "Identification of the layer for referencing within the viewer (does not relate directly to any external service)."
},
"name": {
"type": "string",
"default": "",
"description": "The display name of the layer. If not present, the viewer will make an attempt to scrape this information."
},
"url": {
"type": "string",
"default": "",
"description": "The service endpoint of the layer. It should match the type provided in layerType."
},
"refreshInterval": {
"type": "number",
"default": 0,
"description": "The automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes."
},
"expectedResponseTime": {
"type": "number",
"default": 4000,
"description": "The time span after which a 'slow-to-respond' notification is shown for any loading or refreshing layer."
},
"metadataUrl": {
"type": "string",
"default": null,
"description": "Metadata url of the layer service."
},
"catalogueUrl": {
"type": "string",
"default": null,
"description": "Catalogue url of the layer service."
},
"layerType": {
"type": "string",
"enum": ["esri-map-image"],
"default": "esri-map-image",
"description": "Service type shorthand for map image layers."
},
"singleEntryCollapse": {
"type": "boolean",
"default": false,
"description": "Indicates that the map image layer with a single layer entry should be rendered without the root group."
},
"layerEntries": {
"type": "array",
"description": "Layer entries rendered as part of the map image layer group.",
"items": {
"$ref": "#/$defs/mapImageLayerEntryNode"
},
"minItems": 1
},
"tolerance": {
"type": "number",
"default": 5,
"description": "Specifies the tolerance in pixels when determining if a feature was clicked. Should be non-negative integer"
},
"extent": {
"$ref": "#/$defs/extentWithReferenceNode"
},
"controls": {
"$ref": "#/$defs/layerControls",
"default": [
"opacity",
"visibility",
"boundingBox",
"identify",
"metadata",
"boundaryZoom",
"refresh",
"reload",
"remove",
"settings"
]
},
"disabledControls": {
"$ref": "#/$defs/layerControls",
"default": []
},
"state": {
"$ref": "#/$defs/initialLayerSettings"
},
"imageFormat": {
"type": "string",
"enum": [
"png",
"png8",
"png24",
"png32",
"jpg",
"pdf",
"bmp",
"gif",
"svg"
],
"default": "png32",
"description": "The format of the layer image output."
},
"fixtures": {
"$ref": "#/$defs/layerFixtureConfig"
}
},
"required": ["id", "layerType", "layerEntries", "url"],
"unevaluatedProperties": false
},
"mapImageLayerEntryNode": {
"type": "object",
"description": "A child entry of a map image layer.",
"properties": {
"index": {
"type": "number",
"description": "Index of the layer in the map service."
},
"name": {
"type": "string",
"default": "",
"description": "A descriptive name for the layer, can override the name coming from the service."
},
"nameField": {
"type": "string",
"default": "",
"description": "The display field of the layer. If it is not present the viewer will make an attempt to scrape this information."
},
"extent": {
"$ref": "#/$defs/extentWithReferenceNode"
},
"controls": {
"$ref": "#/$defs/layerControls"
},
"state": {
"$ref": "#/$defs/initialLayerSettings"
},
"stateOnly": {
"type": "boolean",
"default": false,
"description": "A flag indicating this entry is only for state tracking (i.e. it should not be displayed on the UI and all of the controls will be ignored, but the layer itself will be displayed on the map with the given state settings)."
},
"fieldMetadata": {
"type": "object",
"description": "Specifies options for the fields of a layer.",
"properties": {
"fieldInfo": {
"type": "array",
"description": "Specifies field info for layer.",
"items": {
"$ref": "#/$defs/fieldMetadataEntry"
}
},
"exclusiveFields": {
"type": "boolean",
"default": false,
"description": "If true, only fields in fieldInfo are downloaded. Otherwise, download all fields."
}
}
},
"fixtures": {
"$ref": "#/$defs/layerFixtureConfig"
}
},
"required": ["index"],
"unevaluatedProperties": false
},
"featureLayerNode": {
"type": "object",
"description": "Properties describing an ESRI Feature Layer.",
"properties": {
"id": {
"type": "string",
"description": "Identification of the layer for referencing within the viewer (does not relate directly to any external service)."
},
"name": {
"type": "string",
"default": "",
"description": "Display name of the layer."
},
"nameField": {
"type": "string",
"default": "",
"description": "Display field of the layer."
},
"tooltipField": {
"type": "string",
"default": "",
"description": "The field to be used for tooltips. If not present, the viewer will use nameField (if provided)."
},
"url": {
"type": "string",
"default": "",
"description": "The service endpoint of the layer. It should match the type provided in layerType."
},
"refreshInterval": {
"type": "number",
"default": 0,
"description": "Automatic refresh interval of the layer in minutes. Maximum interval is 100 minutes."
},
"expectedResponseTime": {
"type": "number",
"default": 4000,
"description": "The time span after which a 'slow-to-respond' notification is shown for any loading or refreshing layer."
},
"metadataUrl": {
"type": "string",
"default": null,
"description": "Metadata url of the layer service."
},
"catalogueUrl": {
"type": "string",
"default": null,
"description": "Catalogue url of the layer service."
},
"layerType": {
"type": "string",
"enum": ["esri-feature"],
"description": "Service type shorthand for feature layers."
},
"tolerance": {
"type": "number",
"default": 5,
"description": "Specifies the tolerance in pixels when determining if a feature was clicked. Should be non-negative integer"
},
"extent": {
"$ref": "#/$defs/extentWithReferenceNode"
},
"controls": {
"$ref": "#/$defs/layerControls",
"default": [
"opacity",
"visibility",
"boundingBox",
"identify",
"metadata",
"boundaryZoom",
"refresh",
"reload",
"remove",
"settings"
]
},
"disabledControls": {
"$ref": "#/$defs/layerControls",
"default": []
},
"state": {
"$ref": "#/$defs/initialLayerSettings"
},
"customRenderer": {
"type": "object",
"description": "Optional renderer object to apply to the layer. Follows ESRI ArcGIS Server json convention.",
"additionalProperties": true
},
"fieldMetadata": {
"type": "array",
"description": "Specifies options for the fields of a layer.",
"items": {
"$ref": "#/$defs/fieldMetadataEntry"
}
},
"fixtures": {
"$ref": "#/$defs/layerFixtureConfig"
}
},
"required": ["id", "layerType", "url"],
"additionalProperties": false
},
"fileLayerNode": {
"type": "object",
"description": "Properties describing a file layer (implemented in an ESRI feature layer).",
"properties": {
"id": {
"type": "string",
"description": "Identification of the layer for referencing within the viewer (does not relate directly to any external service)"
},
"name": {
"type": "string",
"default": "",
"description": "Display name of the layer."