29
1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator values, for representing a SportsAssociation using HTML5 Microdata. Included are extensions to existing specifications and brand new proposals. Table of Contents Schema.org Sports Vocabulary .................................................................................................... 1 Introduction ............................................................................................................................... 1 Thing > Organization (added properties) .................................................................................. 2 Thing > Organization > SportsAssociation................................................................................ 2 Example .................................................................................................................................... 3 Thing > Organization > SportsTeam ......................................................................................... 7 Thing > Person > SportsAthlete ................................................................................................ 9 Thing > Person > SportsAthlete/Baseball ................................................................................. 9 Thing > Person > SportsAthlete/Football ................................................................................ 10 Example .................................................................................................................................. 10 Thing > Event > SportsEvent > SportsMatch.......................................................................... 14 Thing > Event > SportsEvent > SportsMatch/Baseball ........................................................... 15 Example .................................................................................................................................. 15 Thing > Event > SportsEvent (Added properties) ................................................................... 20 Example .................................................................................................................................. 20 Thing > Event > SportsEvent > SportsPeriod ......................................................................... 20 Example .................................................................................................................................. 21 Thing > Event > SportsEvent > SportsPeriod/Baseball .......................................................... 22 Thing > Event > SportsEvent > SportsPeriod/Football ........................................................... 22 Example .................................................................................................................................. 23 Thing > Event > SportsEvent > SportsSeries ......................................................................... 24 Example .................................................................................................................................. 24 Thing > Intangible > Sports > SportsStat ................................................................................ 24 Example: ............................................................................................................................. 25 Thing > Intangible > Sports > SportsStandings ...................................................................... 26 Example .................................................................................................................................. 26 Thing > Intangible > Sports > SportsMatchCompetitor ........................................................... 27 Example using several itemtypes in a table layout ................................................................. 28

Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

1

Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator values, for representing a SportsAssociation using HTML5 Microdata. Included are extensions to existing specifications and brand new proposals.

Table  of  Contents  Schema.org Sports Vocabulary .................................................................................................... 1  

Introduction ............................................................................................................................... 1  Thing > Organization (added properties) .................................................................................. 2  Thing > Organization > SportsAssociation ................................................................................ 2  Example .................................................................................................................................... 3  Thing > Organization > SportsTeam ......................................................................................... 7  Thing > Person > SportsAthlete ................................................................................................ 9  Thing > Person > SportsAthlete/Baseball ................................................................................. 9  Thing > Person > SportsAthlete/Football ................................................................................ 10  Example .................................................................................................................................. 10  Thing > Event > SportsEvent > SportsMatch .......................................................................... 14  Thing > Event > SportsEvent > SportsMatch/Baseball ........................................................... 15  Example .................................................................................................................................. 15  Thing > Event > SportsEvent (Added properties) ................................................................... 20  Example .................................................................................................................................. 20  Thing > Event > SportsEvent > SportsPeriod ......................................................................... 20  Example .................................................................................................................................. 21  Thing > Event > SportsEvent > SportsPeriod/Baseball .......................................................... 22  Thing > Event > SportsEvent > SportsPeriod/Football ........................................................... 22  Example .................................................................................................................................. 23  Thing > Event > SportsEvent > SportsSeries ......................................................................... 24  Example .................................................................................................................................. 24  Thing > Intangible > Sports > SportsStat ................................................................................ 24  

Example: ............................................................................................................................. 25  Thing > Intangible > Sports > SportsStandings ...................................................................... 26  Example .................................................................................................................................. 26  Thing > Intangible > Sports > SportsMatchCompetitor ........................................................... 27  Example using several itemtypes in a table layout ................................................................. 28  

Page 2: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

2

Thing > Organization (added properties)

Property Expected Type Description

abbreviation Text A commonly used abbreviation for the association, or acronym.

Thing > Organization > SportsAssociation

Property Expected Type Description

gender SportsGender Gender of people participating in the sport.

currentSeries SportsSeries The series which is currently running.

deepLinks SiteNavigationElement Relevant links about this association.

standings SportsStandings The standings of every SportsTeam/SportsAthlete in that association.

Associated enumerations:

● SportsGender - MaleOnlySport, FemaleOnlySport, MixedGenderSport. Extensions:

