{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "address": {
            "description": "The full address for the location.",
            "examples": [
                "Redlands Community Hospital, 350 Terracina Blvd, Redlands, CA, 92373, USA"
            ],
            "type": "string"
        },
        "countryCode": {
            "type": "string",
            "description": "The 3-letter country code for the location. For example Canada is 'CAN'.",
            "examples": [
                "CAN"
            ]
        },
        "region": {
            "type": "string",
            "description": "The name of the region-level administrative division for a candidate. The region is a subdivision of a country or territory. It is typically the largest administrative area for a country. For example, in the USA a region would be a state such as 'California'.",
            "examples": [
                "California"
            ]
        },
        "subRegion": {
            "type": "string",
            "description": "The name of the subregion-level administrative division for the location. It is a subdivision of a country or territory. For example, 'San Bernardino County'.",
            "examples": [
                "San Bernardino County"
            ]
        },
        "city": {
            "type": "string",
            "description": "The name of the city-level administrative division for a containing the location. For example 'New York'.",
            "examples": [
                "New York"
            ]
        },
        "houseNumber": {
            "type": "string",
            "description": "The house or building number for the location. For example, in the address 380 New York Street, the houseNumber is '380'.",
            "examples": [
                "380"
            ]
        },
        "postCode": {
            "type": "string",
            "description": "An alphanumeric address element defining the primary postal code for the location. For example: 'V7M 2B4' for a Canadian postal code and '92374' for a United States postal code.",
            "examples": [
                "92374",
                "V7M 2B4"
            ]
        },
        "locationType": {
            "type": "string",
            "description": "The type of location, such as 'Restaurant', 'Hospital' etc.",
            "examples": [
                "Restaurant",
                "Hospital"
            ]
        },
        "location": {
            "description": "The location object contains the x and y coordinates of the address result. The spatial reference is either WGS84 or the input spatial reference supplied with the `wkid` parameter.",
            "properties": {
                "spatialReference": {
                    "description": "The spatial reference of the location.",
                    "properties": {
                        "wkid": {
                            "description": "The well-known ID (WKID) of the spatial reference.",
                            "type": "integer"
                        }
                    },
                    "required": [
                        "wkid"
                    ],
                    "type": "object"
                },
                "x": {
                    "description": "The x coordinate of the location.",
                    "type": "number"
                },
                "y": {
                    "description": "The x coordinate of the location.",
                    "type": "number"
                }
            },
            "required": [
                "x",
                "y",
                "spatialReference"
            ],
            "type": "object"
        },
        "attributes": {
            "type": "object",
            "description": "The raw attribute values of the matching result",
            "properties": {}
        }
    },
    "required": [
        "address",
        "location",
        "attributes"
    ],
    "type": "object"
}