{
    "title": "Raster Data Elevation Layer",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema",
    "description": "RasterDataElevationLayer is a single-band raster layer used for rendering elevation.",
    "properties": {
        "id": {
            "type": "string",
            "description": "A unique identifying string for the layer"
        },
        "layerType": {
            "type": "string",
            "description": "String indicating the layer type",
            "enum": [
                "RasterDataElevationLayer"
            ]
        },
        "listMode": {
            "type": "string",
            "description": "To show or hide the elevation layer in the layer list",
            "enum": [
                "hide",
                "show"
            ]
        },
        "path": {
            "type": "string",
            "description": "For offline data, a path to an ArcGIS Runtime supported raster data file. A URI format is used, starting with file: followed by a file system path. A relative path must be from the file which defines the layer. For example `file:../commondata/raster_data/beijing.tif`",
            "pattern": "^file:.+$"
        },
        "title": {
            "type": "string",
            "description": "A user-friendly string title for the layer that can be used in a table of contents. If this is not included, a title is derived from the service."
        },
        "visibility": {
            "type": "boolean",
            "description": "Boolean property determining whether the layer is initially visible in the web scene.",
            "default": true
        }
    },
    "required": [
        "id",
        "layerType",
        "path",
        "title"
    ],
    "additionalProperties": false,
    "esriDocumentation": {
        "examples": [
            {
                "title": "Raster Data Elevation Layer",
                "schema": "ground_schema.json",
                "code": {
                    "ground": {
                        "layers": [
                            {
                                "id": "local_dem",
                                "title": "Local DEM",
                                "path": "file:../commondata/DEM.tif",
                                "visibility": true,
                                "layerType": "RasterDataElevationLayer"
                            }
                        ]
                    }
                }
            }
        ]
    }
}