Address object

An object representing a physical address.

AttributeTypeDescription
streetStringStreet number and name.
aptStringApt, unit or suite #.
cityStringCity name.
stateStringFor US addresses: 2-letter state abbreviation; For international addresses: full region or province name.
zipString Regex: ^\\d{5}(-\\d{4})?$For US addresses: numerical ZIP code; For international addresses: postal code.
countryString2-letter country code (ISO 3166).