Skip to content

Address

An address is a physical location.

PropertyTypeRequiredDescription
street1stringYesThe primary street address line.
street2stringNoAdditional street address information (e.g., apartment number, suite, etc.).
citystringYesThe city or municipality name.
stateOrProvincestringYesThe state, province, or region name.
countrystringYesThe country name or ISO country code.
postalCodestringYesThe postal or ZIP code for the address.
latitudenumberNoThe latitude coordinate of the address location.
longitudenumberNoThe longitude coordinate of the address location.
geographyrecordNoAdditional geospatial data in GeoJSON format.

A JSON example of this model.

{
"street1": "123 Main St",
"city": "Anytown",
"stateOrProvince": "CA",
"country": "US",
"postalCode": "12345"
}
VersionChangesSchema
0.2.0
  • Added Address model
Address.yaml

A collection of addresses for a person or organization.

PropertyTypeRequiredDescription
primaryAddressYesThe primary address for a person or organization.
otherAddressesrecord<Address>NoAdditional 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"
}
}
}
VersionChangesSchema
0.2.0
  • Added AddressCollection model
AddressCollection.yaml