OpeningHoursSpecification

Канонический URL: http://schema.org/OpeningHoursSpecification

Thing > Intangible > StructuredValue > 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.
Свойство Ожидаемый тип Описание
Свойства от OpeningHoursSpecification
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 DateTime The date when the item becomes valid.
validThrough 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.
Свойства от Thing
additionalType URL Дополнительный тип для элемента, который обычно используется для добавления более конкретных типов от внешних словарей в синтаксис микроданных. Это отношения между чем-то и классом к которому он принадлежит. В синтаксисе RDFa, лучше использовать родной синтаксис RDF - аттрибут "TypeOf" для множественных типов. Инстументы Schema.org могут слабо понимать дополнительные типы, особенно те, которые определены извне.
alternateName Text Любое альтернативное название медицинской сущности.
description Text Короткое описание записи.
image URL
или ImageObject
URL изображения записи.
name Text Имя записи.
sameAs URL Адрес веб-страницы, которая недвусмысленно указывает на идентичность элемента. Например, ссылка на страницу элемента на Википедии, Freebase страницу или на официальный сайт.
url URL URL записи.
potentialAction Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
mainEntityOfPage CreativeWork
или URL
Указывает на страницу (или другую "CreativeWork"), для которой эта вещь является основной описываемой сущностью. Подробнее см. В [справочных материалах] (/docs/datamodel.html#mainEntityBackground).
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 URL
или Text
или PropertyValue
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](/docs/datamodel.html#identifierBg) for more details.


Объекты класса OpeningHoursSpecification могут являтся значениями следующих свойств
Свойство В типах Описание
hoursAvailable ContactPoint
или Service
или LocationFeatureSpecification
The hours during which this service or contact is available.
openingHoursSpecification Place Время работы этого места
specialOpeningHoursSpecification Place The special opening hours of a certain place.\n\nUse this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].

Примеры

<div>
  <h1>Middle of Nowhere Foods</h1>
  <h2>Opening hours</h2>
  <p>Normally open daily <time datetime="09:00">9am</time>-<time datetime="14:00">2pm</time> except on:</p>
  <ul>
    <li>
      <time datetime="2013-12-24">24 December 2013</time> and
      <time datetime="2013-12-25">25 December 2013</time>:
      <time datetime="09:00">9am</time>-<time datetime="11:00">11am</time>
    </li>
    <li>
      <time datetime="2014-01-01">1st January 2014</time>:
      <time datetime="12:00">Noon</time>-<time datetime="14:00">2pm</time>
    </li>
  </ul>
</div>
<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">9am</time>-<time datetime="14: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">9am</time>-<time itemprop="closes" datetime="11: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">Noon</time>-<time itemprop="closes" datetime="14:00">2pm</time>
    </li>
  </ul>
</div>
<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">9am</time>-<time datetime="14: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">9am</time>-<time property="closes" datetime="11: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">Noon</time>-<time property="closes" datetime="14:00">2pm</time>
    </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": "09:00",
      "closes": "11:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "validFrom": "2014-01-01",
      "validThrough": "2014-01-01",
      "opens": "12:00",
      "closes": "14:00"
    }
  ]
}
</script>
<div>
<h1>Music Resource Centre</h1>
<h2>Opening hours</h2>
<div>Monday: <time> 9:00 AM</time> - <time> 5:00 PM</time></div>
<div>Tuesday: <time> 9:00 AM</time> - <time> 5:00 PM</time></div>
<div>Wednesday: <time> 9:00 AM</time> - <time> 5:00 PM</time></div>
<div>Thursday: <time> 9:00 AM</time> - <time> 5:00 PM</time></div>
<div>Friday: <time> 9:00 AM</time> - <time> 5:00 PM</time></div>
<div>Saturday: <time> 9:00 AM</time> - <time> 5:00 PM</time></div>
<div>Sunday: <time> 9:00 AM</time> - <time> 5:00 PM</time></div>
    <h2 >Contact information</h2>
        <div>Email address:
        <a href="mailto:dscott@laurentian.ca">dscott@laurentian.ca</a></div>
    <div>
        <div>
            <h3>Mailing address</h3>
            School of Education - Music Resource Centre<br />Laurentian University<br />
            Sudbury<br />
            ON<br />
            Canada<br />
            P3E 2C6<br />
        </div>
    </div>
    <h2>Branch relationship</h2>
    <div>Parent library:
        <a href="/eg/opac/library/LUSYS">Laurentian University</a>
    </div>
