Skip to content

Address

An address is a physical location.

PropertyTypeRequiredDescription
street1 string Yes The primary street address line.
street2 string No Additional street address information (e.g., apartment number, suite, etc.).
city string Yes The city or municipality name.
stateOrProvince string Yes The state, province, or region name.
country string Yes The country name or ISO country code.
postalCode string Yes The postal or ZIP code for the address.
latitude number No The latitude coordinate of the address location.
longitude number No The longitude coordinate of the address location.
geography record No Additional geospatial data in GeoJSON format.

A JSON example of this model.

{
"street1": "Sample string value",
"city": "Sample string value",
"stateOrProvince": "Sample string value",
"country": "Sample string value",
"postalCode": "Sample string value",
"street2": "Sample string value",
"latitude": 100.5,
"longitude": 100.5,
"geography": {}
}

A collection of addresses for a person or organization.

PropertyTypeRequiredDescription
primary Address Yes The primary address for a person or organization.
otherAddresses record<Address> No Additional addresses keyed by a descriptive label (e.g., "work", "home", "international").

A JSON example of this model.

{
"primary": {
"street1": "Sample string value",
"city": "Sample string value",
"stateOrProvince": "Sample string value",
"country": "Sample string value",
"postalCode": "Sample string value",
"street2": "Sample string value",
"latitude": 100.5,
"longitude": 100.5,
"geography": {}
},
"otherAddresses": {
"property": {
"street1": "Sample string value",
"city": "Sample string value",
"stateOrProvince": "Sample string value",
"country": "Sample string value",
"postalCode": "Sample string value",
"street2": "Sample string value",
"latitude": 100.5,
"longitude": 100.5,
"geography": {}
}
}
}