WebSchemas/Sports/samples/espn-schema-proposal-Itemtypes

From W3C Wiki
Jump to: navigation, search
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ESPN schema-proposal example - Itemtypes -->
  3. <!-- begin line score -->
  4. <div class="line-score clear">
  5.     <div class="line-score-container">
  6.         <table cellspacing="0" class="linescore" itemtype="http://schema.org/SportsMatch">
  7.             <tr class="periods">
  8.                 <td class="teamRank"/>
  9.                 <td class="team"/>
  10.                 <td class="period" itemprop="periods" itemtype="http://schema.org/SportsPeriod"> 1
  11.                         <meta itemprop="competitors"
  12.                         itemtype="http://schema.org/SportsMatchCompetitor"
  13.                         itemref="team1 team1-period1"/>
  14.                     <meta itemprop="competitors" itemtype="http://schema.org/SportsMatchCompetitor"
  15.                         itemref="team2 team2-period1"/>
  16.                 </td>
  17.                 <td class="period" itemprop="periods" itemtype="http://schema.org/SportsPeriod"> 2
  18.                         <meta itemprop="competitors"
  19.                         itemtype="http://schema.org/SportsMatchCompetitor"
  20.                         itemref="team1 team1-period2"/>
  21.                     <meta itemprop="competitors" itemtype="http://schema.org/SportsMatchCompetitor"
  22.                         itemref="team2 team2-period2"/>
  23.                 </td>
  24.                 <td class="total"> T <meta itemprop="competitors"
  25.                         itemtype="http://schema.org/SportsMatchCompetitor"
  26.                         itemref="team1 team1-final"/>
  27.                     <meta itemprop="competitors" itemtype="http://schema.org/SportsMatchCompetitor"
  28.                         itemref="team2 team2-final"/>
  29.                 </td>
  30.             </tr>
  31.             <tr>
  32.                 <td class="teamRank"/>
  33.                 <td class="team" id="team1" itemprop="team" itemtype="http://schema.org/SportsTeam">
  34.                     <a itemprop="url"
  35.                         href="http://espn.go.com/mens-college- basketball/team/_/id/238/vanderbilt-commodores"
  36.                         >VAN</a>
  37.                     <meta itemprop="home" content="false"/>
  38.                 </td>
  39.                 <td id="team1-period1" itemprop="score"> 37 </td>
  40.                 <td id="team1-period2" itemprop="score"> 37 </td>
  41.                 <td class="ts" id="team1-final" itemprop="score"> 74 </td>
  42.             </tr>
  43.             <tr>
  44.                 <td class="teamRank">#1</td>
  45.                 <td class="team" id="team2" itemprop="team" itemtype="http://schema.org/SportsTeam">
  46.                     <a itemprop="url"
  47.                         href="http://espn.go.com/mens-college-basketball/team/_/id/96/kentucky-wildcats"
  48.                         >UK</a>
  49.                     <meta itemprop="home" content="true"/>
  50.                 </td>
  51.                 <td id="team2-period1" itemprop="score"> 36 </td>
  52.                 <td id="team2-period2" itemprop="score"> 47 </td>
  53.                 <td class="ts" id="team2-final" itemprop="score"> 83 </td>
  54.             </tr>
  55.         </table>
  56.     </div>
  57. </div>
  58. <!-- end line score -->