<div itemscope itemtype="http://schema.org/Library">
<h1 itemprop="name">Music Resource Centre</h1>
<h2>Opening hours</h2>
<div itemprop="openingHoursSpecification" itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://schema.org/Monday" />Monday:
<time itemprop="opens" content="09:00:00"> 9:00 AM</time> -
<time itemprop="closes" content="17:00:00"> 5:00 PM</time></div>
<div itemprop="openingHoursSpecification" itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://schema.org/Tuesday" />Tuesday:
<time itemprop="opens" content="09:00:00"> 9:00 AM</time> -
<time itemprop="closes" content="17:00:00"> 5:00 PM</time></div>
<div itemprop="openingHoursSpecification" itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://schema.org/Wednesday" />Wednesday:
<time itemprop="opens" content="09:00:00"> 9:00 AM</time> -
<time itemprop="closes" content="17:00:00"> 5:00 PM</time></div>
<div itemprop="openingHoursSpecification" itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://schema.org/Thursday" />Thursday:
<time itemprop="opens" content="09:00:00"> 9:00 AM</time> -
<time itemprop="closes" content="17:00:00"> 5:00 PM</time></div>
<div itemprop="openingHoursSpecification" itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://schema.org/Friday" />Friday:
<time itemprop="opens" content="09:00:00"> 9:00 AM</time> -
<time itemprop="closes" content="17:00:00"> 5:00 PM</time></div>
<div itemprop="openingHoursSpecification" itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://schema.org/Saturday" />Saturday:
<time itemprop="opens" content="09:00:00"> 9:00 AM</time> -
<time itemprop="closes" content="17:00:00"> 5:00 PM</time></div>
<div itemprop="openingHoursSpecification" itemtype="http://schema.org/OpeningHoursSpecification">
<link itemprop="dayOfWeek" href="http://schema.org/Sunday" />Sunday:
<time itemprop="opens" content="09:00:00"> 9:00 AM</time> -
<time itemprop="closes" content="17:00:00"> 5:00 PM</time></div>
    <h2 >Contact information</h2>
        <div>Email address:
        <a href="mailto:dscott@laurentian.ca" itemprop="email">dscott@laurentian.ca</a></div>
    <div>
        <div itemprop="location address" itemtype="http://schema.org/PostalAddress">
            <h3 itemprop="contactType">Mailing address</h3>
            <span itemprop="streetAddress">School of Education - Music Resource Centre<br />
            Laurentian University</span><br />
            <span itemprop="addressLocality">Sudbury</span><br />
            <span itemprop="addressRegion">ON</span><br />
            <span itemprop="addressCountry">Canada</span><br />
            <span itemprop="postalCode">P3E 2C6</span><br />
        </div>
    </div>
    <h2>Branch relationship</h2>
    <div>Parent library:
        <a itemprop="branchOf" href="/eg/opac/library/LUSYS">Laurentian University</a>
    </div>
