{
  "$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"
    }
  }
}