OpeningHours

Information about the opening hours of a place

EnvironmentGeocodingGeolocationMapsNavigationPlacesRoutingSolar

Properties

Name Type Description
openNow boolean Whether the place is currently open
periods array The periods that this place is open during the week. Periods covering a full day have an open event with day 0 and time 0000, and no close event.
weekdayDescriptions array Localized strings describing the opening hours for each day of the week
View JSON Schema on GitHub

JSON Schema

google-maps-openinghours-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OpeningHours",
  "title": "OpeningHours",
  "type": "object",
  "description": "Information about the opening hours of a place",
  "properties": {
    "openNow": {
      "type": "boolean",
      "description": "Whether the place is currently open",
      "example": true
    },
    "periods": {
      "type": "array",
      "description": "The periods that this place is open during the week. Periods covering a full day have an open event with day 0 and time 0000, and no close event.",
      "items": {
        "$ref": "#/components/schemas/Period"
      },
      "example": []
    },
    "weekdayDescriptions": {
      "type": "array",
      "description": "Localized strings describing the opening hours for each day of the week",
      "items": {
        "type": "string"
      },
      "example": [
        "Monday: 9:00 AM - 5:00 PM",
        "Tuesday: 9:00 AM - 5:00 PM"
      ]
    }
  }
}