Skip to content

OpeningHoursSpecification ​

Breadcrumb: 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.

Parent types ​

StructuredValue

Properties ​

Properties for OpeningHoursSpecification ​

PropertyExpected typeDefined onDescription
closesTimeOpeningHoursSpecificationThe closing hour of the place or service on the given day(s) of the week.
dayOfWeekDayOfWeekOpeningHoursSpecificationThe day of the week for which these opening hours are valid.
opensTimeOpeningHoursSpecificationThe opening hour of the place or service on the given day(s) of the week.
validFromDate, DateTimeOpeningHoursSpecificationThe date when the item becomes valid.
validThroughDate, DateTimeOpeningHoursSpecificationThe date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.

Inherited properties ​

PropertyExpected typeInherited fromDescription
additionalTypeText, URLThingAn 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 style guide.
alternateNameTextThingAn alias for the item.
descriptionText, TextObjectThingA description of the item.
disambiguatingDescriptionTextThingA 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, URLThingThe 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.
imageImageObject, URLThingAn image of the item. This can be a URL or a fully described ImageObject.
mainEntityOfPageCreativeWork, URLThingIndicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
nameTextThingThe name of the item.
ownerOrganization, PersonThingA person or organization who owns this Thing.
potentialActionActionThingIndicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
sameAsURLThingURL 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, EventThingA CreativeWork or Event about this Thing.
urlURLThingURL of the item.

Example ​

json
{
  "@context": "https://schema.org",
  "@type": "OpeningHoursSpecification",
  "name": "Example Name",
  "description": "A short description.",
  "url": "/example",
  "closes": "Example value",
  "dayOfWeek": "Example value"
}