Examples

Note

The examples on this page are not live on the Web, but are adaptations of existing markup used to demonstrate how the A11yMetadata project’s additions to schema.org can be used to enhance the pages. There is a live example page, including use if the Structured Data Testing tool. Web pages implementing the metadata will be provided at a future date.

American Printing House for the Blind Examples

<dl itemtype="http://schema.org/Book" itemscope="">
  <dt>Title:</dt>
  <dd itemprop="name">Algebra II, trigonometry</dd>
  <dt>Location:</dt>
  <dd itemprop="contentLocation" itemtype="http://schema.org/Location" itemscope="">
    <span itemprop="name">Louis</span>
  </dd>
  <dt>Author:</dt>
  <dd>
    <span itemprop="author" itemtype="http://schema.org/Person" itemscope="">
      <span itemprop="name">Sherman K. Stein</span>
    </span>
  </dd>
  <dt>ISBN:</dt>
  <dd itemprop="isbn">1-55636-757-0</dd>
  <dt>Publisher:</dt>
  <dd itemprop="publisher" itemtype="http://schema.org/Organization" itemscope="">
    <span itemprop="name">Sunburst Communications</span>
  </dd>
  <dt>Date:</dt>
  <dd itemprop="datePublished">1986</dd>
  <dt>Format:</dt>
  <dd><meta itemprop="accessibilityFeature" content="largePrint"/>Large Print (1)</dd>
  <dt>Grade:</dt>
  <dd>9 to 12</dd>
</dl>

Note that it is not required to include full Person, Organization and Location types for authors, locations and publishers. The following example instead uses simple text strings:

<dl itemtype="http://schema.org/Book" itemscope="">
  <dd>Title:</dd>
  <dt itemprop="name">Algebra 2 and Trigonometry</dd>
  <dt>Location:</dt>
  <dd itemprop="contentLocation">Bookshare</dd>
  <dt>Author:</dt>
  <dd>
    <span itemprop="author">Berchie Holliday</span>,
    <span itemprop="author">Gilbert J. Cuevas</span>,
    <span itemprop="author">Beatrice Moore-Harris</span>,
    <span itemprop="author">John A. Carter</span>,
    <span itemprop="author">Daniel Marks</span>,
    <span itemprop="author">Ruth M. Casey</span>,
    <span itemprop="author">Roger Day</span>,
    <span itemprop="author">Linda M. Hayek</span>
  </dd>
  <dt>ISBN:</dt>
  <dd itemprop="isbn">9780078733185</dd>
  <dt>Publisher:</dt>
  <dd itemprop="publisher">Glencoe/McGraw-Hill</dd>
  <dt>Date:</dt>
  <dd itemprop="datePublished">2006</dd>
  <dt>Format:</dt>
  <dd>
    <link itemprop="bookFormat" href="http://schema.org/DAISY3"/>Daisy, 
    Audio,
    BRF, 
    DAISY with multiple DTBooks,
    Image files
  </dd>
  <dt>Description:</dt>
  <dd itemprop="description">"New York Algebra 2 with Trigonometry" is the third of three
    books in Glencoe's New York High School Mathematics Series. This series offers complete
    coverage of New York's Mathematics standards, strands, and performance indicators. As
    students learn to integrate a comprehensive array of tools and strategies, they become
    proficient in mastering concepts and skills, solving problems, and communicating mathematically.
    This series of books helps your students identify and justify mathematical relationships;
    acquire and demonstrate mathematical reasoning ability when solving problems; use visualization
    and spatial reasoning to analyze characteristics and properties of geometric shapes;
    and succeed on the Regents Examinations.</dd>
  <dt>Grade:</dt>
  <dd>Twelfth grade, Tenth grade, Eleventh grade</dd>
  <dt>Subjects:</dt>
<dd><span itemprop="about">Textbooks</span></dd>
</dl>

Example of Book Detail

