Skip to content

Commit c393073

Browse files
authored
feat: Adds documentation for new attributes. (#405)
Change-Id: I5e967e1462cc54c7db5493dab3ef15f3c915d2a6
1 parent 9171ea1 commit c393073

2 files changed

Lines changed: 29 additions & 2 deletions

File tree

specification/parameters/places/fields.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ description: |
2323
2424
**Basic**
2525
26-
The Basic category includes the following fields: `address_component`, `adr_address`, `business_status`, `formatted_address`, `geometry`, `icon`, `icon_mask_base_uri`, `icon_background_color`, `name`, `permanently_closed` ([deprecated](https://developers.google.com/maps/deprecations)), `photo`, `place_id`, `plus_code`, `type`, `url`, `utc_offset`, `vicinity`.
26+
The Basic category includes the following fields: `address_component`, `adr_address`, `business_status`, `formatted_address`, `geometry`, `icon`, `icon_mask_base_uri`, `icon_background_color`, `name`, `permanently_closed` ([deprecated](https://developers.google.com/maps/deprecations)), `photo`, `place_id`, `plus_code`, `type`, `url`, `utc_offset`, `vicinity`, `wheelchair_accessible_entrance`.
2727
2828
**Contact**
2929
3030
The Contact category includes the following fields: `current_opening_hours`, `formatted_phone_number`, `international_phone_number`, `opening_hours`, `secondary_opening_hours`, `website`
3131
3232
**Atmosphere**
3333
34-
The Atmosphere category includes the following fields: `curbside_pickup`, `delivery`, `dine_in`, `editorial_summary`, `price_level`, `rating`, `reviews`, `takeout`, `user_ratings_total`.
34+
The Atmosphere category includes the following fields: `curbside_pickup`, `delivery`, `dine_in`, `editorial_summary`, `price_level`, `rating`, `reservable`, `reviews`, `serves_beer`, `serves_breakfast`, `serves_brunch`, `serves_dinner`, `serves_lunch`, `serves_vegetarian_food`, `serves_wine`, `takeout`, `user_ratings_total`.
3535
3636
schema:
3737
type: array

specification/schemas/Place.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ properties:
121121
reference:
122122
deprecated: true
123123
type: string
124+
reservable:
125+
description: Specifies if the place supports reservations.
126+
type: boolean
124127
reviews:
125128
description: |
126129
A JSON array of up to five reviews. By default, the reviews are sorted in order of relevance. Use the `reviews_sort` request parameter to control sorting.
@@ -131,6 +134,27 @@ properties:
131134
type: array
132135
items:
133136
$ref: "./PlaceReview.yml"
137+
serves_beer:
138+
description: Specifies if the place serves beer.
139+
type: boolean
140+
serves_breakfast:
141+
description: Specifies if the place serves breakfast.
142+
type: boolean
143+
serves_brunch:
144+
description: Specifies if the place serves brunch.
145+
type: boolean
146+
serves_dinner:
147+
description: Specifies if the place serves dinner.
148+
type: boolean
149+
serves_lunch:
150+
description: Specifies if the place serves lunch.
151+
type: boolean
152+
serves_vegetarian_food:
153+
description: Specifies if the place serves vegetarian food.
154+
type: boolean
155+
serves_wine:
156+
description: Specifies if the place serves wine.
157+
type: boolean
134158
scope:
135159
deprecated: true
136160
type: string
@@ -171,3 +195,6 @@ properties:
171195
description: The authoritative website for this place, such as a business' homepage.
172196
type: string
173197
example: http://google.com
198+
wheelchair_accessible_entrance:
199+
description: Specifies if the place has an entrance that is wheelchair-accessible.
200+
type: boolean

0 commit comments

Comments
 (0)