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": "123 Main St",
"city": "Anytown",
"stateOrProvince": "CA",
"country": "US",
"postalCode": "12345"
}
Version Changes
0.2.0
  • Added Address model

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": "456 Main St",
"street2": "Suite 100",
"city": "Anytown",
"stateOrProvince": "CA",
"country": "US",
"postalCode": "12345"
},
"otherAddresses": {
"satellite": {
"street1": "456 Main St",
"street2": "Suite 100",
"city": "Anytown",
"stateOrProvince": "CA",
"country": "US",
"postalCode": "12345"
},
"international": {
"street1": "123 Rue Principale",
"city": "Montreal",
"stateOrProvince": "QC",
"country": "CA",
"postalCode": "H2Y 1C6"
}
}
}
Version Changes
0.2.0
  • Added AddressCollection model