<body itemtype="http://schema.org/Book" itemscope="">
  <meta itemprop="accessibilityControl" content="fullKeyboardControl"/>
  <meta itemprop="inLanguage" content="en"/>
  <h1>Book Detail</h1>
  <dl>
    <dt>Title:</dt>
    <dd itemprop="name">Algebra II, trigonometry</dd>
    <dt>SubTitle:</dt>
    <dd>a guided inquiry</dd>
    <dt>Author:</dt>
    <dd><span itemprop="author">Sherman K. Stein</span></dd>
    <dt>ISBN:</dt>
    <dd><span itemprop="isbn">1556367570</span> / <span itemprop="isbn">9781556367571</span></dd>
    <dt>Specification:</dt>
    <dd></dd>
    <dt>Publication Year:</dt>
    <dd itemprop="datePublished">1986</dd>
    <dt>Grade(s):</dt>
    <dd>9 to 12</dd>
    <dt>Publisher:</dt>
    <dd itemprop="publisher">Sunburst Communications</dd>
    <dt>Pages:</dt>
    <dd><span itemprop="numberOfPages">422</span>, 180 p. : ill. ; 26 cm.</dd>
    <dt>Subjects:</dt>
    <dd itemprop="about">Mathematics - Algebra</dd>
  </dl>
  <h1>How to Obtain</h1>
  <dl>
    <dt>Title:</dt>
    <dd>Algebra II, trigonometry</dd>
    <dt>Agency:</dt>
    <dd itemprop="contentLocation">LRSM Library Reproduction Service</dd>
    <dt>Catalog Number:</dt>
    <dd>15824 LRSM</dd>
    <dt>Format:</dt>
    <dd><meta itemprop="accessibilityFeature" content="largePrint"/>Large Print</dd>
    <dt>Contact Info:</dt>
    <dd itemtype="http://schema.org/ContactPoint" itemscope="">
      <dl>
        <dt>(Large Print contact)</dt>
        <dd itemprop="name">Lewis, Todd</dd>
        <dt>Address:</dt>
        <dd itemprop="address" itemtype="http://schema.org/Organization" itemscope="">
          14214 S. Figueroa Street, Los Angeles, CA 90061 USA
        </dd>
        <dt>Phone:</dt>
        <dd itemprop="telephone">(800) 255-5002</dd>
        <dt>Email:</dt>
        <dd itemprop="email">LibraryReproductionService@gmail.com</dd>
        <dt>Fax:</dt>
        <dd itemprop="faxNumber">(310) 354-2601</dd>
        <dt>Website:</dt>
        <dd><a itemprop="url" href="http://www.largeprintschoolbooks.com">www.largeprintschoolbooks.com</a></dd>
      </dl>
    </dd>
  </dl>
</body>

Access to National Science Digital Library Examples

<dl itemtype="http://schema.org/VideoObject" itemscope="">
  <dt>Title:</dt>
  <dd itemprop="name">Arctic Climate Perspectives</dd>
  <dt>Description:</dt>
  <dd itemprop="description">This video, adapted from material provided by the ECHO partners,
    describes how global climate change is affecting Barrow, Alaska.</dd>
  <dt>Adaptation Type:</dt>
  <dd><span itemprop="accessibilityFeature">captions</span></dd>
  <dt>Access Mode:</dt>
  <dd>auditory, visual</dd>
  <dt>URL:</dt>
  <dd><a itemprop="url" href="http://www.teachersdomain.org/asset/echo07_vid_climate">http://www.teachersdomain.org/asset/echo07_vid_climate</a>/</dd>
  <dt>Has Adaptation:</dt>
  <dd><a href="http://www.teachersdomain.org/asset/echo07_vid_climate_dvs/">http://www.teachersdomain.org/asset/echo07_vid_climate_dvs/</a></dd>
  <dt>Subjects:</dt>
  <dd><span itemprop="about">
    National K-12 Subject::Science::Earth and Space Science::Water Cycle, Weather,
    and Climate::Structure and Composition of the Atmosphere, National K-12 Subject::Science::Earth and
    Space Science::Water Cycle, Weather, and Climate::Climate</span></dd>
  <dt>Education Level:</dt>
  <dd>Grade 6, Grade 7, Grade 8, Grade 9</dd>
  <dt>Audience:</dt>
  <dd><span itemprop="intendedEndUserRole">Learner</span></dd>
  <dt>Resource Type:</dt>
  <dd><span itemprop="genre">Audio/Visual</span>, <span itemprop="genre">Movie/Animation</span></dd>
  <dt>Language:</dt>
  <dd><span itemprop="inLanguage">en-US</span></dd>
  <dt>Publication Date:</dt>
  <dd itemprop="datePublished">2007-02-12</dd>
  <dt>Rights:</dt>
  <dd>Download and Share, 
    <a itemprop="useRightsUrl" href="http://www.teachersdomain.org/oerlicense/2/">http://www.teachersdomain.org/oerlicense/2/</a>
  </dd>
