{
    "title": "Web Map Tile Service Info",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema",
    "description": "Object defines and provides information about layers in a [WMTSLayer](webTiledLayer.md) service.",
    "properties": {
        "customLayerParameters": {
            "type": "object",
            "description": "A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to `GetTile`. The `customLayerParameters` property takes precedence if `customParameters` is also present.",
            "patternProperties": {
                ".*": {
                    "type": "string"
                }
            }
        },
        "customParameters": {
            "type": "object",
            "description": "A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to `GetCapabilities` and `GetTile`. If used with the `customLayerParameters` property, `customParameters` will not take precedence.",
            "patternProperties": {
                ".*": {
                    "type": "string"
                }
            }
        },
        "layerIdentifier": {
            "type": "string",
            "description": "Identifier for the specific layer used in the WMTS service. Required input by the user."
        },
        "tileMatrixSet": {
            "type": "string",
            "description": "Tiling schema, set by the WMTS service."
        },
        "url": {
            "type": "string",
            "description": "URL to the WMTS web service. Required input by the user.",
            "format": "uri"
        }
    },
    "additionalProperties": false,
    "esriDocumentation": {
        "examples": [
            {
                "title": "Web Map Service Tile Info",
                "description": "The WMTSInfo as used within a WMTS Layer",
                "schema": "wmtsInfo_schema.json",
                "code": {
                    "wmtsInfo": {
                        "url": "http://maps.wien.gv.at/wmts",
                        "layerIdentifier": "lb",
                        "tileMatrixSet": "google3857",
                        "customParameters": {
                            "token": "1ADE-FR54T"
                        },
                        "customLayerParameters": {
                            "style": "basic"
                        }
                    }
                }
            }
        ]
    }
}