● SportsAssociation/Baseball ● SportsAssociation/Soccer ● SportsAssociation/Football ● SportsAssociation/Basketball ● SportsAssociation/Hockey ● SportsAssociation/Tennis ● SportsAssociation/Golf ● SportsAssociation/Cricket ● SportsAssociation/AutoRacing ● SportsAssociation/Boxing ● SportsAssociation/MixedMartialArts ● SportsAssociation/HorseRacing ● SportsAssociation/Lacrosse ● SportsAssociation/Rugby

Page 3: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

3

Example <n:content> <div itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> <img itemprop="image" src="http://espn.com/nfl.gif" alt="NFL League Image" /> <span itemprop="name">National Football League</span> <span itemprop="abbreviation">NFL</span> <link itemprop="gender" href="http://schema.org/MaleOnlySport" /> <div itemprop="currentSeries" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/RegularSeason"> <img itemprop="image" src="http://espn.com/nfl.gif" alt="NFL League Image" /> <span itemprop="name">2011 National Football League Regular Season</span> <div itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> </div> <link itemprop="url" href="http://espn.go.com/nfl/standings" /> </div> <div itemprop="deepLinks" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> <link itemprop="url" href="http://scores.espn.go.com/nfl/scoreboard" /> <span itemprop="name">Scores</span> </div> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/ten/tennessee-titans" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/nyg/new-york-giants" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/oak/oakland-raiders" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/dal/dallas-cowboys" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/den/denver-broncos" /></span>

Page 4: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

4

<span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/nyj/new-york-jets" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/sea/seattle-seahawks" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/ari/arizona-cardinals" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/chi/chicago-bears" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/sd/san-diego-chargers" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/phi/philadelphia-eagles" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/buf/buffalo-bills" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/kc/kansas-city-chiefs" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/car/carolina-panthers" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/wsh/washington-redskins" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/mia/miami-dolphins" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/tb/tampa-bay-buccaneers" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/jac/jacksonville-jaguars" /></span>

Page 5: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

5

<span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/min/minnesota-vikings" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/ind/indianapolis-colts" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/stl/st-louis-rams" /></span> </div> <div itemprop="members" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <span itemprop="name">NFC East</span> <span itemprop="abbreviation">NFCE</span> <a itemprop="url" href="http://espn.go.com/nfl/standings">NFC East</a> <div itemprop="members" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/dal/dallas-cowboys" /><span itemprop="name">Dallas Cowboys</span><img itemprop="image" src=" trans/dal.gif" alt="team image" /> </div> <div itemprop="members" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <span itemprop="name">NFC West</span> <span itemprop="abbreviation">NFCW</span> <a itemprop="url" href="http://espn.go.com/nfl/standings">NFC West</a> <div itemprop="members" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/stl/st-louis-rams" /><span itemprop="name">St. Louis Rams</span><img itemprop="image" src=" /stl.gif" alt="team image" /> </div> <div itemprop="members" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/ari/arizona-cardinals" /><span itemprop="name">Arizona Cardinals</span><img itemprop="image" src=" trans/ari.gif" alt="team image" /> </div> <div itemprop="members" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/sf/san-francisco-49ers" /><span itemprop="name">San Francisco 49ers</span><img itemprop="image" src=" trans/sfo.gif" alt="team image" /> </div>

Page 6: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

6

<div itemprop="members" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/sea/seattle-seahawks" /><span itemprop="name">Seattle Seahawks</span><img itemprop="image" src=" trans/sea.gif" alt="team image" /> </div> <div itemprop="standings" itemscope="itemscope" itemtype="http://schema.org/SportsStandings"> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/sf/san-francisco-49ers" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/sea/seattle-seahawks" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/ari/arizona-cardinals" /></span> <span itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"><link itemprop="url" href="http://espn.go.com/nfl/team/_/name/stl/st-louis-rams" /></span> </div> </div> </n:content>

Page 7: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

7

Thing > Organization > SportsTeam

Property Expected Type Description

association SportsAssociation The SportsAssociation this team belongs to (the most specific association. For example: NY Yankees belongs to the East Division (in the American League, MLB)).

nickname Text Secondary name of the team (Yankees, Lakers, etc.)

stadium StadiumOrArena Home stadium for this team.

deepLinks SiteNavigationElement Relevant links about this team.

statistics SportStat Represents the team’s statistics.

Extensions:

● SportsTeam/Baseball ● SportsTeam/Soccer ● SportsTeam/Football ● SportsTeam/Basketball ● SportsTeam/Hockey ● SportsTeam/Cricket ● SportsTeam/Lacrosse ● SportsTeam/Rugby

