PostalAddress
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zapis JSON |
{
"addressCountry": string,
"addressLocality": string,
"addressRegion": string,
"postalCode": string,
"streetAddress": string
} |
Pola |
addressCountry |
string
Kraj podany w postaci dwuliterowego kodu kraju zgodnego ze standardem ISO 3166-1 alfa-2, np. „US” (wymagany).
|
addressLocality |
string
Miejscowość, np. „Mountain View”. (wymagane)
|
addressRegion |
string
Region, np. „CA”. To pole jest wymagane tylko w krajach, w których region jest zwykle częścią adresu. (opcjonalnie)
|
postalCode |
string
Kod pocztowy, np. 94043. (wymagane)
|
streetAddress |
string
Ulica i numer, np. „1600 Amphitheatre Pkwy”. (wymagane)
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThe PostalAddress schema represents the address of a customer or business using JSON format.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields for country, locality, region, postal code, and street address, with country, locality, postal code, and street address being required.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"]]],[],null,["# PostalAddress\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAddress of a customer or a business.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"addressCountry\": string, \"addressLocality\": string, \"addressRegion\": string, \"postalCode\": string, \"streetAddress\": string } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| `address``Country` | `string` The country, specified using its ISO 3166-1 alpha-2 country code, e.g. \"US\" (required) |\n| `address``Locality` | `string` The locality, e.g. \"Mountain View\". (required) |\n| `address``Region` | `string` The region, e.g. \"CA\". This field is only required in countries where region is commonly a part of the address. (optional) |\n| `postal``Code` | `string` The postal code, e.g. \"94043\". (required) |\n| `street``Address` | `string` The street address, e.g. \"1600 Amphitheatre Pkwy\". (required) |"]]