{
    "description": "A structured textual way of describing how to find an address, using unformatted strings for the street address.",
    "properties": {
        "city": {
            "description": "City that the address is in.",
            "maxLength": 50,
            "type": "string"
        },
        "country": {
            "description": "The country that the address is in.",
            "maxLength": 50,
            "type": "string"
        },
        "formattedAddressLine1": {
            "description": "A formatted address line that contains a non-fielded street address.",
            "maxLength": 60,
            "type": "string"
        },
        "formattedAddressLine2": {
            "description": "A formatted address line that contains a non-fielded street address, sub-address (e.g. Suite number), etc.",
            "maxLength": 60,
            "type": "string"
        },
        "locality": {
            "description": "A bounded locality within a city, town or shire principally of urban character.",
            "maxLength": 50,
            "type": "string"
        },
        "objectType": {
            "description": "The type of the object, formattedAddress.",
            "enum": [
                "formattedAddress"
            ],
            "type": "string"
        },
        "postcode": {
            "description": "A descriptor for a postal delivery area, used to speed and simplify the delivery of mail.",
            "maxLength": 6,
            "type": "string"
        },
        "postcodeExtension": {
            "description": "The four-digit extension on an American postal code, what comes after the hyphen when specified.",
            "maxLength": 4,
            "type": "string"
        },
        "stateOrProvince": {
            "description": "The state or province that the address is in.",
            "maxLength": 50,
            "type": "string"
        }
    },
    "required": [
        "objectType",
        "formattedAddressLine1",
        "stateOrProvince",
        "postcode",
        "country"
    ],
    "title": "formattedAddress",
    "type": "object"
}