Example <n:content> <div itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/college-football/team/_/id/52/florida-state-seminoles" /> <span itemprop="name">Florida State Seminoles</span> <span itemprop="abbreviation">FSU</span> <span itemprop="nickname">Seminoles</span> <span itemprop="location">Florida State</span> <img itemprop="image" src="http://espn.com/teamlogos/ncaa/fsu.gif" alt="team image" /> <div itemprop="deepLinks" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> <link itemprop="url" href="http://espn.go.com/college-football/team/schedule/florida-state-seminoles" /> <span itemprop="name">Schedule and Results</span> </div>

Page 8: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

8

<div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/GamesPlayed"> <span itemprop="name">Games Played</span> <span itemprop="abbreviation">GP</span> <span itemprop="value">10</span> <div itemprop="context" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/PostSeason>"> <link itemprop="url" href="http://espn.go.com/college-football/bowls" /> </div> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/Wins"> <span itemprop="name">Wins</span> <span itemprop="abbreviation">W</span> <span itemprop="value">7</span> <div itemprop="context" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/PostSeason>"> <link itemprop="url" href="http://espn.go.com/college-football/bowls" /> </div> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/Losses"> <span itemprop="name">Losses</span> <span itemprop="abbreviation">L</span> <span itemprop="value">3</span> <div itemprop="context" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/PostSeason>"> <link itemprop="url" href="http://espn.go.com/college-football/bowls" /> </div> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/Ties"> <span itemprop="name">Ties</span> <span itemprop="abbreviation">T</span> <span itemprop="value">0</span> <div itemprop="context" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/PostSeason>"> <link itemprop="url" href="http://espn.go.com/college-football/bowls" /> </div> </div> </div> </n:content>

Page 9: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

9

Thing > Person > SportsAthlete

Property Expected Type Description

currentTeam SportsTeam The team the athlete is currently playing for.

uniformNumber Text The athlete’s uniform number.

Person/nicknames Text Secondary name of the athlete.

Person/height Integer Height in cms/inches.

Person/weight Integer Weight in kgs/lbs.

Person/birthPlace Place Athlete’s birth place.

deepLinks SiteNavigationElement Relevant links about this athlete.

statistics SportStat All the statistics of the Athlete.

positionName Text The name of the athlete’s position.

positionAbbreviation Text The abbreviation of the athlete’s position.

countryCode Text ISO-3166-1 alpha-3 country code of the athlete

Thing > Person > SportsAthlete/Baseball Extensions:

● SportsAthlete/Baseball/Catcher ● SportsAthlete/Baseball/CenterFielder ● SportsAthlete/Baseball/DesignatedHitter ● SportsAthlete/Baseball/FirstBaseman ● SportsAthlete/Baseball/Infielder ● SportsAthlete/Baseball/LeftFielder ● SportsAthlete/Baseball/Outfielder ● SportsAthlete/Baseball/Pitcher ● SportsAthlete/Baseball/ReliefPitcher ● SportsAthlete/Baseball/RightFielder ● SportsAthlete/Baseball/SecondBaseman ● SportsAthlete/Baseball/Shortstop ● SportsAthlete/Baseball/StartingPitcher ● SportsAthlete/Baseball/ThirdBaseman

Page 10: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

10

Thing > Person > SportsAthlete/Football Extensions:

● SportsAthlete/Football/Safety ● SportsAthlete/Football/Linebacker ● SportsAthlete/Football/Cornerback ● SportsAthlete/Football/DefensiveEnd ● SportsAthlete/Football/WideReceiver ● SportsAthlete/Football/DefensiveTackle ● SportsAthlete/Football/Center ● SportsAthlete/Football/RunningBack ● SportsAthlete/Football/OffensiveTackle ● SportsAthlete/Football/Fullback ● SportsAthlete/Football/Guard ● SportsAthlete/Football/LongSnapper ● SportsAthlete/Football/TightEnd ● SportsAthlete/Football/Punter ● SportsAthlete/Football/PlaceKicker ● SportsAthlete/Football/Quarterback

Example <n:loc>http://espn.go.com/nfl/player/_/id/11910/husain-abdullah</n:loc> <country:language>en</country:language> <n:content> <div itemscope="itemscope" itemtype="http://schema.org/SportsAthlete/Football/Safety"> <img itemprop="image" src="full/11910.png&amp;w=65&amp;h=90&amp;scale=crop&amp;background=0xcccccc&amp;transparent=false" alt="player image" /> <h3 itemprop="name">Husain Abdullah</h3> <link itemprop="url" href="http://espn.go.com/nfl/player/_/id/11910/husain-abdullah" /> <div itemscope="itemscope" itemprop="currentTeam" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/min/minnesota-vikings" /> <span itemprop="name">Minnesota Vikings</span> <span itemprop="abbreviation">min</span> <span itemprop="nickname">Vikings</span> <img itemprop="image" src="trans/min.gif" alt="team image" /> </div> <link itemprop="sport" href="http://schema.org/Football" /> <link itemprop="gender" href="http://schema.org/MaleOnlyGender" /> <span itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation"><link itemprop="url" href="http://espn.go.com/nfl/standings" /></span>