</dl>
<ul itemtype="http://schema.org/AudioObject" itemscope="">
  <li>Title: <span itemprop="name">Arctic Climate Perspectives (Audio Description)</span></li>
  <li>Description: <span itemprop="description">This video, adapted from material provided by 
    the ECHO partners, describes how global climate change is affecting Barrow, Alaska.</span></li>
  <li>Adaptation Type: <span itemprop="accessibilityFeature">audioDescription</span></li>
  <li>Access Mode: auditory, visual</li>
  <li>URL: <a itemprop="url" href="http://www.teachersdomain.org/asset/echo07_vid_climate_dvs/">http://www.teachersdomain.org/asset/echo07_vid_climate_dvs/</a></li>
  <li>Is Adaptation Of: <a href="http://www.teachersdomain.org/asset/echo07_vid_climate/">http://www.teachersdomain.org/asset/echo07_vid_climate/</a></li>
  <li>Subjects: <span itemprop="about">National K-12 Subject::Science::Earth and Space Science::Water
    Cycle, Weather, and Climate::Structure and Composition of the Atmosphere, National K-12 Subject::Science::Earth
    and Space Science::Water Cycle, Weather, and Climate::Climate</span></li>
  <li>Education Level: Grade 6, Grade 7, Grade 8, Grade 9</li>
  <li>Audience: <span itemprop="intendedEndUserRole">Learner</span></li>
  <li>Resource Type: <span itemprop="genre">Audio/Visual</span>, <span itemprop="genre">Movie/Animation</span></li>
  <li>Language: <span itemprop="inLanguage">en-US</span></li>
  <li>Publication Date: <span itemprop="datePublished">2010-09-21</span></li>
  <li>Rights: Download and Share,
    <a itemprop="useRightsUrl" href="http://www.teachersdomain.org/oerlicense/2/">http://www.teachersdomain.org/oerlicense/2/</a>
  </li>
</ul>

RDFa Lite Equivalents

Note: switching examples on this page from microdata to RDfa involves these steps: * itemtype attributes are renamed typeof and “http://schema.org/” at the start of the attribute is moved to a vocab attribute * itemprop attributes are renamed property

<dl typeof="VideoObject" vocab="http://schema.org/">
  <dt>Title:</dt>
  <dd property="name">Arctic Climate Perspectives</dd>
  <dt>Description:</dt>
  <dd property="description">This video, adapted from material provided by the ECHO partners, describes
    how global climate change is affecting Barrow, Alaska.</dd>
  <dt>Adaptation Type:</dt>
  <dd><span property="accessibilityFeature">captions</span></dd>
  <dt>Access Mode:</dt>
  <dd>auditory, visual</dd>
  <dt>URL:</dt>
  <dd><a property="url" href="http://www.teachersdomain.org/asset/echo07_vid_climate">http://www.teachersdomain.org/asset/echo07_vid_climate</a>/</dd>
  <dt>Has Adaptation:</dt>
  <dd><a href="http://www.teachersdomain.org/asset/echo07_vid_climate_dvs/">http://www.teachersdomain.org/asset/echo07_vid_climate_dvs/</a></dd>
  <dt>Subjects:</dt>
  <dd><span property="about">National K-12 Subject::Science::Earth and Space Science::Water Cycle, Weather,
    and Climate::Structure and Composition of the Atmosphere, National K-12 Subject::Science::Earth and
    Space Science::Water Cycle, Weather, and Climate::Climate</span></dd>
  <dt>Education Level:</dt>
  <dd>Grade 6, Grade 7, Grade 8, Grade 9</dd>
  <dt>Audience:</dt>
  <dd><span property="intendedEndUserRole">Learner</span></dd>
  <dt>Resource Type:</dt>
  <dd><span property="genre">Audio/Visual</span>, <span property="genre">Movie/Animation</span></dd>
  <dt>Language:</dt>
  <dd><span property="inLanguage">en-US</span></dd>
  <dt>Publication Date:</dt>
  <dd property="datePublished">2007-02-12</dd>
  <dt>Rights:</dt>
  <dd>Download and Share, <a rel="license" href="http://www.teachersdomain.org/oerlicense/2/">http://www.teachersdomain.org/oerlicense/2/</a></dd>
