Example Store-OpeningHoursSpecification-244

RDFa (source lint)

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

microdata (source lint)

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

JSON-LD (source lint)

<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": "09:00:00",
      "closes": "11:00:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "validFrom": "2014-01-01",
      "validThrough": "2014-01-01",
      "opens": "12:00:00",
      "closes": "14:00:00"
    }
  ]
}
</script>