Page 11: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

11

<span itemprop="uniformNumber">39</span> <span itemprop="positionName">Safety</span> <span itemprop="positionAbbrev">S</span> <time itemprop="birthDate" datetime="1985-07-27">1985-07-27</time> <span itemprop="height">183</span> <span itemprop="weight">93</span> <div itemprop="birthPlace" itemscope="itemscope" itemtype="http://schema.org/Place"> <span itemprop="addressLocality">Los Angeles</span> <span itemprop="addressRegion">CA</span> </div> <div itemprop="deepLinks" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> <link itemprop="url" href="http://espn.go.com/nfl/player/stats/_/id/11910/husain-abdullah" /> <span itemprop="name">Stats</span> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/TotalTackles"> <span itemprop="name">Tackles</span> <span itemprop="abbreviation">TACK</span> <span itemprop="value">162</span> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/FumblesForced"> <span itemprop="name">Forced Fumbles</span> <span itemprop="abbreviation">FF</span> <span itemprop="value">0</span> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/Interceptions"> <span itemprop="name">Interceptions</span> <span itemprop="abbreviation">INT</span> <span itemprop="value">4</span> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/TotalTackles"> <div itemprop="context" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/RegularSeason"> <img itemprop="image" src=" trans/nfl.gif" alt="NFL League Image" /> <span itemprop="name">2011 National Football League Regular Season</span> <div itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> </div>

Page 12: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

12

<link itemprop="url" href="http://espn.go.com/nfl/" /> </div> <span itemprop="name">Tackles</span> <span itemprop="abbreviation">TACK</span> <span itemprop="value">49</span> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/FumblesForced"> <div itemprop="context" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/RegularSeason"> <img itemprop="image" src=" nfl.gif" alt="NFL League Image" /> <span itemprop="name">2011 National Football League Regular Season</span> <div itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> </div> <link itemprop="url" href="http://espn.go.com/nfl/standings#regular-season" /> </div> <span itemprop="name">Forced Fumbles</span> <span itemprop="abbreviation">FF</span> <span itemprop="value">0</span> </div> <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/Interceptions"> <div itemprop="context" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/RegularSeason"> <img itemprop="image" src="http://espn.com/i/teamlogos/leagues/nfl.gif" alt="NFL League Image" /> <span itemprop="name">2011 National Football League Regular Season</span> <div itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> </div> <link itemprop="url" href="http://espn.go.com/nfl/standings" /> </div> <span itemprop="name">Interceptions</span> <span itemprop="abbreviation">INT</span> <span itemprop="value">1</span>

Page 13: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

13

</div> </div> </n:content> </n:url> <n:url> <n:loc>http://espn.go.com/nfl/player/stats/_/id/11910/husain-abdullah</n:loc> <country:language>en</country:language> <n:content> <span itemscope="itemscope" itemtype="http://schema.org/SportsAthlete/Football/Safety"><link itemprop="url" href="http://espn.go.com/nfl/player/_/id/11910/husain-abdullah" /></span> </n:content> </n:url> <n:url> <n:loc>http://espn.go.com/nfl/player/gamelog/_/id/11910/husain-abdullah</n:loc> <country:language>en</country:language> <n:content> <span itemscope="itemscope" itemtype="http://schema.org/SportsAthlete/Football/Safety"><link itemprop="url" href="http://espn.go.com/nfl/player/_/id/11910/husain-abdullah" /></span> </n:content> </n:url> <n:url> <n:loc>http://espn.go.com/nfl/player/videos/_/id/11910/husain-abdullah</n:loc> <country:language>en</country:language> <n:content> <span itemscope="itemscope" itemtype="http://schema.org/SportsAthlete/Football/Safety"><link itemprop="url" href="http://espn.go.com/nfl/player/_/id/11910/husain-abdullah" /></span> </n:content> </n:url> <n:url> <n:loc>http://espn.go.com/nfl/player/photos/_/id/11910/husain-abdullah</n:loc> <country:language>en</country:language> <n:content> <span itemscope="itemscope" itemtype="http://schema.org/SportsAthlete/Football/Safety"><link itemprop="url" href="http://espn.go.com/nfl/player/_/id/11910/husain-abdullah" /></span> </n:content> </n:url> <n:url> <n:loc>http://espn.go.com/nfl/player/scouting/_/id/11910/husain-abdullah</n:loc> <country:language>en</country:language> </n:content></n:url>