</dl>
<ul typeof="AudioObject" vocab="http://schema.org/">
  <li>Title: <span property="name">Arctic Climate Perspectives (Audio Description)</span></li>
  <li>Description: <span property="description">This video, adapted from material provided by the ECHO partners, describes how global climate change is affecting Barrow, Alaska.</span></li>
  <li>Adaptation Type: <span property="accessibilityFeature">audioDescription</span></li>
  <li>Access Mode: auditory, visual</li>
  <li>URL: <a property="url" href="http://www.teachersdomain.org/asset/echo07_vid_climate_dvs/">http://www.teachersdomain.org/asset/echo07_vid_climate_dvs/</a></li>
  <li>Is Adaptation Of: <a href="http://www.teachersdomain.org/asset/echo07_vid_climate/">http://www.teachersdomain.org/asset/echo07_vid_climate/</a></li>
  <li>Subjects: <span property="about">National K-12 Subject::Science::Earth and Space Science::Water Cycle, Weather, and Climate::Structure and Composition of the Atmosphere, National K-12 Subject::Science::Earth and Space Science::Water Cycle, Weather, and Climate::Climate</span></li>
  <li>Education Level: Grade 6, Grade 7, Grade 8, Grade 9</li>
  <li>Audience: <span property="intendedEndUserRole">Learner</span></li>
  <li>Resource Type: <span property="genre">Audio/Visual</span>, <span property="genre">Movie/Animation</span></li>
  <li>Language: <span property="inLanguage">en-US</span></li>
  <li>Publication Date: <span property="datePublished">2010-09-21</span></li>
  <li>Rights: Download and Share, 
    <a rel="license" href="http://www.teachersdomain.org/oerlicense/2/">http://www.teachersdomain.org/oerlicense/2/</a>
  </li>
</ul>

Holt Physical Science

On https://www.bookshare.org/browse/book/190639 we might find the following markup around the links to download the book:

<div itemscope="" itemtype="http://schema.org/Book">
   <link rel="bookFormat" href="http://schema.org/EBook/DAISY3"/>
   <meta itemprop="accessibilityControl" content="fullKeyboardControl">
   <meta itemprop="accessibilityControl" content="fullMouseControl">
   <meta itemprop="accessibilityFeature" content="longDescription">
   <meta itemprop="accessibilityFeature" content="alternativeText">
...
</div>

This indicates that the book is available as text that is resizable, in digital braille or as an MP3. It can also be read in the browser using either just the keyboard or just the mouse. Finally, long images descriptions have been added to the book to provide rich descriptions of complex images. If we were using this metadata in the Learning Registry, we might also add:

<dc:format>ANSI/NISO Z39.86-2005</dc:format>
   <dc:format>Braille-Ready Format</dc:format>
   <dc:format>audio/mp3</dc:format>

In side the eBook, we might find images using the following markup:

<img id="watergraphic_desc" src="/images/watergraphic.jpg" border="0" alt="The
  hydrologic cycle; explanations are contained in the text."
  longdesc="watergraphic_desc.xml"/>

You can see an example of the long description for the above image http://diagramcenter.org/images/stories/watergraphic.jpg at http://diagramcenter.org/examples/minimally_complete.xml

Martin Luther King Video

The example is for Martin Luther King’s I have a dream speech. Video of Martin Luther King’s “I Have a Dream” Speech: (mlkvideo.html)

<body itemprop="video" itemscope="" itemtype="http://schema.org/VideoObject">
   <meta itemprop="accessibilityControl" content="fullKeyboardControl">
   <meta itemprop="accessibilityControl" content="fullMouseControl">
   <meta itemprop="accessibilityFeature" content="captions">

   <h1>Martin Luther King's Speech (video): 'I Have a Dream' </h1>
   <video src="http://www.youtube.com/watch?v=smEqnnklfYs" controls="">
      <track src="captions.webvtt" type="captions"/>
   </video>
</body>

Audio file of the same: (mlkaudio.html)

<body itemscope="" itemtype="http://schema.org/AudioObject">
   <meta itemprop="accessibilityControl" content="fullKeyboardControl">
   <meta itemprop="accessibilityControl" content="fullMouseControl">

   <h1>Martin Luther King's Speech: 'I Have a Dream' </h1>
   <audio src="http://www.archive.org/download/MLKDream/MLKDream_64kb.mp3" controls=""/>
</body>

Transcript for both: (mlktextual.html)

<body itemscope="" itemtype="http://schema.org/WebPage">

   <h1>Martin Luther King's Speech: 'I Have a Dream' </h1>
   <p>...</p>
</body>

