Vocabulary Deprecated
More information...

OpeningHoursSpecification

schema:Thing > schema:Intangible > schema:StructuredValue > schema:OpeningHoursSpecification

A structured value providing information about the opening hours of a place or a certain service inside a place.
PropertyExpected TypeDescription
Properties from schema:OpeningHoursSpecification
schema:closes schema:Time The closing hour of the place or service on the given day(s) of the week.
schema:dayOfWeek schema:DayOfWeek The day of the week for which these opening hours are valid.
schema:opens schema:Time The opening hour of the place or service on the given day(s) of the week.
schema:validFrom schema:DateTime The date when the item becomes valid.
schema:validThrough schema:DateTime The end of the validity of offer, price specification, or opening hours data.
Properties from schema:Thing
schema:additionalType schema: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.
schema:alternateName schema:Text An alias for the item.
schema:description schema:Text A short description of the item.
schema:image schema:ImageObject  or
schema:URL 
An image of the item. This can be a URL or a fully described ImageObject.
schema:name schema:Text The name of the item.
schema:potentialAction schema:Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
schema:sameAs schema:URL URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Freebase page, or official website.
schema:url schema:URL URL of the item.


Instances of schema:OpeningHoursSpecification may appear as values for the following properties
PropertyOn TypesDescription
schema:hoursAvailable schema:ContactPoint The hours during which this contact point is available.
schema:openingHoursSpecification schema:Place The opening hours of a certain place.

Prefixes used:

  • schema: http://schema.org/
  • Acknowledgements

    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/.

    Examples

    <div>
      <h1>Middle of Nowhere Foods</h1>
      <h2>Opening hours</h2>
      <p>Normally open daily 9am-2pm except on:</p>
      <ul>
        <li>
          <span>24 December 2013</span> and
          <span>25 December 2013</span>:
          <span>9am-11am</span>
        </li>
        <li>
          <span>1st January 2014</span>:
          <span>Noon-2pm</span>
        </li>
      </ul>
    </div>
    
    <div itemscope itemtype="http://schema.org/Store">
      <h1 itemprop="name">Middle of Nowhere Foods</h1>
      <h2>Opening hours</h2>
        <p>Normally open <time itemprop="openingHours" datetime="Mo,Tu,We,Th,Fr,Sa,Su 09:00-14:00">daily 9am-2pm</time> except on:</p>
      <ul>
        <li itemprop="openingHoursSpecification" itemscope itemtype="http://schema.org/OpeningHoursSpecification">
          <span itemprop="validFrom" content="2013-12-24">24 December 2013</span> and
          <span itemprop="validThrough" content="2013-12-25">25 December 2013</span>:
          <span itemprop="opens" content="09:00">9am</span>-<span itemprop="closes" content="11:00">11am</span></li>
        <li itemprop="openingHoursSpecification" itemscope itemtype="http://schema.org/OpeningHoursSpecification">
          <span itemprop="validFrom" content="2014-01-01">1st January 2014</span>
          <span itemprop="validThrough" content="2014-01-01"></span>:
          <span itemprop="opens" content="12:00">Noon</span>-<span itemprop="closes" content="14:00">2pm</span></li>
      </ul>
    </div>
    
    <div vocab="http://schema.org/" typeof="Store">
      <h1 property="name">Middle of Nowhere Foods</h1>
      <h2>Opening hours</h2>
      <p>Normally open <time property="openingHours" datetime="Mo,Tu,We,Th,Fr,Sa,Su 09:00-14:00">daily 9am-2pm</time> except on:</p>
      <ul>
        <li property="openingHoursSpecification"  typeof="OpeningHoursSpecification">
          <span property="validFrom" content="2013-12-24">24 December 2013</span> and
          <span property="validThrough" content="2013-12-25">25 December 2013</span>:
          <span property="opens" content="09:00">9am</span>-<span property="closes" content="11:00">11am</span>
        </li>
        <li property="openingHoursSpecification"  typeof="OpeningHoursSpecification">
          <span property="validFrom" content="2014-01-01">1st January 2014</span>
          <span property="validThrough" content="2014-01-01"></span>:
          <span property="opens" content="12:00">Noon</span>-<span property="closes" content="14:00">2pm</span>
        </li>
      </ul>
    </div>
    
    <script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "Store",
      "name": "Middle of Nowhere Foods",
      "openingHours": "Mo,Tu,We,Th,Fr,Sa,Su 09:00-14:00",
      "openingHoursSpecification":
      {
        "@type": "OpeningHoursSpecification",
        "validFrom": "2013-12-24",
        "validThrough": "2013-12-25",
        "opens": "12:00",
        "closes": "14:00"
      }
    }
    </script>
    

    BiblioGraph.net Version 1.1
    Schema.org Version 1.93
    Code Version 1.1