OptionaldataThis object applies if the layerDefinition source is set to DynamicDataLayer. See https://developers.arcgis.com/web-map-specification/objects/dataSource/ https://developers.arcgis.com/web-scene-specification/objects/dataSource/.
OptionalfieldsAn array of objects specifying information about an attribute field.
A string value indicating the type. This value is dataLayer.
A dynamic data layer derived from a registered workspace. More information on this can be found in the ArcGIS REST API help. See https://developers.arcgis.com/web-map-specification/objects/dynamicDataLayer_source/ https://developers.arcgis.com/web-scene-specification/objects/dynamicDataLayer_source/.