PostalAddress
shipping.v1.PostalAddress
An address shared across services, defined in a separate source file.
Fields
Section titled “Fields”Field presence and validation are separate properties. Implicit scalar defaults are normally omitted in ProtoJSON.
Street and unit lines, in display order.
| Property | Value |
|---|---|
| Protobuf name | lines |
| JSON name | lines |
| Field number | 1 |
| Protobuf type | repeated string |
| JSON representation | Array of string values |
| Presence | Collection; empty and absent are not distinguished |
City or locality.
| Property | Value |
|---|---|
| Protobuf name | city |
| JSON name | city |
| Field number | 2 |
| Protobuf type | string |
| JSON representation | String |
| Presence | Implicit; default and absent are not distinguished |
postal_code
Section titled “postal_code”Postal code, including letters or leading zeros.
| Property | Value |
|---|---|
| Protobuf name | postal_code |
| JSON name | postalCode |
| Field number | 3 |
| Protobuf type | string |
| JSON representation | String |
| Presence | Implicit; default and absent are not distinguished |
country_code
Section titled “country_code”ISO country code supplied by the application.
| Property | Value |
|---|---|
| Protobuf name | country_code |
| JSON name | countryCode |
| Field number | 4 |
| Protobuf type | string |
| JSON representation | String |
| Presence | Implicit; default and absent are not distinguished |
Source: fixture-v1 · Generator: Wirelit 0.1.0