{"title":"Scene Layer config on layer item","type":"object","$schema":"http://json-schema.org/draft-07/schema","properties":{"layers":{"type":"array","items":{"properties":{"disablePopup":{"type":"boolean","description":"disablePopups allows a client to ignore popups defined by the service item."},"id":{"type":"integer","description":"ID of the service layer."},"layerDefinition":{"type":"object","description":"A layerDefinition object defining the attribute schema and drawing information for the layer.","allOf":[{"$ref":"layerDefinition_schema.json"},{"properties":{"definitionExpression":{},"drawingInfo":{},"elevationInfo":{},"featureReduction":{},"minScale":{},"maxScale":{},"rangeInfos":{}},"additionalProperties":false}]},"listMode":{"type":"string","description":"To show or hide layers in the layer list","enum":["hide","show"]},"opacity":{"type":"number","description":"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.","minimum":0,"maximum":1,"default":1},"popupInfo":{"type":"object","description":"A popupInfo object defining the content of pop-up windows when you click or query a feature.","$ref":"popupInfo_schema.json"},"screenSizePerspective":{"type":"boolean","description":"Apply [perspective scaling](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#screenSizePerspectiveEnabled) to screen-size symbols.","default":false},"showLabels":{"type":"boolean","description":"If the layer has a labelingInfo property then labels show on the scene only if the showLabels property it true.","default":false},"showLegend":{"type":"boolean","description":"Boolean value indicating whether to display the layer in the legend. Default value is `true`.","default":true},"visibility":{"type":"boolean","description":"Boolean property determining whether the layer is initially visible in the web scene","default":true}},"additionalProperties":false}}},"additionalProperties":false,"esriDocumentation":{"examples":[{"title":"operationalLayer","description":"Live sample web scene showing the Scene Layer as an [operationalLayer](https://www.arcgis.com/home/webscene/viewer.html?webscene=40b3391c9cad4beca75155e79d42366d)","code":{"item":{"layers":[{"id":0,"layerDefinition":{"drawingInfo":{"renderer":{"type":"simple","symbol":{"type":"MeshSymbol3D","symbolLayers":[{"type":"Fill","material":{"color":[255,0,0]}}]}}}}}]}}}]}}