所有国家/地区都支持核心架构,而每个国家/地区都有额外的架构项。
| 字段名称 | 类型 | Mode | 说明 | 示例 |
|---|---|---|---|---|
point |
GEOGRAPHY |
NULLABLE |
相应地点的地理位置,以 Point 地理位置类型对象表示。 | POINT(-122.08532 37.42205) |
id |
STRING |
NULLABLE |
唯一地点 ID。请参阅地点 ID。 | ChIJj61dQgK6j4AR4GeTYWZsKWw |
types |
STRING |
REPEATED |
地点的类型标记集。例如,“餐厅”和“咖啡馆”。如需查看可能值的完整列表,请参阅地点类型。 | restaurant,point_of_interest,establishment |
primary_type |
STRING |
NULLABLE |
地点的主要类型。例如,“餐厅”“咖啡馆”“机场”等。一个地点只能有一个主要类型。如需查看可能值的完整列表,请参阅地点类型。 | restaurant |
country_code |
STRING |
NULLABLE |
采用 Unicode CLDR 格式的国家/地区代码。 | US |
location |
RECORD |
NULLABLE |
地点的地理坐标。 | |
location.latitude |
FLOAT |
NULLABLE |
纬度(以度为单位),范围为 -90.0 到 90.0。 | 37.42205 |
location.longitude |
FLOAT |
NULLABLE |
经度(以度为单位),范围为 -180.0 到 180.0。 | -122.08532 |
rating |
FLOAT |
NULLABLE |
根据用户对该地点的评价得出的评分,介于 1.0 到 5.0 之间。 | 4.5 |
user_rating_count |
INTEGER |
NULLABLE |
相应地点的评价总数。 | 100 |
price_level |
STRING |
NULLABLE |
相应地点的价格水平。可能的值包括“PRICE_LEVEL_FREE”“PRICE_LEVEL_INEXPENSIVE”“PRICE_LEVEL_MODERATE”“PRICE_LEVEL_EXPENSIVE”和“PRICE_LEVEL_VERY_EXPENSIVE”。 | PRICE_LEVEL_MODERATE |
business_status |
STRING |
NULLABLE |
相应地点的营业状态。可能的值包括“OPERATIONAL”“CLOSED_TEMPORARILY”“CLOSED_PERMANENTLY”和“FUTURE_OPENING”。 | OPERATIONAL |
takeout |
BOOLEAN |
NULLABLE |
相应地点支持外卖。 | true |
delivery |
BOOLEAN |
NULLABLE |
商家支持送货。 | true |
dine_in |
BOOLEAN |
NULLABLE |
场所支持室内或室外就餐选项。 | true |
curbside_pickup |
BOOLEAN |
NULLABLE |
此场所支持路边自提服务。 | true |
reservable |
BOOLEAN |
NULLABLE |
地点支持预订。 | true |
serves_breakfast |
BOOLEAN |
NULLABLE |
该场所供应早餐。 | true |
serves_lunch |
BOOLEAN |
NULLABLE |
该场所供应午餐。 | true |
serves_dinner |
BOOLEAN |
NULLABLE |
场所供应晚餐。 | true |
serves_beer |
BOOLEAN |
NULLABLE |
该场所供应啤酒。 | true |
serves_wine |
BOOLEAN |
NULLABLE |
场所供应葡萄酒。 | true |
serves_brunch |
BOOLEAN |
NULLABLE |
该场所供应早午餐。 | true |
serves_vegetarian_food |
BOOLEAN |
NULLABLE |
该场所供应素食。 | true |
outdoor_seating |
BOOLEAN |
NULLABLE |
该场所提供户外座位。 | true |
live_music |
BOOLEAN |
NULLABLE |
场所提供现场音乐表演。 | true |
menu_for_children |
BOOLEAN |
NULLABLE |
有儿童菜单。 | true |
serves_cocktails |
BOOLEAN |
NULLABLE |
该场所供应鸡尾酒。 | true |
serves_dessert |
BOOLEAN |
NULLABLE |
该场所供应甜点。 | true |
serves_coffee |
BOOLEAN |
NULLABLE |
场所供应咖啡。 | true |
good_for_children |
BOOLEAN |
NULLABLE |
该场所适合儿童。 | true |
allows_dogs |
BOOLEAN |
NULLABLE |
该场所允许带狗。 | true |
restroom |
BOOLEAN |
NULLABLE |
场所内有卫生间。 | true |
good_for_groups |
BOOLEAN |
NULLABLE |
地点可容纳的群组数量。 | true |
good_for_watching_sports |
BOOLEAN |
NULLABLE |
这个地方适合观看体育赛事。 | true |
accepts_credit_cards |
BOOLEAN |
NULLABLE |
商家接受信用卡付款。 | true |
accepts_debit_cards |
BOOLEAN |
NULLABLE |
商家接受借记卡付款。 | true |
accepts_cash_only |
BOOLEAN |
NULLABLE |
此场所仅接受现金付款。具有此属性的场所可能仍接受其他付款方式。 | true |
accepts_nfc |
BOOLEAN |
NULLABLE |
场所接受 NFC 支付。 | true |
free_parking_lot |
BOOLEAN |
NULLABLE |
该场所提供免费停车场。 | true |
paid_parking_lot |
BOOLEAN |
NULLABLE |
该场所提供付费停车场。 | true |
free_street_parking |
BOOLEAN |
NULLABLE |
该场所提供免费路边停车位。 | true |
paid_street_parking |
BOOLEAN |
NULLABLE |
此场所提供收费的路边停车位。 | true |
valet_parking |
BOOLEAN |
NULLABLE |
该场所提供代客泊车服务。 | true |
free_garage_parking |
BOOLEAN |
NULLABLE |
酒店提供免费停车库。 | true |
paid_garage_parking |
BOOLEAN |
NULLABLE |
此场所提供收费停车库。 | true |
wheelchair_accessible_parking |
BOOLEAN |
NULLABLE |
该场所提供无障碍停车位。 | true |
wheelchair_accessible_entrance |
BOOLEAN |
NULLABLE |
该场所设有无障碍入口。 | true |
wheelchair_accessible_restroom |
BOOLEAN |
NULLABLE |
场所设有无障碍卫生间。 | true |
wheelchair_accessible_seating |
BOOLEAN |
NULLABLE |
该场所设有无障碍座席。 | true |
regular_opening_hours |
RECORD |
NULLABLE |
正常营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_happy_hour |
RECORD |
NULLABLE |
次要营业时间类型“HAPPY_HOUR”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_drive_through |
RECORD |
NULLABLE |
辅助营业时间类型“DRIVE_THROUGH”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_delivery |
RECORD |
NULLABLE |
次要营业时间类型“DELIVERY”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_takeout |
RECORD |
NULLABLE |
次要营业时间类型“外卖”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_kitchen |
RECORD |
NULLABLE |
次要营业时间类型“KITCHEN”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_breakfast |
RECORD |
NULLABLE |
次要营业时间类型“BREAKFAST”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_lunch |
RECORD |
NULLABLE |
次要营业时间类型“午餐”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_dinner |
RECORD |
NULLABLE |
次要营业时间类型“DINNER”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_brunch |
RECORD |
NULLABLE |
次要营业时间类型“早午餐”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_pickup |
RECORD |
NULLABLE |
次要营业时间类型“PICKUP”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_access |
RECORD |
NULLABLE |
辅助营业时间类型“ACCESS”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_senior_hours |
RECORD |
NULLABLE |
辅助营业时间类型“SENIOR_HOURS”的常规营业时间。请参阅营业时间参考文档。 | |
regular_opening_hours_online_service_hours |
RECORD |
NULLABLE |
次要营业时间类型“ONLINE_SERVICE_HOURS”的常规营业时间。请参阅营业时间参考文档。 | |
ev_charge_options |
RECORD |
NULLABLE |
有关该地点托管的电动车辆充电站的信息。术语遵循 https://afdc.energy.gov/fuels/electricity_infrastructure.html。一个充电接口一次只能为一辆汽车充电。一个端口有一个或多个连接器。一个充电站有一个或多个充电桩。 | |
ev_charge_options.connector_count |
INTEGER |
NULLABLE |
相应充电站的连接器数量。不过,由于某些充电端口可能配备多个连接器,但一次只能为一辆汽车充电,因此连接器的数量可能大于可同时充电的汽车总数。 | 3 |
ev_charge_options.connector_aggregation |
RECORD |
REPEATED |
包含相同类型和相同充电速率的连接器的电动汽车充电连接器聚合的列表。 | |
ev_charge_options.connector_aggregation.type |
STRING |
NULLABLE |
相应聚合的连接器类型。如需查看可能的连接器类型列表,请参阅 EVConnectorType。 | EV_CONNECTOR_TYPE_J1772 |
ev_charge_options.connector_aggregation.max_charge_rate_kw |
FLOAT |
NULLABLE |
汇总中每个连接器的静态最大充电速率(以千瓦为单位)。 | 16.0 |
ev_charge_options.connector_aggregation.count |
INTEGER |
NULLABLE |
相应汇总中的连接器数量。 | 3 |
brand_ids |
STRING |
REPEATED |
品牌的唯一标识符。 | 13992718219781496405 |
营业时间参考
给定营业时间类型的正常营业时间。营业时间按星期几分开。对于延长到午夜后的时间段,结束时间会截断为 23:59:59.999999,而第二天会包含一个从 00:00:00.000000 开始的时间段。例如,如果某地点在周五上午 8 点至中午 12 点营业,然后从晚上 8 点营业至凌晨 2 点,则 friday 的时间段为:[{start_time: "08:00:00", end_time: "12:00:00"}, {start_time:
"20:00:00", end_time: "23:59:59.999999"}]。
如需查询周五下午 5 点营业的地点,您可以运行以下查询:
SELECT WITH AGGREGATION_THRESHOLD COUNT(*) AS count FROM `PROJECT_NAME.places_insights___us___sample.places_sample` WHERE EXISTS(SELECT * FROM UNNEST(regular_opening_hours.friday) WHERE '17:00:00' BETWEEN start_time AND end_time)
营业时间字段的完整架构如下:
| Field Name | Type | Mode | Description | Example |
|---|---|---|---|---|
monday |
RECORD |
REPEATED |
The list of periods on Monday during which the place is open. | |
monday.start_time |
TIME |
NULLABLE |
Start of the period. | 08:00:00 |
monday.end_time |
TIME |
NULLABLE |
End of the period. | 18:00:00 |
tuesday |
RECORD |
REPEATED |
The list of periods on Tuesday during which the place is open. | |
tuesday.start_time |
TIME |
NULLABLE |
Start of the period. | 08:00:00 |
tuesday.end_time |
TIME |
NULLABLE |
End of the period. | 18:00:00 |
wednesday |
RECORD |
REPEATED |
The list of periods on Wednesday during which the place is open. | |
wednesday.start_time |
TIME |
NULLABLE |
Start of the period. | 08:00:00 |
wednesday.end_time |
TIME |
NULLABLE |
End of the period. | 18:00:00 |
thursday |
RECORD |
REPEATED |
The list of periods on Thursday during which the place is open. | |
thursday.start_time |
TIME |
NULLABLE |
Start of the period. | 08:00:00 |
thursday.end_time |
TIME |
NULLABLE |
End of the period. | 18:00:00 |
friday |
RECORD |
REPEATED |
The list of periods on Friday during which the place is open. | |
friday.start_time |
TIME |
NULLABLE |
Start of the period. | 08:00:00 |
friday.end_time |
TIME |
NULLABLE |
End of the period. | 18:00:00 |
saturday |
RECORD |
REPEATED |
The list of periods on Saturday during which the place is open. | |
saturday.start_time |
TIME |
NULLABLE |
Start of the period. | 08:00:00 |
saturday.end_time |
TIME |
NULLABLE |
End of the period. | 18:00:00 |
sunday |
RECORD |
REPEATED |
The list of periods on Sunday during which the place is open. | |
sunday.start_time |
TIME |
NULLABLE |
Start of the period. | 08:00:00 |
sunday.end_time |
TIME |
NULLABLE |
End of the period. | 18:00:00 |