Google Maps Platform · Schema
Place
A complete place representation from the Places API (New)
EnvironmentGeocodingGeolocationMapsNavigationPlacesRoutingSolar
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The resource name of this place in the format places/{placeId}. |
| id | string | The unique place ID |
| types | array | A set of type tags for this place. Full list at https://developers.google.com/maps/documentation/places/web-service/place-types |
| primaryType | string | The primary type of this place |
| nationalPhoneNumber | string | The place's phone number in national format |
| internationalPhoneNumber | string | The place's phone number in international format |
| formattedAddress | string | The full human-readable address for this place |
| shortFormattedAddress | string | A short human-readable address for this place |
| addressComponents | array | The individual address components of the place |
| rating | number | The place's rating on a scale of 1.0 to 5.0 |
| userRatingCount | integer | The total number of user ratings |
| googleMapsUri | string | A URL to the place's page on Google Maps |
| websiteUri | string | The place's website URL |
| priceLevel | string | The price level of the place |
| businessStatus | string | The business status of the place |
| utcOffsetMinutes | integer | Number of minutes this place's current timezone is offset from UTC |
| reviews | array | Up to 5 reviews for this place |
| photos | array | Photos associated with this place |
| adrFormatAddress | string | The place's address in adr microformat |
| iconMaskBaseUri | string | A URL for an SVG icon mask |
| iconBackgroundColor | string | Background color for the icon in hex format |
| dineIn | boolean | Whether the place supports dine-in |
| takeout | boolean | Whether the place supports takeout |
| delivery | boolean | Whether the place supports delivery |
| curbsidePickup | boolean | Whether the place supports curbside pickup |
| reservable | boolean | Whether the place supports reservations |
| servesBreakfast | boolean | |
| servesLunch | boolean | |
| servesDinner | boolean | |
| servesBeer | boolean | |
| servesWine | boolean | |
| servesVegetarianFood | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Place",
"type": "object",
"description": "A complete place representation from the Places API (New)",
"properties": {
"name": {
"type": "string",
"description": "The resource name of this place in the format places/{placeId}."
},
"id": {
"type": "string",
"description": "The unique place ID"
},
"types": {
"type": "array",
"description": "A set of type tags for this place. Full list at https://developers.google.com/maps/documentation/places/web-service/place-types"
},
"primaryType": {
"type": "string",
"description": "The primary type of this place"
},
"nationalPhoneNumber": {
"type": "string",
"description": "The place's phone number in national format"
},
"internationalPhoneNumber": {
"type": "string",
"description": "The place's phone number in international format"
},
"formattedAddress": {
"type": "string",
"description": "The full human-readable address for this place"
},
"shortFormattedAddress": {
"type": "string",
"description": "A short human-readable address for this place"
},
"addressComponents": {
"type": "array",
"description": "The individual address components of the place"
},
"rating": {
"type": "number",
"description": "The place's rating on a scale of 1.0 to 5.0"
},
"userRatingCount": {
"type": "integer",
"description": "The total number of user ratings"
},
"googleMapsUri": {
"type": "string",
"description": "A URL to the place's page on Google Maps"
},
"websiteUri": {
"type": "string",
"description": "The place's website URL"
},
"priceLevel": {
"type": "string",
"description": "The price level of the place"
},
"businessStatus": {
"type": "string",
"description": "The business status of the place"
},
"utcOffsetMinutes": {
"type": "integer",
"description": "Number of minutes this place's current timezone is offset from UTC"
},
"reviews": {
"type": "array",
"description": "Up to 5 reviews for this place"
},
"photos": {
"type": "array",
"description": "Photos associated with this place"
},
"adrFormatAddress": {
"type": "string",
"description": "The place's address in adr microformat"
},
"iconMaskBaseUri": {
"type": "string",
"description": "A URL for an SVG icon mask"
},
"iconBackgroundColor": {
"type": "string",
"description": "Background color for the icon in hex format"
},
"dineIn": {
"type": "boolean",
"description": "Whether the place supports dine-in"
},
"takeout": {
"type": "boolean",
"description": "Whether the place supports takeout"
},
"delivery": {
"type": "boolean",
"description": "Whether the place supports delivery"
},
"curbsidePickup": {
"type": "boolean",
"description": "Whether the place supports curbside pickup"
},
"reservable": {
"type": "boolean",
"description": "Whether the place supports reservations"
},
"servesBreakfast": {
"type": "boolean"
},
"servesLunch": {
"type": "boolean"
},
"servesDinner": {
"type": "boolean"
},
"servesBeer": {
"type": "boolean"
},
"servesWine": {
"type": "boolean"
},
"servesVegetarianFood": {
"type": "boolean"
}
}
}