OpeningHoursSpecification

This page describes the OpeningHoursSpecification type.

This type is derived from https://schema.org/OpeningHoursSpecification, which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.

Properties

Required properties

PropertyExpected TypeDescription

@type

Must always be present and set to "@type": "OpeningHoursSpecification"

closes

The closing time. Set "00:00" for the value of opens and closes to indicated the Place is closed on the specified days.

Example

"closes": "17:00"

dayOfWeek

Array of DayOfWeek

Defines the days of the week upon which the opens and closes values are specified. Note this property is optional when used within specialOpeningHoursSpecification.

Example

"dayOfWeek": [ "https://schema.org/Saturday", "https://schema.org/Sunday" ]

opens

The opening time. Set "00:00" for the value of opens and closes to indicated the Place is closed on the specified days.

Example

"opens": "09:00"

Optional properties

PropertyExpected TypeDescription

validFrom

The date when the item becomes valid. The item will be valid at the beginning of the specified day. Note this property is required when used within specialOpeningHoursSpecification.

Example

"validFrom": "2018-01-22"

validThrough

The date after which the item is no longer valid. The item will cease to be valid at the end of the specified day. Note this property is required when used within specialOpeningHoursSpecification.

Example

"validThrough": "2018-01-27"

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution License (CC-BY V4.0), and code samples are licensed under the MIT License, for anyone to access, use and share; using attribution "OpenActive".

Last updated