{
    "title": "locationInfo",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema",
    "description": "Defines how location information will be retrieved from a [CSV](csvLayer.md) file referenced through the web, ie. referenced by URL.",
    "properties": {
        "latitudeFieldName": {
            "type": "string",
            "description": "A string defining the field name that holds the latitude (Y) coordinate."
        },
        "locationType": {
            "type": "string",
            "description": "String value indicating location type.",
            "enum": [
                "coordinates"
            ]
        },
        "longitudeFieldName": {
            "type": "string",
            "description": "A string defining the field name that holds the longitude (X) coordinate."
        }
    },
    "required": [
        "locationType"
    ],
    "additionalProperties": false,
    "esriDocumentation": {
        "examples": [
            {
                "title": "locationInfo",
                "code": {
                    "locationInfo": {
                        "locationType": "coordinates",
                        "latitudeFieldName": "latitude",
                        "longitudeFieldName": "longitude"
                    }
                }
            }
        ]
    }
}