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

From W3C Wiki
Jump to: navigation, search
  1 <?xml version="1.0" encoding="UTF-8"?>
  2 <!-- ESPN schema-proposal example - SportsMatch/Football -->
  3 <div itemscope="itemscope" itemtype="http://schema.org/SportsMatch/Football">
  4     <link itemprop="url" href="http://scores.espn.go.com/nfl/preview?gameId=311208023"/>
  5     <span itemprop="association" itemscope="itemscope"
  6         itemtype="http://schema.org/SportsAssociation/Football">
  7         <link itemprop="url" href="http://espn.go.com/nfl/"/>
  8     </span>
  9     <link itemprop="status" href="http://schema.org/PostMatch"/>
 10     <time itemprop="startDate" datetime="2011-12-08T20:20:00-05:00">8:20 PM ET</time>
 11     <div itemprop="series" itemscope="itemscope"
 12         itemtype="http://schema.org/SportsSeries/RegularSeason">
 13         <img itemprop="image" src=" trans/nfl.gif" alt="NFL League Image"/>
 14         <span itemprop="name">2011 National Football League Regular Season</span>
 15         <div itemprop="association" itemscope="itemscope"
 16             itemtype="http://schema.org/SportsAssociation/Football">
 17             <link itemprop="url" href="http://espn.go.com/nfl/"/>
 18         </div>
 19         <link itemprop="url" href="http://espn.go.com/nfl/standings"/>
 20     </div>
 21     <div itemprop="stadium" itemscope="itemscope" itemtype="http://schema.org/StadiumOrArena">
 22         <span itemprop="name">Heinz Field</span>, <link itemprop="url"
 23             href="http://espn.go.com/travel/stadium/_/s/nfl/23/heinz-field"/>
 24     </div>
 25     <div itemprop="previewLink" itemscope="itemscope"
 26         itemtype="http://schema.org/SiteNavigationElement">
 27         <link itemprop="url" href="http://scores.espn.go.com/nfl/preview?gameId=311208023"/>
 28         <span itemprop="name">Preview</span>
 29     </div>
 30     <div itemprop="socialLink" itemscope="itemscope"
 31         itemtype="http://schema.org/SiteNavigationElement">
 32         <link itemprop="url" href="http://scores.espn.go.com/nfl/conversation?gameId=311208023"/>
 33         <span itemprop="name">Conversation</span>
 34     </div>
 35     <!-- Competitor 1 -->
 36     <div itemprop="competitors" itemscope="itemscope"
 37         itemtype="http://schema.org/SportsMatchCompetitor">
 38         <div itemprop="team" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football">
 39             <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns"/>
 40             <span itemprop="name">Cleveland Browns</span>
 41             <span itemprop="abbreviation">cle</span>
 42         </div>
 43         <span itemprop="rank">2</span>
 44         <span itemprop="score">3</span>
 45     </div>
 46     <!-- Competitor 2 -->
 47     <div itemprop="competitors" itemscope="itemscope"
 48         itemtype="http://schema.org/SportsMatchCompetitor">
 49         <div itemprop="team" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football">
 50             <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers"/>
 51             <span itemprop="name">Pittsburgh Steelers</span>
 52             <span itemprop="abbreviation">pit</span>
 53         </div>
 54         <link itemprop="home" href="http://schema.org/True"/>
 55         <span itemprop="rank">1</span>
 56         <span itemprop="score">14</span>
 57     </div>
 58     <div>null</div>
 59     <div itemprop="periods" itemscope="itemscope"
 60         itemtype="http://schema.org/SportsPeriod/Football/Regular">
 61         <span itemprop="name">1st quarter</span>
 62         <span itemprop="abbreviation">1</span>
 63         <span itemprop="order">1</span>
 64         <span itemprop="outOf">4</span>
 65         <span itemprop="clock"/>
 66         <div itemprop="competitors" itemscope="itemscope"
 67             itemtype="http://schema.org/SportsMatchCompetitor">
 68             <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam">
 69                 <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns"
 70                 />
 71             </span>
 72             <span itemprop="score">3</span>
 73         </div>
 74         <div itemprop="competitors" itemscope="itemscope"
 75             itemtype="http://schema.org/SportsMatchCompetitor">
 76             <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam">
 77                 <link itemprop="url"
 78                     href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers"/>
 79             </span>
 80             <span itemprop="score">7</span>
 81         </div>
 82     </div>
 83     <div itemprop="periods" itemscope="itemscope"
 84         itemtype="http://schema.org/SportsPeriod/Football/Regular">
 85         <span itemprop="name">2nd quarter</span>
 86         <span itemprop="abbreviation">2</span>
 87         <span itemprop="order">2</span>
 88         <span itemprop="outOf">4</span>
 89         <span itemprop="clock"/>
 90         <div itemprop="competitors" itemscope="itemscope"
 91             itemtype="http://schema.org/SportsMatchCompetitor">
 92             <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam">
 93                 <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns"
 94                 />
 95             </span>
 96             <span itemprop="score">0</span>
 97         </div>
 98         <div itemprop="competitors" itemscope="itemscope"
 99             itemtype="http://schema.org/SportsMatchCompetitor">
100             <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam">
101                 <link itemprop="url"
102                     href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers"/>
103             </span>
104             <span itemprop="score">0</span>
105         </div>
106     </div>
107     <div itemprop="periods" itemscope="itemscope"
108         itemtype="http://schema.org/SportsPeriod/Football/Regular">
109         <span itemprop="name">3rd quarter</span>
110         <span itemprop="abbreviation">3</span>
111         <span itemprop="order">3</span>
112         <span itemprop="outOf">4</span>
113         <span itemprop="clock"/>
114         <div itemprop="competitors" itemscope="itemscope"
115             itemtype="http://schema.org/SportsMatchCompetitor">
116             <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam">
117                 <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns"
118                 />
119             </span>
120             <span itemprop="score">0</span>
121         </div>
122         <div itemprop="competitors" itemscope="itemscope"
123             itemtype="http://schema.org/SportsMatchCompetitor">
124             <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam">
125                 <link itemprop="url"
126                     href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers"/>
127             </span>
128             <span itemprop="score">0</span>
129         </div>
130     </div>
131     <div itemprop="periods" itemscope="itemscope"
132         itemtype="http://schema.org/SportsPeriod/Football/Regular">
133         <span itemprop="name">4th quarter</span>
134         <span itemprop="abbreviation">4</span>
135         <span itemprop="order">4</span>
136         <span itemprop="outOf">4</span>
137         <link itemprop="status" href="http://schema.org/InPeriod"/>
138         <span itemprop="clock">PT0M00S</span>
139         <div itemprop="competitors" itemscope="itemscope"
140             itemtype="http://schema.org/SportsMatchCompetitor">
141             <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam">
142                 <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns"
143                 />
144             </span>
145             <span itemprop="score">0</span>
146         </div>
147         <div itemprop="competitors" itemscope="itemscope"
148             itemtype="http://schema.org/SportsMatchCompetitor">
149             <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam">
150                 <link itemprop="url"
151                     href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers"/>
152             </span>
153             <span itemprop="score">7</span>
154         </div>
155     </div>
156 </div>