Page 14: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

14

Thing > Event > SportsEvent > SportsMatch

Property Expected Type Description

association SportsAssociation The sport association which owns this match.

series SportsSeries The series of which this match is part of.

status MatchStatus Status of this match.

stadium StadiumOrArena or SportsCourt

The venue of which the match is taking place.

broadcast Broadcast Where this match is broadcasted.

competitors SportsMatchCompetitor A competitor/team in the contest

statusText Text Short summary on current status of the match (i.e. “Bottom 6th”).

previewLink SiteNavigationElement A link to the match’s preview.

ticketsLink SiteNavigationElement A link to a page offering ticket purchasing for the match.

liveUpdateLink SiteNavigationElement A link to a live update page during the game.

liveStreamLink SiteNavigationElement A link to the match’s live stream page.

recapLink SiteNavigationElement A link to the match’s recap page.

boxScoreLink SiteNavigationElement A link to the match’s box score page.

deepLinks SiteNavigationElement Relevant links about this athlete.

periods SportsPeriod Period’s data for live or done matches.

timeStatus StartDateTimeStatus The status of the start date time. Exact by default.

Related enumerations:

● MatchStatus - PreMatch, InMatch, PostMatch, SuspendedMatch, DelayedMatch, PostponedMatch, CancelledMatch.

● StartDateTimeStatus - Exact, Approximate, NotStartingBefore, DateOnly.

Page 15: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

15

Thing > Event > SportsEvent > SportsMatch/Baseball

Property Expected Type Description

homeTeamRuns Integer How many runs the home team has

awayTeamRuns Integer How many runs the away team has

homeTeamErrors Integer How many errors the home team has

awayTeamErrors Integer How many errors the away team has

homeTeamHits Integer How many hits the home team has

awayTeamHits Integer How many hits the away team has

Example <div itemscope="itemscope" itemtype="http://schema.org/SportsMatch/Football"> <link itemprop="url" href="http://scores.espn.go.com/nfl/preview?gameId=311208023" /> <span itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> </span> <link itemprop="status" href="http://schema.org/PostMatch"/> <time itemprop="startDate" datetime="2011-12-08T20:20:00-05:00">8:20 PM ET</time> <div itemprop="series" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/RegularSeason"> <img itemprop="image" src=" trans/nfl.gif" alt="NFL League Image" /> <span itemprop="name">2011 National Football League Regular Season</span> <div itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> </div> <link itemprop="url" href="http://espn.go.com/nfl/standings" /> </div>

Page 16: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

16

<div itemprop="stadium" itemscope="itemscope" itemtype="http://schema.org/StadiumOrArena"> <span itemprop="name">Heinz Field</span>, <link itemprop="url" href="http://espn.go.com/travel/stadium/_/s/nfl/23/heinz-field" /> </div> <div itemprop="previewLink" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> <link itemprop="url" href="http://scores.espn.go.com/nfl/preview?gameId=311208023" /> <span itemprop="name">Preview</span> </div> <div itemprop="socialLink" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> <link itemprop="url" href="http://scores.espn.go.com/nfl/conversation?gameId=311208023" /> <span itemprop="name">Conversation</span> </div> <!-- Competitor 1 --> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <div itemprop="team" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /> <span itemprop="name">Cleveland Browns</span> <span itemprop="abbreviation">cle</span> </div> <span itemprop="rank">2</span> <span itemprop="score">3</span> </div> <!-- Competitor 2 --> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <div itemprop="team" itemscope="itemscope" itemtype="http://schema.org/SportsTeam/Football"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers" />

Page 17: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

17

