Note: you are viewing the webschemas.org development version of schema.org. See How we work for more details.
core + pending (Pending Extension): these terms are pending wider review. Feedback is welcomed!

OpeningHoursSpecification

Canonical URL: http://schema.org/OpeningHoursSpecification

Thing > Intangible > StructuredValue > OpeningHoursSpecification

A structured value providing information about the opening hours of a place or a certain service inside a place.

The place is open if the opens property is specified, and closed otherwise.

If the value for the closes property is less than the value for the opens property then the hour range is assumed to span over the next day.


Usage: Between 10,000 and 50,000 domains
PropertyExpected TypeDescription
Properties from OpeningHoursSpecification
closes Time The closing hour of the place or service on the given day(s) of the week.
dayOfWeek DayOfWeek The day of the week for which these opening hours are valid.
opens Time The opening hour of the place or service on the given day(s) of the week.
validFrom DateTime The date when the item becomes valid.
validThrough DateTime The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.
Properties from Thing
additionalType URL An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.
alternateName Text An alias for the item.
description Text A description of the item.
disambiguatingDescription Text A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.
identifier PropertyValue  or
Text  or
URL 
The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.
image ImageObject  or
URL 
An image of the item. This can be a URL or a fully described ImageObject.
mainEntityOfPage CreativeWork  or
URL 
Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
Inverse property: mainEntity.
name Text The name of the item.
potentialAction Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
sameAs URL URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.
subjectOf CreativeWork  or
Event 
A CreativeWork or Event about this Thing..
Inverse property: about.
url URL URL of the item.


Instances of OpeningHoursSpecification may appear as values for the following properties

PropertyOn TypesDescription
hoursAvailable ContactPoint  or
LocationFeatureSpecification  or
Service 
The hours during which this service or contact is available.
openingHoursSpecification Place The opening hours of a certain place.
specialOpeningHoursSpecification Place The special opening hours of a certain place.

Use this to explicitly override general opening hours brought in scope by openingHoursSpecification or openingHours.

Available properties in extensions

Acknowledgement

This class is derived from the GoodRelations Vocabulary for E-Commerce, created by Martin Hepp. GoodRelations is a data model for sharing e-commerce data on the Web that can be expressed in a variety of syntaxes, including RDFa and HTML5 Microdata. More information about GoodRelations can be found at http://purl.org/goodrelations/.

Schema Version 3.3