CINXE.COM
OpeningHoursSpecification - Schema.org Type
<!DOCTYPE html> <html lang="en"> <!-- Generated from TermPageEx.j2 --> <head> <title>OpeningHoursSpecification - Schema.org Type</title> <meta charset="utf-8" > <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Schema.org Type: OpeningHoursSpecification - A structured value providing information about the opening hours of a place or a certain service inside a place.<br/><br/> The place is <strong>open</strong> if the <a class="localLink" href="/opens">opens</a> property is specified, and <strong>closed</strong> otherwise.<br/><br/> If the value for the <a class="localLink" href="/closes">closes</a> property is less than the value for the <a class="localLink" href="/opens">opens</a> property then the hour range is assumed to span over the next day." /> <link rel="shortcut icon" type="image/png" href="/docs/favicon.ico"/> <link rel="stylesheet" type="text/css" href="/docs/schemaorg.css" /> <link rel="stylesheet" type="text/css" href="/docs/devnote.css" /> <link rel="stylesheet" type="text/css" href="/docs/prettify.css" /> <script src="/docs/prettify.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="/docs/schemaorg.js"></script> <!-- <script src="/docs/debugwindow/viewconsole.js"></script> --> <script src="/docs/sdotermpage.js"></script> <link rel="stylesheet" type="text/css" href="/docs/sdotermpage.css" /> <script src="/docs/pretty-markup/schemarama-parsing.bundle.min.js"></script> <script src="/docs/pretty-markup/layout.js"></script> <link rel="stylesheet" type="text/css" href="/docs/pretty-markup/style.css" /> <script src="/docs/clipboard/clipboard.min.js"></script> <link rel="canonical" href="https://schema.org/OpeningHoursSpecification" /> </head> <body> <!-- Header start from PageHeader.j2 --> <!-- Static Doc Insert PageHead --> <div class="devnote"><b>Note</b>: You are viewing the development version of <a href="https://schema.org">Schema.org</a>. See <a href="/docs/howwework.html">how we work</a> for more details. </div> <div id="container"> <div id="headerwrap"> <div id="pagehead1" class="mobnav"> <div class="header-block" id="pagehead-left"> <div id="sitename2"> <a href="/">Schema.org</a> </div> </div> <div class="header-block header-block-right mobnav" id="pagehead-mid"> <div id="selectionbar2"> <ul> <li> <a href="/docs/documents.html">Docs</a> </li> <li> <a href="/docs/schemas.html">Schemas</a> </li> <li> <a href="https://validator.schema.org">Validate</a> </li> <li> <a href="/docs/about.html">About</a> </li> </ul> </div> <!-- selectionbar --> </div> <div class="header-block header-block-right mobnav" id="pagehead-right"> <div id="cse-search-form2" class="live-only"> <div class="gcse-searchbox-only" data-resultsUrl="/docs/search_results.html"></div> </div> </div> <div class="header-block mobnav" id="navicon2"> <a href="javascript:void(0);" class="icon" onclick="navFunction()"> <svg id="open" width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_3560_173)"> <path d="M3 18V16H21V18H3ZM3 13V11H21V13H3ZM3 8V6H21V8H3Z" fill="#444746"/> </g> <defs> <clipPath id="clip0_3560_173"> <rect width="24" height="24" fill="white"/> </clipPath> </defs> </svg> <svg id="close" width="24px" height="24px" viewBox="0 -960 960 960" fill="#444746" xmlns="http://www.w3.org/2000/svg"> <path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/> </svg> </a> </div> </div> </div> <div class="header-bottom"></div> </div> <!-- Header end from PageHeader.j2 --> <div id="mainContent"> <div id="infoblock" class="jumptarget" title="Details"> <!-- Label / termType / canonical URI --> <div id="infohead"> <h1>OpeningHoursSpecification</h1> <div class="infotype">A Schema.org Type</div> <!-- Pending/retired/term in section --> </div> <!-- Breadcrumb display of term inheritance --> <div class="superPaths" itemscope itemtype="https://schema.org/BreadcrumbList"> <span itemscope itemprop="itemListElement" itemtype="https://schema.org/ListItem"> <meta itemprop="name" content="Thing" /> <meta itemprop="position" content="1" /> <a href="/Thing" itemprop="item" class="core" title="Thing">Thing</a> </span> > <span itemscope itemprop="itemListElement" itemtype="https://schema.org/ListItem"> <meta itemprop="name" content="Intangible" /> <meta itemprop="position" content="2" /> <a href="/Intangible" itemprop="item" class="core" title="Intangible">Intangible</a> </span> > <span itemscope itemprop="itemListElement" itemtype="https://schema.org/ListItem"> <meta itemprop="name" content="StructuredValue" /> <meta itemprop="position" content="3" /> <a href="/StructuredValue" itemprop="item" class="core" title="StructuredValue">StructuredValue</a> </span> > <span itemscope itemprop="itemListElement" itemtype="https://schema.org/ListItem"> <meta itemprop="name" content="OpeningHoursSpecification" /> <meta itemprop="position" content="4" /> <a href="/OpeningHoursSpecification" itemprop="item" class="core" title="OpeningHoursSpecification">OpeningHoursSpecification</a> </span> <br/> </div> <!-- More Block --> <div> <div id='infobox' style='text-align: right; padding-right: 5px;' role="checkbox" aria-checked="false"> <label for="morecheck"><b><span style="cursor: pointer;">[more...]</span></b></label> </div> <input type='checkbox' checked="checked" style='display: none' id=morecheck><div id='infomsg' style='background-color: #EEEEEE; text-align: left; padding: 0.5em;'> <ul><li> <span class="canonicalUrl">Canonical URL: https://schema.org/OpeningHoursSpecification</span> </li> <!--<li><a href='https://docs.google.com/a/google.com/forms/d/1krxHlWJAO3JgvHRZV9Rugkr9VYnMdrI10xbGsWt733c/viewform?entry.1174568178&entry.41124795=https://schema.org/OpeningHoursSpecification&entry.882602760=Type'>Leave public feedback on this term 💬</a></li>--> <li><a href='https://github.com/schemaorg/schemaorg/issues?q=is%3Aissue+is%3Aopen+OpeningHoursSpecification'>Check for open issues.</a></li> </ul> </div> </div> <!-- Description of term --> <div class="description">A structured value providing information about the opening hours of a place or a certain service inside a place.<br/><br/> The place is <strong>open</strong> if the <a class="localLink" href="/opens">opens</a> property is specified, and <strong>closed</strong> otherwise.<br/><br/> If the value for the <a class="localLink" href="/closes">closes</a> property is less than the value for the <a class="localLink" href="/opens">opens</a> property then the hour range is assumed to span over the next day.</div> </div> <!-- infoblock --> <!-- Show properties (if any) associated with term and its supertypes --> <!-- Properties block for term: OpeningHoursSpecification--> <!-- Identify if this term or one of its supertypes has any associated properties --> <table class="definition-table"> <thead> <tr><th>Property</th><th>Expected Type</th><th>Description</th></tr> </thead> <!-- Properties for Term: OpeningHoursSpecification--> <tr class="supertype"><th class="supertype-name" colspan="3">Properties from <a href="/OpeningHoursSpecification" class="core" title="OpeningHoursSpecification">OpeningHoursSpecification</a></th></tr> <tr><th class="prop-nam"><code> <a href="/closes" class="core" title="closes">closes</a></code></th> <td class="prop-ect"> <a href="/Time" class="core" title="Time">Time</a></td> <td class="prop-desc">The closing hour of the place or service on the given day(s) of the week. </td> </tr> <tr><th class="prop-nam"><code> <a href="/dayOfWeek" class="core" title="dayOfWeek">dayOfWeek</a></code></th> <td class="prop-ect"> <a href="/DayOfWeek" class="core" title="DayOfWeek">DayOfWeek</a></td> <td class="prop-desc">The day of the week for which these opening hours are valid. </td> </tr> <tr><th class="prop-nam"><code> <a href="/opens" class="core" title="opens">opens</a></code></th> <td class="prop-ect"> <a href="/Time" class="core" title="Time">Time</a></td> <td class="prop-desc">The opening hour of the place or service on the given day(s) of the week. </td> </tr> <tr><th class="prop-nam"><code> <a href="/validFrom" class="core" title="validFrom">validFrom</a></code></th> <td class="prop-ect"> <a href="/Date" class="core" title="Date">Date</a> or <br/> <a href="/DateTime" class="core" title="DateTime">DateTime</a></td> <td class="prop-desc">The date when the item becomes valid. </td> </tr> <tr><th class="prop-nam"><code> <a href="/validThrough" class="core" title="validThrough">validThrough</a></code></th> <td class="prop-ect"> <a href="/Date" class="core" title="Date">Date</a> or <br/> <a href="/DateTime" class="core" title="DateTime">DateTime</a></td> <td class="prop-desc">The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours. </td> </tr> <!-- Properties for Term: StructuredValue--> <!-- Properties for Term: Intangible--> <!-- Properties for Term: Thing--> <tr class="supertype"><th class="supertype-name" colspan="3">Properties from <a href="/Thing" class="core" title="Thing">Thing</a></th></tr> <tr><th class="prop-nam"><code> <a href="/additionalType" class="core" title="additionalType">additionalType</a></code></th> <td class="prop-ect"> <a href="/Text" class="core" title="Text">Text</a> or <br/> <a href="/URL" class="core" title="URL">URL</a></td> <td class="prop-desc">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 <a href="https://schema.org/docs/styleguide.html">style guide</a>. </td> </tr> <tr><th class="prop-nam"><code> <a href="/alternateName" class="core" title="alternateName">alternateName</a></code></th> <td class="prop-ect"> <a href="/Text" class="core" title="Text">Text</a></td> <td class="prop-desc">An alias for the item. </td> </tr> <tr><th class="prop-nam"><code> <a href="/description" class="core" title="description">description</a></code></th> <td class="prop-ect"> <a href="/Text" class="core" title="Text">Text</a> or <br/> <a href="/TextObject" class="core" title="TextObject">TextObject</a></td> <td class="prop-desc">A description of the item. </td> </tr> <tr><th class="prop-nam"><code> <a href="/disambiguatingDescription" class="core" title="disambiguatingDescription">disambiguatingDescription</a></code></th> <td class="prop-ect"> <a href="/Text" class="core" title="Text">Text</a></td> <td class="prop-desc">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. </td> </tr> <tr><th class="prop-nam"><code> <a href="/identifier" class="core" title="identifier">identifier</a></code></th> <td class="prop-ect"> <a href="/PropertyValue" class="core" title="PropertyValue">PropertyValue</a> or <br/> <a href="/Text" class="core" title="Text">Text</a> or <br/> <a href="/URL" class="core" title="URL">URL</a></td> <td class="prop-desc">The identifier property represents any kind of identifier for any kind of <a class="localLink" href="/Thing">Thing</a>, 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 <a href="/docs/datamodel.html#identifierBg">background notes</a> for more details. </td> </tr> <tr><th class="prop-nam"><code> <a href="/image" class="core" title="image">image</a></code></th> <td class="prop-ect"> <a href="/ImageObject" class="core" title="ImageObject">ImageObject</a> or <br/> <a href="/URL" class="core" title="URL">URL</a></td> <td class="prop-desc">An image of the item. This can be a <a class="localLink" href="/URL">URL</a> or a fully described <a class="localLink" href="/ImageObject">ImageObject</a>. </td> </tr> <tr><th class="prop-nam"><code> <a href="/mainEntityOfPage" class="core" title="mainEntityOfPage">mainEntityOfPage</a></code></th> <td class="prop-ect"> <a href="/CreativeWork" class="core" title="CreativeWork">CreativeWork</a> or <br/> <a href="/URL" class="core" title="URL">URL</a></td> <td class="prop-desc">Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See <a href="/docs/datamodel.html#mainEntityBackground">background notes</a> for details. <br/>Inverse property: <a href="/mainEntity" class="core" title="mainEntity">mainEntity</a> </td> </tr> <tr><th class="prop-nam"><code> <a href="/name" class="core" title="name">name</a></code></th> <td class="prop-ect"> <a href="/Text" class="core" title="Text">Text</a></td> <td class="prop-desc">The name of the item. </td> </tr> <tr><th class="prop-nam"><code> <a href="/potentialAction" class="core" title="potentialAction">potentialAction</a></code></th> <td class="prop-ect"> <a href="/Action" class="core" title="Action">Action</a></td> <td class="prop-desc">Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. </td> </tr> <tr><th class="prop-nam"><code> <a href="/sameAs" class="core" title="sameAs">sameAs</a></code></th> <td class="prop-ect"> <a href="/URL" class="core" title="URL">URL</a></td> <td class="prop-desc">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. </td> </tr> <tr><th class="prop-nam"><code> <a href="/subjectOf" class="core" title="subjectOf">subjectOf</a></code></th> <td class="prop-ect"> <a href="/CreativeWork" class="core" title="CreativeWork">CreativeWork</a> or <br/> <a href="/Event" class="core" title="Event">Event</a></td> <td class="prop-desc">A CreativeWork or Event about this Thing. <br/>Inverse property: <a href="/about" class="core" title="about">about</a> </td> </tr> <tr><th class="prop-nam"><code> <a href="/url" class="core" title="url">url</a></code></th> <td class="prop-ect"> <a href="/URL" class="core" title="URL">URL</a></td> <td class="prop-desc">URL of the item. </td> </tr> </table> <!-- List properties that have this term as an Expected type --> <br/><div id="incoming">Instances of <a href="/OpeningHoursSpecification" class="core" title="OpeningHoursSpecification">OpeningHoursSpecification</a> may appear as a value for the following properties</div> <table class="definition-table"> <thead><tr><th>Property</th><th>On Types</th><th>Description</th></tr></thead> <tr><th class="prop-nam"> <a href="/businessDays" class="core" title="businessDays">businessDays</a></th> <td class="prop-ect"> <a href="/ShippingDeliveryTime" class="core" title="ShippingDeliveryTime">ShippingDeliveryTime</a></td> <td class="prop-desc">Days of the week when the merchant typically operates, indicated via opening hours markup. </tr> <tr><th class="prop-nam"> <a href="/hoursAvailable" class="core" title="hoursAvailable">hoursAvailable</a></th> <td class="prop-ect"> <a href="/ContactPoint" class="core" title="ContactPoint">ContactPoint</a> or <br/> <a href="/LocationFeatureSpecification" class="core" title="LocationFeatureSpecification">LocationFeatureSpecification</a> or <br/> <a href="/Service" class="core" title="Service">Service</a></td> <td class="prop-desc">The hours during which this service or contact is available. </tr> <tr><th class="prop-nam"> <a href="/openingHoursSpecification" class="core" title="openingHoursSpecification">openingHoursSpecification</a></th> <td class="prop-ect"> <a href="/Place" class="core" title="Place">Place</a></td> <td class="prop-desc">The opening hours of a certain place. </tr> <tr><th class="prop-nam"> <a href="/specialOpeningHoursSpecification" class="core" title="specialOpeningHoursSpecification">specialOpeningHoursSpecification</a></th> <td class="prop-ect"> <a href="/Place" class="core" title="Place">Place</a></td> <td class="prop-desc">The special opening hours of a certain place.<br/><br/> Use this to explicitly override general opening hours brought in scope by <a class="localLink" href="/openingHoursSpecification">openingHoursSpecification</a> or <a class="localLink" href="/openingHours">openingHours</a>. </tr> </table> <!-- List subtypes/subproperties --> <!-- List subs (Subtypes/subproperties/enumeration members/etc.) for Term --> <!-- list supersedes and superseded references --> <!-- list source references and acknowledgements --> <div id="acks" class="ackblock jumptarget" title="Acknowledgements"> <h3>Acknowledgements</h3> <div class="ack"> <div class="ack-desc"> <div class="ack-head"> <!--<a href="/docs/collab/GoodRelationsClass">--> <div class="ack-title"> GoodRelations Vocabulary Classes </div> <!--<div class="ack-img"> </div>--> <!--</a>--> </div> 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 <a href="http://purl.org/goodrelations/">http://purl.org/goodrelations/</a>. <!--<span style="margin: 8px;"><a href="/docs/collab/GoodRelationsClass">More…</a></span>--> </div> </div> </div> <!-- list examples --> <!-- Examples block for term: OpeningHoursSpecification--> <div id="examplespannel" class="jumptarget" title="Examples"> <h3>Examples</h3> <div class="example-head"> <button class="clip clipbutton eg-0193" data-clipboard-target=".ds-tab.selected.eg-0193 .clipsource" title="Copy example to clipboard"> <img src="/docs/clipboard/clippy.svg" width="18" alt="Copy to clipboard" /> </button> <a id="eg-0193" title="Link: #eg-0193" href="#eg-0193" class="clickableAnchor" >Example 1</a> <div class="tooltip"> <span class="tooltiptext eg-0193">Copied</span> </div> </div> <div class='ds-selector-tabs ds-selector'> <div class='selectors'> <a data-selects='original_html' class='selected'>No Markup</a> <a data-selects='microdata' class=''>Microdata</a> <a data-selects='rdfa' class=''>RDFa</a> <a data-selects='jsonld' class=''>JSON-LD</a> <a data-selects='structure' class='extabs'>Structure</a> </div> <div class="ds-tab eg-0193 original_html selected"> <div class="ds-tab-note" >Example notes or example HTML without markup.</div> <pre class="ds-tab-content prettyprint lang-html linenums clipsource "> <div> <h1>Middle of Nowhere Foods</h1> <h2>Opening hours</h2> <p>Normally open daily <time datetime="09:00:00">9am</time>-<time datetime="14:00: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:00">9am</time>-<time datetime="11:00:00">11am</time> </li> <li> <time datetime="2014-01-01">1st January 2014</time>: <time datetime="12:00:00">Noon</time>-<time datetime="14:00:00">2pm</time> </li> </ul> </div> </pre> </div> <div class="ds-tab eg-0193 microdata "> <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/Microdata_(HTML)">Microdata</a> embedded in HTML.</div> <pre class="ds-tab-content prettyprint lang-html linenums clipsource "> <div itemscope itemtype="https://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="https://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="https://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> </pre> </div> <div class="ds-tab eg-0193 rdfa "> <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/RDFa">RDFa</a> embedded in HTML.</div> <pre class="ds-tab-content prettyprint lang-html linenums clipsource "> <div vocab="https://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> </pre> </div> <div class="ds-tab eg-0193 jsonld "> <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/JSON-LD">JSON-LD</a> in a HTML script tag.</div> <pre class="ds-tab-content prettyprint lang-html linenums clipsource "> <script type="application/ld+json"> { "@context": "https://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> </pre> </div> <div class="ds-tab eg-0193 structure extabs" data-ex="eg-0193"> <div class="ds-tab-note" >Structured representation of the JSON-LD example.</div> <div class="ds-tab-content structureout extabs eg-0193" style="margin-left: 5px;"> </div> <div class="structuretext clipsource extabs eg-0193"></div> </div> <div class="payload eg-0193" style="display: none;">{ "@context": "https://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" } ] }</div> </div> <div class="example-head"> <button class="clip clipbutton eg-0378" data-clipboard-target=".ds-tab.selected.eg-0378 .clipsource" title="Copy example to clipboard"> <img src="/docs/clipboard/clippy.svg" width="18" alt="Copy to clipboard" /> </button> <a id="eg-0378" title="Link: #eg-0378" href="#eg-0378" class="clickableAnchor" >Example 2</a> <div class="tooltip"> <span class="tooltiptext eg-0378">Copied</span> </div> </div> <div class='ds-selector-tabs ds-selector'> <div class='selectors'> <a data-selects='original_html' class='selected'>No Markup</a> <a data-selects='microdata' class=''>Microdata</a> <a data-selects='rdfa' class=''>RDFa</a> <a data-selects='jsonld' class=''>JSON-LD</a> <a data-selects='structure' class='extabs'>Structure</a> </div> <div class="ds-tab eg-0378 original_html selected"> <div class="ds-tab-note" >Example notes or example HTML without markup.</div> <pre class="ds-tab-content prettyprint lang-html linenums clipsource "> <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> </pre> </div> <div class="ds-tab eg-0378 microdata "> <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/Microdata_(HTML)">Microdata</a> embedded in HTML.</div> <pre class="ds-tab-content prettyprint lang-html linenums clipsource "> <div itemscope itemtype="https://schema.org/Library"> <h1 itemprop="name"> Music Resource Centre </h1> <h2> Opening hours </h2> <div itemprop="openingHoursSpecification" itemscope itemtype="https://schema.org/OpeningHoursSpecification"> <link itemprop="dayOfWeek" href="https://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" itemscope itemtype="https://schema.org/OpeningHoursSpecification"> <link itemprop="dayOfWeek" href="https://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" itemscope itemtype="https://schema.org/OpeningHoursSpecification"> <link itemprop="dayOfWeek" href="https://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" itemscope itemtype="https://schema.org/OpeningHoursSpecification"> <link itemprop="dayOfWeek" href="https://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" itemscope itemtype="https://schema.org/OpeningHoursSpecification"> <link itemprop="dayOfWeek" href="https://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" itemscope itemtype="https://schema.org/OpeningHoursSpecification"> <link itemprop="dayOfWeek" href="https://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" itemscope itemtype="https://schema.org/OpeningHoursSpecification"> <link itemprop="dayOfWeek" href="https://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" itemscope itemtype="https://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="parentOrganization" href="/eg/opac/library/LUSYS">Laurentian University</a> </div> </div> </pre> </div> <div class="ds-tab eg-0378 rdfa "> <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/RDFa">RDFa</a> embedded in HTML.</div> <pre class="ds-tab-content prettyprint lang-html linenums clipsource "> <div vocab="https://schema.org/" typeof="Library"> <h1 property="name"> Music Resource Centre </h1> <h2> Opening hours </h2> <div property="openingHoursSpecification" typeof="OpeningHoursSpecification"> <link property="dayOfWeek" href="https://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="https://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="https://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="https://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="https://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="https://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="https://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="parentOrganization" href="/eg/opac/library/LUSYS">Laurentian University</a> </div> </div> </pre> </div> <div class="ds-tab eg-0378 jsonld "> <div class="ds-tab-note" >Example encoded as <a class="ds-tab-note" href="https://en.wikipedia.org/wiki/JSON-LD">JSON-LD</a> in a HTML script tag.</div> <pre class="ds-tab-content prettyprint lang-html linenums clipsource "> <script type="application/ld+json"> { "@context": [ "https://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": "https://schema.org/Sunday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00" , "dayOfWeek": "https://schema.org/Saturday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Thursday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Tuesday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Friday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Monday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Wednesday", "opens": "09:00:00" } ] } </script> </pre> </div> <div class="ds-tab eg-0378 structure extabs" data-ex="eg-0378"> <div class="ds-tab-note" >Structured representation of the JSON-LD example.</div> <div class="ds-tab-content structureout extabs eg-0378" style="margin-left: 5px;"> </div> <div class="structuretext clipsource extabs eg-0378"></div> </div> <div class="payload eg-0378" style="display: none;">{ "@context": [ "https://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": "https://schema.org/Sunday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00" , "dayOfWeek": "https://schema.org/Saturday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Thursday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Tuesday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Friday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Monday", "opens": "09:00:00" }, { "@type": "OpeningHoursSpecification", "closes": "17:00:00", "dayOfWeek": "https://schema.org/Wednesday", "opens": "09:00:00" } ] }</div> </div> </div> </div> <!-- mainContent --> <!-- Footer start from PageFooter.j2 --> <div id="footer"> <p><a href="/docs/terms.html">Terms and conditions</a></p> <div id="versioninfo"> <span class="sep">•</span> Schema.org <span class="sep">•</span> V28.1 <span class="sep">|</span> 2024-11-22 </div> </div> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-52672119-1', 'auto'); ga('send', 'pageview'); </script> <!-- Footer end from PageFooter.j2 --> <script type="application/ld+json"> { "@context": { "brick": "https://brickschema.org/schema/Brick#", "csvw": "http://www.w3.org/ns/csvw#", "dc": "http://purl.org/dc/elements/1.1/", "dcam": "http://purl.org/dc/dcam/", "dcat": "http://www.w3.org/ns/dcat#", "dcmitype": "http://purl.org/dc/dcmitype/", "dcterms": "http://purl.org/dc/terms/", "doap": "http://usefulinc.com/ns/doap#", "foaf": "http://xmlns.com/foaf/0.1/", "odrl": "http://www.w3.org/ns/odrl/2/", "org": "http://www.w3.org/ns/org#", "owl": "http://www.w3.org/2002/07/owl#", "prof": "http://www.w3.org/ns/dx/prof/", "prov": "http://www.w3.org/ns/prov#", "qb": "http://purl.org/linked-data/cube#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "schema": "https://schema.org/", "sh": "http://www.w3.org/ns/shacl#", "skos": "http://www.w3.org/2004/02/skos/core#", "sosa": "http://www.w3.org/ns/sosa/", "ssn": "http://www.w3.org/ns/ssn/", "time": "http://www.w3.org/2006/time#", "vann": "http://purl.org/vocab/vann/", "void": "http://rdfs.org/ns/void#", "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@graph": [ { "@id": "schema:dayOfWeek", "@type": "rdf:Property", "rdfs:comment": "The day of the week for which these opening hours are valid.", "rdfs:label": "dayOfWeek", "schema:contributor": { "@id": "https://schema.org/docs/collab/GoodRelationsTerms" }, "schema:domainIncludes": [ { "@id": "schema:OpeningHoursSpecification" }, { "@id": "schema:EducationalOccupationalProgram" } ], "schema:rangeIncludes": { "@id": "schema:DayOfWeek" } }, { "@id": "schema:potentialAction", "@type": "rdf:Property", "rdfs:comment": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", "rdfs:label": "potentialAction", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": { "@id": "schema:Action" } }, { "@id": "schema:mainEntityOfPage", "@type": "rdf:Property", "rdfs:comment": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", "rdfs:label": "mainEntityOfPage", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:inverseOf": { "@id": "schema:mainEntity" }, "schema:rangeIncludes": [ { "@id": "schema:CreativeWork" }, { "@id": "schema:URL" } ] }, { "@id": "schema:closes", "@type": "rdf:Property", "rdfs:comment": "The closing hour of the place or service on the given day(s) of the week.", "rdfs:label": "closes", "schema:contributor": { "@id": "https://schema.org/docs/collab/GoodRelationsTerms" }, "schema:domainIncludes": { "@id": "schema:OpeningHoursSpecification" }, "schema:rangeIncludes": { "@id": "schema:Time" } }, { "@id": "schema:validFrom", "@type": "rdf:Property", "rdfs:comment": "The date when the item becomes valid.", "rdfs:label": "validFrom", "schema:contributor": { "@id": "https://schema.org/docs/collab/GoodRelationsTerms" }, "schema:domainIncludes": [ { "@id": "schema:OpeningHoursSpecification" }, { "@id": "schema:MonetaryAmount" }, { "@id": "schema:Permit" }, { "@id": "schema:PriceSpecification" }, { "@id": "schema:Demand" }, { "@id": "schema:LocationFeatureSpecification" }, { "@id": "schema:Offer" }, { "@id": "schema:Certification" } ], "schema:rangeIncludes": [ { "@id": "schema:DateTime" }, { "@id": "schema:Date" } ] }, { "@id": "schema:image", "@type": "rdf:Property", "rdfs:comment": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", "rdfs:label": "image", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": [ { "@id": "schema:ImageObject" }, { "@id": "schema:URL" } ] }, { "@id": "schema:Intangible", "@type": "rdfs:Class", "rdfs:comment": "A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc.", "rdfs:label": "Intangible", "rdfs:subClassOf": { "@id": "schema:Thing" } }, { "@id": "schema:opens", "@type": "rdf:Property", "rdfs:comment": "The opening hour of the place or service on the given day(s) of the week.", "rdfs:label": "opens", "schema:contributor": { "@id": "https://schema.org/docs/collab/GoodRelationsTerms" }, "schema:domainIncludes": { "@id": "schema:OpeningHoursSpecification" }, "schema:rangeIncludes": { "@id": "schema:Time" } }, { "@id": "schema:disambiguatingDescription", "@type": "rdf:Property", "rdfs:comment": "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.", "rdfs:label": "disambiguatingDescription", "rdfs:subPropertyOf": { "@id": "schema:description" }, "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": { "@id": "schema:Text" } }, { "@id": "schema:url", "@type": "rdf:Property", "rdfs:comment": "URL of the item.", "rdfs:label": "url", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": { "@id": "schema:URL" } }, { "@id": "schema:Thing", "@type": "rdfs:Class", "rdfs:comment": "The most generic type of item.", "rdfs:label": "Thing" }, { "@id": "schema:additionalType", "@type": "rdf:Property", "rdfs:comment": "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\n 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 <a href=\"https://schema.org/docs/styleguide.html\">style guide</a>.", "rdfs:label": "additionalType", "rdfs:subPropertyOf": { "@id": "rdf:type" }, "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": [ { "@id": "schema:Text" }, { "@id": "schema:URL" } ] }, { "@id": "schema:sameAs", "@type": "rdf:Property", "rdfs:comment": "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.", "rdfs:label": "sameAs", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": { "@id": "schema:URL" } }, { "@id": "schema:alternateName", "@type": "rdf:Property", "rdfs:comment": "An alias for the item.", "rdfs:label": "alternateName", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": { "@id": "schema:Text" } }, { "@id": "schema:StructuredValue", "@type": "rdfs:Class", "rdfs:comment": "Structured values are used when the value of a property has a more complex structure than simply being a textual value or a reference to another thing.", "rdfs:label": "StructuredValue", "rdfs:subClassOf": { "@id": "schema:Intangible" } }, { "@id": "schema:identifier", "@type": "rdf:Property", "owl:equivalentProperty": { "@id": "dcterms:identifier" }, "rdfs:comment": "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.\n ", "rdfs:label": "identifier", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": [ { "@id": "schema:URL" }, { "@id": "schema:Text" }, { "@id": "schema:PropertyValue" } ] }, { "@id": "schema:validThrough", "@type": "rdf:Property", "rdfs:comment": "The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.", "rdfs:label": "validThrough", "schema:contributor": { "@id": "https://schema.org/docs/collab/GoodRelationsTerms" }, "schema:domainIncludes": [ { "@id": "schema:MonetaryAmount" }, { "@id": "schema:JobPosting" }, { "@id": "schema:LocationFeatureSpecification" }, { "@id": "schema:Offer" }, { "@id": "schema:PriceSpecification" }, { "@id": "schema:Demand" }, { "@id": "schema:OpeningHoursSpecification" } ], "schema:rangeIncludes": [ { "@id": "schema:DateTime" }, { "@id": "schema:Date" } ] }, { "@id": "schema:description", "@type": "rdf:Property", "owl:equivalentProperty": { "@id": "dcterms:description" }, "rdfs:comment": "A description of the item.", "rdfs:label": "description", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": [ { "@id": "schema:Text" }, { "@id": "schema:TextObject" } ] }, { "@id": "schema:subjectOf", "@type": "rdf:Property", "rdfs:comment": "A CreativeWork or Event about this Thing.", "rdfs:label": "subjectOf", "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:inverseOf": { "@id": "schema:about" }, "schema:rangeIncludes": [ { "@id": "schema:CreativeWork" }, { "@id": "schema:Event" } ], "schema:source": { "@id": "https://github.com/schemaorg/schemaorg/issues/1670" } }, { "@id": "schema:name", "@type": "rdf:Property", "owl:equivalentProperty": { "@id": "dcterms:title" }, "rdfs:comment": "The name of the item.", "rdfs:label": "name", "rdfs:subPropertyOf": { "@id": "rdfs:label" }, "schema:domainIncludes": { "@id": "schema:Thing" }, "schema:rangeIncludes": { "@id": "schema:Text" } }, { "@id": "schema:OpeningHoursSpecification", "@type": "rdfs:Class", "rdfs:comment": "A structured value providing information about the opening hours of a place or a certain service inside a place.\\n\\n\nThe 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.\n ", "rdfs:label": "OpeningHoursSpecification", "rdfs:subClassOf": { "@id": "schema:StructuredValue" }, "schema:contributor": { "@id": "https://schema.org/docs/collab/GoodRelationsClass" } } ] } </script> </body> </html>