Đối tượng cơ sở (Facility)
Thuộc tính
-
facility_id
stringbắt buộcMã định danh duy nhất của cơ sở.
-
org_id
stringbắt buộcMã định danh duy nhất của tổ chức mẹ.
-
name
stringbắt buộcTên cơ sở.
-
brand
stringtùy chọnTên thương hiệu mà cơ sở sử dụng.
-
website_url
stringtùy chọnURL trang web của cơ sở.
-
place_data
objecttùy chọnDữ liệu vị trí từ Google Places API, gồm quốc gia, địa chỉ đã định dạng, Google Place ID, tỉnh/bang và thành phố.
-
social_links
objecttùy chọnCác liên kết mạng xã hội của cơ sở.
-
timezone
stringtùy chọnMã định danh múi giờ IANA (ví dụ:
"Australia/Sydney","America/New_York").
Đối tượng cơ sở (Facility)
{
"facility_id": "550e8400-e29b-41d4-a716-446655440000",
"org_id": "00000000-0000-0000-0000-000000000050",
"name": "Harbourside Central",
"brand": "Harbourside",
"website_url": "https://example.com/central",
"social_links": {
"instagram": {
"handle": "@harbourside.central"
},
"facebook": {
"handle": "HarboursideCentral"
}
},
"place_data": {
"country": {
"iso_code": "AU",
"full_name": "Australia"
},
"formatted_address": "123 Main Street, Suite 100, Sydney NSW 2000, Australia",
"google_place_id": "ChIJN1t_tDeuEmsRUsoyG83frY4",
"province": {
"abbreviation": "NSW",
"full_name": "New South Wales"
},
"city": {
"short_name": "Sydney",
"full_name": "Sydney"
}
},
"timezone": "Australia/Sydney"
}