(The real content for this is http://www.americanrhetoric.com/speeches/mlkihaveadream.htm)

Single-Page Example

<body itemscope="" itemtype="http://schema.org/VideoObject">
   <meta itemprop="accessibilityFeature" content="captions">
   <meta itemprop="accessibilityFeature" content="transcript">
   <meta itemprop="accessibilityControl" content="fullKeyboardControl">
   <meta itemprop="accessibilityControl" content="fullMouseControl">

   <h1>Martin Luther King's Speech: 'I Have a Dream'</h1>

   <div itemprop="video" id="videoMLK">
      <p class="alert">Warning: This video contains <span itemprop="accessibilityHazard">flashing</span> that may
         cause seizures in some individuals. The <a href="#mlkAudio">audio
         track of the speech</a> is separately available below as an alternative.</p>
      <video src="http://www.youtube.com/watch?v=smEqnnklfYs" controls="">
         <track src="captions.webvtt" type="captions"/>
      </video>
   </div>

   <audio id="audioMLK" src="http://www.archive.org/download/MLKDream/MLKDream_64kb.mp3" controls=""/>

   <div itemprop="transcript" id="transcriptMLK">
      <h2>Transcript</h2>
      <p>...</p>
   </div>
</body>

Project Gutenberg Bibrec

The following record is adapted from The Adventures of Sherlock Holmes.

<body itemscope="" itemtype="http://schema.org/Book">
  <meta itemprop="publisher" content="Project Gutenberg"/>
  <meta itemprop="bookFormat" content="EBook"/>
  <h2>Bibliographic Record</h2>
  <table>
    <tbody>
      <tr>
        <th>Author</th>
        <td>
          <a href="/ebooks/author/69" itemprop="author">Doyle, Arthur Conan, Sir, 1859-1930</a>
        </td>
      </tr>
      <tr>
        <th>Title</th>
        <td itemprop="headline"> The Adventures of Sherlock Holmes </td>
      </tr>
      <tr>
        <th>Note</th>
        <td> Also available as audio book: <a href="/ebooks/9551">#9551</a></td>
      </tr>
      <tr>
        <th>Contents</th>
        <td>
          <ol>
            <li>A Scandal in Bohemia</li>
            <li>The Red-Headed League</li>
            <li>A Case of Identity</li>
            <li>The Boscombe Valley Mystery</li>
            <li>The Five Orange Pips</li>
            <li>The Man with the Twisted Lip</li>
            <li>The Adventure of the Blue Carbuncle</li>
            <li>The Adventure of the Speckled Band</li>
            <li>The Adventure of the Engineer's Thumb</li>
            <li>The Adventure of the Noble Bachelor</li>
            <li>The Adventure of the Beryl Coronet</li>
            <li>The Adventure of the Copper Beeches</li>
          </ol>
        </td>
      </tr>
      <tr>
        <th>Language</th>
        <td><meta itemprop="inLanguage" content="en"/>English</td>
      </tr>
      <tr>
        <th>LoC Class</th>
        <td>
          <a href="/browse/loccs/pr"><span itemprop="subject"/>PR: Language and Literatures: English literature</a>
        </td>
      </tr>
      <tr>
        <th>Subject</th>
        <td itemprop="subject">
          <a href="/ebooks/subject/76"> Holmes, Sherlock (Fictitious character) -- Fiction </a>
        </td>
      </tr>
      <tr>
        <th>Subject</th>
        <td itemprop="subject">
          <a href="/ebooks/subject/150"> Private investigators -- England -- Fiction </a>
        </td>
      </tr>
      <tr>
        <th>Subject</th>
        <td itemprop="subject">
          <a href="/ebooks/subject/2572"> Detective and mystery stories, English </a>
        </td>
      </tr>
      <tr>
        <th>Category</th>
        <td>Text</td>
      </tr>
      <tr>
        <th>EBook-No.</th>
        <td>1661</td>
      </tr>
      <tr>
        <th>Release Date</th>
        <td itemprop="datePublished">1 Mar 1999</td>
      </tr>
      <tr>
        <th>Copyright Status</th>
        <td>Public domain in the USA.</td>
      </tr>
      <tr>
        <th>Downloads</th>
        <td itemprop="interactionCount">28689 downloads in the last 30 days.</td>
      </tr>
      <tr itemprop="offers" itemscope="itemscope" itemtype="http://schema.org/Offer">
        <th>Price</th>
        <td>
          <meta itemprop="priceCurrency" content="USD"/>
          <span itemprop="price">$0.00</span>
          <link itemprop="availability" href="http://schema.org/InStock"/>
        </td>
      </tr>
    </tbody>
  </table>
</body>

For comments or discussion, enter the discussion on our Discuss page.