PostalAddress
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Địa chỉ của khách hàng hoặc doanh nghiệp.
Biểu diễn dưới dạng JSON |
{
"addressCountry": string,
"addressLocality": string,
"addressRegion": string,
"postalCode": string,
"streetAddress": string
} |
Trường |
addressCountry |
string
Quốc gia, được chỉ định bằng mã quốc gia theo ISO 3166-1 alpha-2, ví dụ: "US" (bắt buộc)
|
addressLocality |
string
Địa phương, ví dụ: "Mountain View". (bắt buộc)
|
addressRegion |
string
Khu vực, ví dụ: "CA". Trường này chỉ bắt buộc ở những quốc gia mà khu vực thường là một phần của địa chỉ. (không bắt buộc)
|
postalCode |
string
Mã bưu chính, ví dụ: "94043". (bắt buộc)
|
streetAddress |
string
Địa chỉ đường phố, ví dụ: "1600 Amphitheatre Pkwy". (bắt buộc)
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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) |"]]