핵심 스키마 참조

모든 국가에서 핵심 스키마를 지원하며 각 국가에는 추가 스키마 항목이 있습니다.

필드 이름 유형 모드 설명
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', 'cafe', 'airport' 등이 있습니다. 장소에는 하나의 기본 유형만 있을 수 있습니다. 가능한 값의 전체 목록은 장소 유형을 참고하세요. restaurant
country_code STRING NULLABLE 유니코드 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 보조 영업시간 유형 'TAKEOUT'의 정규 영업시간입니다. 영업시간 참조를 확인하세요.
regular_opening_hours_kitchen RECORD NULLABLE 보조 시간 유형 'KITCHEN'의 정규 영업시간입니다. 영업시간 참조를 확인하세요.
regular_opening_hours_breakfast RECORD NULLABLE 보조 시간 유형 'BREAKFAST'의 일반 영업시간입니다. 영업시간 참조를 확인하세요.
regular_opening_hours_lunch RECORD NULLABLE 보조 시간 유형 'LUNCH'의 정규 영업시간입니다. 영업시간 참조를 확인하세요.
regular_opening_hours_dinner RECORD NULLABLE 보조 시간 유형 'DINNER'의 정규 영업시간입니다. 영업시간 참조를 확인하세요.
regular_opening_hours_brunch RECORD NULLABLE 보조 시간 유형 'BRUNCH'의 일반 영업시간입니다. 영업시간 참조를 확인하세요.
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 충전 커넥터 집계 목록입니다.
ev_charge_options.connector_aggregation.type STRING NULLABLE 이 집계의 커넥터 유형입니다. 가능한 커넥터 유형 목록은 EVConnectorType을 참고하세요. EV_CONNECTOR_TYPE_J1772
ev_charge_options.connector_aggregation.max_charge_rate_kw FLOAT NULLABLE 집계에 있는 각 커넥터의 정적 최대 충전 속도(kW)입니다. 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