AI-generated Key Takeaways
-
The PostalAddress schema represents the address of a customer or business using JSON format.
-
It includes fields for country, locality, region, postal code, and street address, with country, locality, postal code, and street address being required.
-
The country should be specified using its ISO 3166-1 alpha-2 country code, while the region field is optional and only required for countries where it's commonly part of an address.
Address of a customer or a business.
JSON representation |
---|
{ "addressCountry": string, "addressLocality": string, "addressRegion": string, "postalCode": string, "streetAddress": string } |
Fields | |
---|---|
address |
The country, specified using its ISO 3166-1 alpha-2 country code, e.g. "US" (required) |
address |
The locality, e.g. "Mountain View". (required) |
address |
The region, e.g. "CA". This field is only required in countries where region is commonly a part of the address. (optional) |
postal |
The postal code, e.g. "94043". (required) |
street |
The street address, e.g. "1600 Amphitheatre Pkwy". (required) |