<div vocab="http://schema.org/" typeof="Library">
<h1 property="name">Music Resource Centre</h1>
<h2>Opening hours</h2>
<div property="openingHoursSpecification" typeof="OpeningHoursSpecification">
<link property="dayOfWeek" href="http://schema.org/Monday" />Monday:
<time property="opens" content="09:00:00"> 9:00 AM</time> -
<time property="closes" content="17:00:00"> 5:00 PM</time></div>
<div property="openingHoursSpecification" typeof="OpeningHoursSpecification">
<link property="dayOfWeek" href="http://schema.org/Tuesday" />Tuesday:
<time property="opens" content="09:00:00"> 9:00 AM</time> -
<time property="closes" content="17:00:00"> 5:00 PM</time></div>
<div property="openingHoursSpecification" typeof="OpeningHoursSpecification">
<link property="dayOfWeek" href="http://schema.org/Wednesday" />Wednesday:
<time property="opens" content="09:00:00"> 9:00 AM</time> -
<time property="closes" content="17:00:00"> 5:00 PM</time></div>
<div property="openingHoursSpecification" typeof="OpeningHoursSpecification">
<link property="dayOfWeek" href="http://schema.org/Thursday" />Thursday:
<time property="opens" content="09:00:00"> 9:00 AM</time> -
<time property="closes" content="17:00:00"> 5:00 PM</time></div>
<div property="openingHoursSpecification" typeof="OpeningHoursSpecification">
<link property="dayOfWeek" href="http://schema.org/Friday" />Friday:
<time property="opens" content="09:00:00"> 9:00 AM</time> -
<time property="closes" content="17:00:00"> 5:00 PM</time></div>
<div property="openingHoursSpecification" typeof="OpeningHoursSpecification">
<link property="dayOfWeek" href="http://schema.org/Saturday" />Saturday:
<time property="opens" content="09:00:00"> 9:00 AM</time> -
<time property="closes" content="17:00:00"> 5:00 PM</time></div>
<div property="openingHoursSpecification" typeof="OpeningHoursSpecification">
<link property="dayOfWeek" href="http://schema.org/Sunday" />Sunday:
<time property="opens" content="09:00:00"> 9:00 AM</time> -
<time property="closes" content="17:00:00"> 5:00 PM</time></div>
    <h2 >Contact information</h2>
        <div>Email address:
        <a href="mailto:dscott@laurentian.ca" property="email">dscott@laurentian.ca</a></div>
    <div>
        <div property="location address" typeof="PostalAddress">
            <h3 property="contactType">Mailing address</h3>
            <span property="streetAddress">School of Education - Music Resource Centre<br />
            Laurentian University</span><br />
            <span property="addressLocality">Sudbury</span><br />
            <span property="addressRegion">ON</span><br />
            <span property="addressCountry">Canada</span><br />
            <span property="postalCode">P3E 2C6</span><br />
        </div>
    </div>
    <h2>Branch relationship</h2>
    <div>Parent library:
        <a property="branchOf" href="/eg/opac/library/LUSYS">Laurentian University</a>
    </div>
<script type="application/ld+json">
{
  "@context": [
    "http://schema.org",
    { "@language": "en-ca" }
  ],
  "@type": "Library",
  "address":  {
    "@id": "_:school_edu_library_1",
    "@type": "PostalAddress",
    "addressCountry": "Canada",
    "addressLocality": "Sudbury",
    "addressRegion": "ON",
    "contactType": "Mailing address",
    "postalCode": "P3E 2C6",
    "streetAddress": "School of Education - Music Resource Centre Laurentian University"
  },
  "email":  "mailto:dscott@laurentian.ca",
  "location": { "@id": "_:school_edu_library_1" },
  "name":  "Music Resource Centre",
  "parentOrganization": "https://laurentian.concat.ca/eg/opac/library/LUSYS",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "closes":  "17:00:00",
      "dayOfWeek": "http://schema.org/Sunday",
      "opens":  "09:00:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "closes": "17:00:00" ,
      "dayOfWeek": "http://schema.org/Saturday",
      "opens": "09:00:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "closes":  "17:00:00",
      "dayOfWeek": "http://schema.org/Thursday",
      "opens": "09:00:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "closes": "17:00:00",
      "dayOfWeek": "http://schema.org/Tuesday",
      "opens": "09:00:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "closes": "17:00:00",
      "dayOfWeek":  "http://schema.org/Friday",
      "opens": "09:00:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "closes": "17:00:00",
      "dayOfWeek": "http://schema.org/Monday",
      "opens": "09:00:00"
    },
    {
      "@type": "OpeningHoursSpecification",
      "closes": "17:00:00",
      "dayOfWeek":  "http://schema.org/Wednesday",
      "opens": "09:00:00"
    }
  ]
}
</script>

Schema Version 3.3