Skip to content

PostalAddress

shipping.v1.PostalAddress

An address shared across services, defined in a separate source file.

Field presence and validation are separate properties. Implicit scalar defaults are normally omitted in ProtoJSON.

Street and unit lines, in display order.

PropertyValue
Protobuf namelines
JSON namelines
Field number1
Protobuf typerepeated string
JSON representationArray of string values
PresenceCollection; empty and absent are not distinguished

City or locality.

PropertyValue
Protobuf namecity
JSON namecity
Field number2
Protobuf typestring
JSON representationString
PresenceImplicit; default and absent are not distinguished

Postal code, including letters or leading zeros.

PropertyValue
Protobuf namepostal_code
JSON namepostalCode
Field number3
Protobuf typestring
JSON representationString
PresenceImplicit; default and absent are not distinguished

ISO country code supplied by the application.

PropertyValue
Protobuf namecountry_code
JSON namecountryCode
Field number4
Protobuf typestring
JSON representationString
PresenceImplicit; default and absent are not distinguished

Source: fixture-v1 · Generator: Wirelit 0.1.0