Add Schema Checker to your device

Use your browser menu to install this website as an app or add it to your home screen.

Schema.org type reference

OpeningHoursSpecification — Schema.org Type, Hierarchy & Properties

Learn about Schema.org OpeningHoursSpecification: parent types, child types, property value relationships and official references. Independent local educational guide.

Source: Schema.org v30.1 offline vocabulary. Official OpeningHoursSpecification definition.

What is OpeningHoursSpecification?

A structured value providing information about the opening hours of a place or a certain service inside a place.\n\n The place is __open__ if the [[opens]] property is specified, and __closed__ otherwise.\n\nIf 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.

Example JSON-LD skeleton

This minimal example only identifies a Schema.org type. It is not a complete entity, a Google rich-result test, or a claim about a real business.

{
  "@context": "https://schema.org",
  "@type": "OpeningHoursSpecification"
}

Full parent hierarchy

Each chain starts at a root type. Multiple paths are shown when Schema.org defines more than one parent. For very complex types, up to 256 paths are displayed; consult the official definition for the full graph.

  1. Thing → Intangible → StructuredValue → OpeningHoursSpecification

Direct parents: StructuredValue

Child types (0)

No entries listed in the available snapshot.

Properties that accept OpeningHoursSpecification values (5)

PropertyOn typesDescription
businessDaysServicePeriod or ShippingDeliveryTimeDays of the week when the merchant typically operates, indicated via opening hours markup.
hoursAvailableContactPoint or LocationFeatureSpecification or ServiceThe hours during which this service or contact is available.
openingHoursSpecificationPlaceThe opening hours of a certain place.
seasonalOverrideShippingConditionsLimited period during which these shipping conditions apply.
specialOpeningHoursSpecificationPlaceThe special opening hours of a certain place.\n\nUse this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].

Properties usable on OpeningHoursSpecification (18)

This list includes properties whose domainIncludes names OpeningHoursSpecification or one of its ancestors. DomainIncludes is advisory; it is not an exhaustive set of permitted properties.

PropertyExpected value typesDescription
additionalTypeText, URLAn 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. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org <a href="https://schema.org/docs/styleguide.html">style guide</a>.
alternateNameTextAn alias for the item.
closesTimeThe closing hour of the place or service on the given day(s) of the week.
dayOfWeekDayOfWeekThe day of the week for which these opening hours are valid.
descriptionText, TextObjectA description of the item.
disambiguatingDescriptionTextA 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.
identifierPropertyValue, Text, URLThe 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](/docs/datamodel.html#identifierBg) for more details.
imageImageObject, URLAn image of the item. This can be a [[URL]] or a fully described [[ImageObject]].
mainEntityOfPageCreativeWork, URLIndicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.
nameTextThe name of the item.
opensTimeThe opening hour of the place or service on the given day(s) of the week.
ownerOrganization, PersonA person or organization who owns this Thing.
potentialActionActionIndicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
sameAsURLURL 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.
subjectOfCreativeWork, EventA CreativeWork or Event about this Thing.
urlURLURL of the item.
validFromDate, DateTimeThe date when the item becomes valid.
validThroughDate, DateTimeThe date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.

Schema.org vs Google

This type's presence in Schema.org is not a Google feature approval. Check our dated Google status snapshot and Google's official Rich Results Test separately.

← Back to Schema Explorer