The Address message represents a physical location used throughout the system. It provides a standardized way to store
and validate address information for businesses, customers, and service locations. The address format follows common
postal standards and includes geocoding information for mapping.
| Field Name | Type | Description |
|---|---|---|
id |
string | Unique identifier |
address1 |
string | Street address including house number and street name |
address2 |
string | Additional address details like apartment, suite, or unit number |
city |
string | City or locality name |
state |
string | State, province, or region |
postalCode |
string | Postal or ZIP code |
country |
string | Country name or ISO country code |
coordinate |
LatLng | Latitude and longitude coordinate for mapping |
type |
Type | Represents the importance of the address (PRIMARY / SECONDARY) |
TYPE_UNSPECIFIED - Not intended for direct use. Indicates a system anomaly.PRIMARY - Primary Address, which will be used as first address choice.SECONDARY - Secondary Address, an optional address saved as back-up.{
"id": "addr_001",
"address1": "123 Main Street",
"address2": "Floor 3",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "US",
"coordinate": {
"latitude": 40.7128,
"longitude": -74.0060
},
"type": "PRIMARY"
}