{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"properties": {
		"spatialReference": {
			"type": "object",
			"description": "Spatial reference of the returned candidates.",
			"properties": {
				"wkid": {
					"type": "integer",
					"description": "The well-known ID of the spatial reference."
				},
				"latestWkid": {
					"type": "integer",
					"description": "The latest well-known ID of the spatial reference."
				}
			}
		},
		"candidates": {
			"type": "array",
			"description": "The list of up to 5 address candidates found",
			"items": {
				"type": "object",
				"properties": {
					"score": {
						"type": "number",
						"description": "The score of the candidate, from 0-100. A higher score is a better match to the input."
					},
					"address": {
						"type": "string",
						"description": "The matched address."
					},
					"location": {
						"type": "object",
						"description": "The location of the candidate in the output spatial reference.",
						"properties": {
							"x": {
								"type": "number",
								"description": "The x-coordinate in the specified output reference."
							},
							"y": {
								"type": "number",
								"description": "The y-coordinate in the specified output reference."
							}
						}
					},
					"attributes": {
						"type": "object",
						"description": "GeocodeServer-defined attributes for the candidate."
					}
				},
                "additionalProperties": true
			}
		}
	},
	"required": [
		"candidates",
		"spatialReference"
	],
	"type": "object",
	"additionalProperties": true
}
