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.
Subclass of:
StructuredValue
Properties from OpeningHoursSpecification
Property | Expected Type | Description |
---|---|---|
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 | Date, DateTime | The date when the item becomes valid. |
validThrough | Date, 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
Property | Expected Type | Description |
---|---|---|
additionalType | Text, 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. 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. |
alternateName | Text | An alias for the item. |
description | TextObject, 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, URL, Text | 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, URL | An image of the item. This can be a URL or a fully described ImageObject. |
mainEntityOfPage | URL, CreativeWork | Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details. |
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, Event | A CreativeWork or Event about this Thing. |
url | URL | URL of the item. |
Instances of OpeningHoursSpecification may appear as a value for the following properties
Property | On Types | Description |
---|---|---|
businessDays | ServicePeriod, ShippingDeliveryTime | Days of the week when the merchant typically operates, indicated via opening hours markup. |
hoursAvailable | LocationFeatureSpecification, Service, ContactPoint | The hours during which this service or contact is available. |
openingHoursSpecification | Place | The opening hours of a certain place. |
seasonalOverride | ShippingConditions | Limited period during which these shipping conditions apply. |
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. |