{
	"type": "object",
	"description": "Parameters for the find address candidates tool.",
	"properties": {
		"singleLine": {
			"type": "string",
			"description": "The location to be geocoded as a single string. This can be a street address, place-name, postal code, POI, or any other type of location."
		},
		"outWkid": {
			"type": "integer",
			"description": "The output spatial reference WKID to return candidate locations, the default being 4326 (WGS84). For example, use 3857 for Web Mercator. See https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm#SPATIAL-REFERENCES for more information on spatial references.",
			"default": 4326,
			"examples": [
				3857,
				4326
			]
		},
		"searchExtent": {
			"type": "object",
			"description": "The extent (bounding box) within which to search for candidate locations. This can help guide results when the input singleLine is ambiguous. It can be obtained from the map's current extent or other spatial context.",
			"properties": {
				"xmin": {
					"type": "number",
					"description": "The minimum x-coordinate of the extent."
				},
				"ymin": {
					"type": "number",
					"description": "The minimum y-coordinate of the extent."
				},
				"xmax": {
					"type": "number",
					"description": "The maximum x-coordinate of the extent."
				},
				"ymax": {
					"type": "number",
					"description": "The maximum y-coordinate of the extent."
				},
				"spatialReference": {
					"type": "object",
					"description": "The spatial reference of the extent. If not provided, the extent is assumed to be in the same spatial reference as the output (outWkid), which will be a well-known ID (WKID) defaulting to 4326.",
					"properties": {
						"wkid": {
							"type": "integer",
							"description": "The well-known ID of the spatial reference. Use either wkid or wkt to specify the spatial reference of the search extent, with the latter allowing for more specific spatial reference definitions if needed.",
							"examples": [
								3857,
								4326
							]
						},
						"wkt": {
							"type": "string",
							"description": "The well-known text (WKT) representation of the spatial reference. Use either wkid or wkt to specify the spatial reference of the search extent, with the latter allowing for more specific spatial reference definitions if needed.",
							"examples": [
								"GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],\nPRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];\n-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119522E-09;\n0.001;0.001;IsHighPrecision"
							]
						}
					}
				}
			},
			"required": [
				"xmin",
				"ymin",
				"xmax",
				"ymax"
			]
		}
	},
	"required": [
		"singleLine"
	],
	"$schema": "https://json-schema.org/draft/2020-12/schema"
}