<span itemprop="name">Pittsburgh Steelers</span> <span itemprop="abbreviation">pit</span> </div> <link itemprop="home" href="http://schema.org/True" /> <span itemprop="rank">1</span> <span itemprop="score">14</span> </div> <div>null</div> <div itemprop="periods" itemscope="itemscope" itemtype="http://schema.org/SportsPeriod/Football/Regular"> <span itemprop="name">1st quarter</span> <span itemprop="abbreviation">1</span> <span itemprop="order">1</span> <span itemprop="outOf">4</span> <span itemprop="clock"></span> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /> </span> <span itemprop="score">3</span> </div> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers" /> </span> <span itemprop="score">7</span> </div> </div> <div itemprop="periods" itemscope="itemscope" itemtype="http://schema.org/SportsPeriod/Football/Regular"> <span itemprop="name">2nd quarter</span> <span itemprop="abbreviation">2</span> <span itemprop="order">2</span> <span itemprop="outOf">4</span> <span itemprop="clock"></span> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /> </span> <span itemprop="score">0</span> </div>

Page 18: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

18

<div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers" /> </span> <span itemprop="score">0</span> </div> </div> <div itemprop="periods" itemscope="itemscope" itemtype="http://schema.org/SportsPeriod/Football/Regular"> <span itemprop="name">3rd quarter</span> <span itemprop="abbreviation">3</span> <span itemprop="order">3</span> <span itemprop="outOf">4</span> <span itemprop="clock"></span> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /> </span> <span itemprop="score">0</span> </div> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers" /> </span> <span itemprop="score">0</span> </div> </div> <div itemprop="periods" itemscope="itemscope" itemtype="http://schema.org/SportsPeriod/Football/Regular"> <span itemprop="name">4th quarter</span> <span itemprop="abbreviation">4</span> <span itemprop="order">4</span> <span itemprop="outOf">4</span> <link itemprop="status" href="http://schema.org/InPeriod" /> <span itemprop="clock">PT0M00S</span> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /> </span>

Page 19: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

19

<span itemprop="score">0</span> </div> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers" /> </span> <span itemprop="score">7</span> </div> </div> </div> </n:content> </n:url> <n:url> <n:loc> http://scores.espn.go.com/nfl/boxscore?gameId=311208023</n:loc> <country:language>en</country:language> <n:content> <span itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"><link itemprop="url" href="http://scores.espn.go.com/nfl/preview?gameId=311208023" /></span> </n:content> </n:url> <n:url> <n:loc>http://scores.espn.go.com/nfl/preview?gameId=311211004</n:loc> <country:language>en</country:language> <n:content> <div itemscope="itemscope" itemtype="http://schema.org/SportsMatch/Football"> <link itemprop="url" href="http://scores.espn.go.com/nfl/preview?gameId=311211004" /> <span itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> </span> <link itemprop="status" href="http://schema.org/PostMatch"/> <time itemprop="startDate" datetime="2011-12-11T13:00:00-05:00">1:00 PM ET</time> <div itemprop="series" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/RegularSeason"> <img itemprop="image" src="http://espn.com/i/teamlogos/leagues/nfl.gif" alt="NFL League Image" /> <span itemprop="name">2011 National Football League Regular Season</span> <div itemprop="association" itemscope="itemscope" itemtype="http://schema.org/SportsAssociation/Football"> <link itemprop="url" href="http://espn.go.com/nfl/" /> </div> <link itemprop="url" href="http://espn.go.com/nfl/standings" /> </div>

Page 20: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

20

Thing > Event > SportsEvent (Added properties)

Property Expected Type Description

gender SportsGender The gender of the players in the event.

Associated enumerations:

● SportsGender - MaleOnlySport, FemaleOnlySport, MixedGenderSport.

Example <link itemprop="gender" href="http://schema.org/MaleOnlySport" />

Thing > Event > SportsEvent > SportsPeriod

Property Expected Type Description

abbreviation Text Abbreviation text to describe current period of play.

order Integer Order of this period.

outOf Integer The total number of periods. For example: In Basketball the 2nd quarter will be 2 out of 4 (regular periods). In NHL, regular season, the overtime period will be 1 outOf 1 and during Playoffs (unlimited number of overtimes) outOf will not exist.

clock Duration The number the clock points to. 1. The clock is in ISO 8601 duration format (http://en.wikipedia.org/wiki/ISO_8601). 2. It should be aggregated from the beginning of the match with extra time omitted.

competitors SportsMatchCompetitor Competitors and their associated information

status PeriodStatus See related enumerator

Related enumerations:

● PeriodStatus - PrePeriod, InPeriod, PostPeriod

Page 21: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

21

Example <div itemprop="periods" itemscope="itemscope" itemtype="http://schema.org/SportsPeriod/Football/Regular"> <span itemprop="name">4th quarter</span> <span itemprop="abbreviation">4</span> <span itemprop="order">4</span> <span itemprop="outOf">4</span> <link itemprop="status" href="http://schema.org/InPeriod" /> <span itemprop="clock">PT0M00S</span> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /> </span> <span itemprop="score">0</span> </div> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers" /> </span> <span itemprop="score">7</span> </div> </div>

Page 22: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

22

Thing > Event > SportsEvent > SportsPeriod/Baseball Property Expected Type Description

status BaseballInningStatus The status of the inning.

batting BaseballTeam The current batting team.

nextBatter BaseballPlayer The next player to bat.

currentBatter BaseballPlayer The current batter.

currentPitcher BaseballlPlayer The pitching player.

balls Integer Current batter ball count

strikes Integer Current batter strike count

outs Integer How many outs recorded for this team’s at bat

Related enumerations:

● BaseballinningStatus - TopInning, MiddleInning, BottomInning, EndInning Extensions:

● SportsPeriod/Baseball/Regular ● SportsPeriod/Baseball/ExtraInnings

Thing > Event > SportsEvent > SportsPeriod/Football Property Expected Type Description

possession SportsTeam/Football The team that currently has possession of the football

down Integer A value in the range [1,4] indicating the number of attempts (for gaining 10 yards) the team with possession has used. In “3rd and 6”, this value will be 3.

yardsToGo Integer Yards the team on offense needs to gain to earn another first down. In “3rd and 6” this value will be 6.

yardLine Integer Yard line where next play begins.

Extensions:

● SportsPeriod/Football/Regular ● SportsPeriod/Football/Overtime ● SportsPeriod/Football/Halftime

Page 23: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

23

Example

<div itemprop="periods" itemscope="itemscope" itemtype="http://schema.org/SportsPeriod/Football/Regular"> <span itemprop="name">4th quarter</span> <span itemprop="abbreviation">4</span> <span itemprop="order">4</span> <span itemprop="outOf">4</span> <span itemprop="possession" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <span itemprop="nickName">Browns</span> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /> </span> <span itemprop="down">3</span> <span itemprop="yardsToGo">5</span> <span itemprop="yardLine">20</span> <link itemprop="status" href="http://schema.org/InPeriod" /> <span itemprop="clock">PT0M00S</span> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/cle/cleveland-browns" /> </span> <span itemprop="score">0</span> </div> <div itemprop="competitors" itemscope="itemscope" itemtype="http://schema.org/SportsMatchCompetitor"> <span itemprop="team" itemscope="itemscope" itemtype="http://schema.org/FootballTeam"> <link itemprop="url" href="http://espn.go.com/nfl/team/_/name/pit/pittsburgh-steelers" /> </span> <span itemprop="score">7</span> </div> </div>

Page 24: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

24

Thing > Event > SportsEvent > SportsSeries Property Expected Type Description

association SportsAssociation The sport association which owns this series.

Extensions:

● SportsSeries/PreSeason ● SportsSeries/RegularSeason ● SportsSeries/PostSeason ● SportsSeries/Tournament

Example <div itemprop="series" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/RegularSeason">

Thing > Intangible > Sports > SportsStat Property Expected Type Description

abbreviation Text An abbreviation of the stats.

value Text What the value of the stat is

context Event The context event (SportsMatch, SportsSeries, etc.)

Extensions:

● SportStat/GamesPlayed ● SportStat/GamesStarted ● SportStat/Wins ● SportStat/HomeWins ● SportStat/AwayWins ● SportStat/Losses ● SportStat/HomeLosses ● SportStat/AwayLosses ● SportStat/Draws ● SportStat/Points ● SportStat/Streak ● SportStat/Football (Baseball-specific stats):

○ SportStat/Baseball/HomeRuns ○ SportStat/Baseball/CompleteGames

Page 25: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

25

○ SportStat/Baseball/ShutOut ○ SportStat/Baseball/InningsPitched ○ SportStat/Baseball/Hits ○ SportStat/Baseball/Runs ○ SportStat/Baseball/EarnedRuns ○ SportStat/Baseball/BaseOnBalls ○ SportStat/Baseball/StrikeOuts ○ SportStat/Baseball/Saves ○ SportStat/Baseball/BlownSaves ○ SportStat/Baseball/Holds ○ SportStat/Baseball/WalksHitsPerInningPitched ○ SportStat/Baseball/EarnedRunsAverage ○ SportStat/Baseball/GroundBalls ○ SportStat/Baseball/FlyBalls ○ SportStat/Baseball/TotalBattersFaced ○ SportStat/Baseball/Pitches ○ SportStat/Baseball/AtBats ○ SportStat/Baseball/Singles ○ SportStat/Baseball/Doubles ○ SportStat/Baseball/Triples ○ SportStat/Baseball/RunsBattedIn ○ SportStat/Baseball/TotalBases ○ SportStat/Baseball/StolenBases ○ SportStat/Baseball/CaughtStealing ○ SportStat/Baseball/BattingAverage ○ SportStat/Baseball/RunsScored ○ SportStat/Baseball/RunsAllowed

Example: <div itemprop="statistics" itemscope="itemscope" itemtype="http://schema.org/SportStat/GamesPlayed"> <span itemprop="name">Games Played</span> <span itemprop="abbreviation">GP</span> <span itemprop="value">10</span> <div itemprop="context" itemscope="itemscope" itemtype="http://schema.org/SportsSeries/PostSeason>"> <link itemprop="url" href="http://espn.go.com/college-football/bowls" /> </div>

Page 26: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

26

Thing > Intangible > Sports > SportsStandings Property Expected Type Description

teams SportsTeam All the teams ordered according to their ranking.

Example <div itemprop="teams" itemscope="itemscope" itemtype="http://schema.org/SportsStandings">

Page 27: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

27

Thing > Intangible > Sports > SportsMatchCompetitor Property Expected

Type Description

team SportsTeam Team involved

athletes SportsAthlete Athlete Involved

home Boolean Is this competitor playing at home?

rank Integer The current rank of this competitor within the context match. In a Football game, this value will be 1 (2) for the winner (loser). In an F1 race this value will be 1 for currently leading driver, 2 for current 2nd place, 3 for current 3rd place, etc.

score Integer Competitor’s score in this contest

Page 28: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

28

Example using several itemtypes in a table layout <!-begin line score --> <div class="line-score clear"> <div class="line-score-container"> <table cellspacing="0" class="linescore" itemscope itemtype="http://schema.org/SportsMatch"> <tr class="periods"> <td class="teamRank"></td> <td class="team"></td> <td class="period" itemprop="periods" itemscope itemtype="http://schema.org/SportsPeriod" itemprop="order abbreviation"> 1 <meta itemprop="competitors" itemscope itemtype="http://schema.org/SportsMatchCompetitor" itemref="team1 team1-period1"> <meta itemprop="competitors" itemscope itemtype="http://schema.org/SportsMatchCompetitor" itemref="team2 team2-period1"> </td> <td class="period" itemprop="periods" itemscope itemtype="http://schema.org/SportsPeriod" itemprop="order abbreviation"> 2 <meta itemprop="competitors" itemscope itemtype="http://schema.org/SportsMatchCompetitor" itemref="team1 team1-period2"> <meta itemprop="competitors" itemscope itemtype="http://schema.org/SportsMatchCompetitor" itemref="team2 team2-period2"> </td> <td class="total"> T <meta itemprop="competitors" itemscope itemtype="http://schema.org/SportsMatchCompetitor" itemref="team1 team1-final"> <meta itemprop="competitors" itemscope itemtype="http://schema.org/SportsMatchCompetitor" itemref="team2 team2-final"> </td> </tr> <tr> <td class="teamRank"></td> <td class="team" id="team1" itemprop="team" itemscope itemtype="http://schema.org/SportsTeam"> <a itemprop="url" href="http://espn.go.com/mens-college-basketball/team/_/id/238/vanderbilt-commodores">VAN</a>

Page 29: Schema.org Sports Vocabulary · 01/03/2012  · 1 Schema.org Sports Vocabulary Introduction This document outlines the schema, including vocabulary properties and acceptable enumerator

29

<meta itemprop="home" content="false"> </td> <td id="team1-period1" itemprop="score"> 37 </td> <td id="team1-period2" itemprop="score"> 37 </td> <td class="ts" id="team1-final" itemprop="score"> 74 </td> </tr> <tr> <td class="teamRank">#1</td> <td class="team" id="team2" itemprop="team" itemscope itemtype="http://schema.org/SportsTeam"> <a itemprop="url" href="http://espn.go.com/mens-college-basketball/team/_/id/96/kentucky-wildcats">UK</a> <meta itemprop="home" content="true"> </td> <td id="team2-period1" itemprop="score"> 36 </td> <td id="team2-period2" itemprop="score"> 47 </td> <td class="ts" id="team2-final" itemprop="score"> 83 </td> </tr> </table> </div> </div> <!-- end line score -->