Table of Contents
Target Namespace
http://iptc.org/std/SportsML/2009-06-18/
Version
2.1
Element and Attribute Namespaces
Global element and attribute declarations belong to this schema's target namespace.
By default, local element declarations have no namespace.
By default, local attribute declarations have no namespace.
Schema Composition
This schema imports schema(s) from the following namespace(s):
http://iptc.org/std/NITF/2006-10-18/ (at ../../../../../../specs/NITF/3.4/specification/schema/nitf-3-4.xsd)
Documentation
SportsML is a global XML standard for the interchange of sports data. Designed to be as easy to understand and implement as possible, SportsML allows for the exchange of sports scores, schedules, standings, and statistics for a wide variety of competitions. Its extensibility allows for the easy accommodation of many sports from around the globe. It cooperates with current IPTC standards NewsML and NITF to enable publishers to package sports statistics alongside edited coverage of sports.
Application Data
SportsML
Declared Namespaces
Prefix
Namespace
Default namespace
http://www.w3.org/2001/XMLSchema
xml
http://www.w3.org/XML/1998/namespace
sportsml
http://iptc.org/std/SportsML/2009-06-18/
Schema Component Representation
<
schema targetNamespace ="
http://iptc.org/std/SportsML/2009-06-18/ "
version ="
2.1 ">
<import namespace ="http://iptc.org/std/NITF/2006-10-18/ " schemaLocation ="../../../../../../specs/NITF/3.4/specification/schema/nitf-3-4.xsd "/>
...
</
schema >
Name
action-american-football-drive
Documentation
A series of plays that may result in a score. | Ends either in a score, or in a change of possession.
XML Instance Representation
Schema Component Representation
Name
action-american-football-other
Documentation
A custom action. | For use when none of the pre-build actions apply.
XML Instance Representation
Schema Component Representation
Name
action-american-football-penalty
Documentation
Describes a penalty. Like plays, contains participant elements. | These penalties occur before a play is officially started.
XML Instance Representation
Schema Component Representation
Name
action-american-football-play
Documentation
Only for non-scoring plays. | Holds elements that describe the role each play participant performed.
XML Instance Representation
Schema Component Representation
Name
action-american-football-play-participant
Documentation
Describes which player was involved in the play and how. | The role and result attributes are critical.
XML Instance Representation
Schema Component Representation
Name
action-american-football-score
Documentation
A play that ended in a score. | Holds participant elements, which detail the role each player had in the scoring play.
XML Instance Representation
Schema Component Representation
Name
action-american-football-substitution
Documentation
A substitution. | Oftentimes recorded for a quarterback change.
XML Instance Representation
Schema Component Representation
Name
action-american-football-timeout
Documentation
Describes a timeout. | A break in the action, usually called by one of the teams playing.
XML Instance Representation
Schema Component Representation
Name
action-baseball-contact
Documentation
TBD.
XML Instance Representation
<action-baseball-contact
id="ID [0..1] ? " location="string [0..1] ? " strength="string [0..1] ? " velocity="string [0..1] ? " trajectory-coordinates="string [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-baseball-contact ">
<
complexType >
<attribute name ="location " type ="string " use ="optional "/>
<attribute name ="strength " type ="string " use ="optional "/>
<attribute name ="velocity " type ="string " use ="optional "/>
<attribute name ="trajectory-coordinates " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-baseball-other
Documentation
A custom action. | For use when none of the pre-build actions apply.
XML Instance Representation
<action-baseball-other
id="ID [0..1] ? " inning-value="string [0..1] ? " inning-half="string (value comes from list: {'top'|'bottom'}) [0..1] ? " outs="string [0..1] ? " balls="string [0..1] ? " strikes="string [0..1] ? " runner-on-first="string [0..1] ? " runner-on-first-idref="IDREF [0..1] ? " runner-on-second="string [0..1] ? " runner-on-second-idref="IDREF [0..1] ? " runner-on-third="string [0..1] ? " runner-on-third-idref="IDREF [0..1] ? " runs-this-inning-half="string [0..1] ? " pitcher-idref="IDREF [0..1] ? " batter-idref="IDREF [0..1] ? " batter-side="string (value comes from list: {'left'|'right'}) [0..1] ? " at-bat-number="string [0..1] ? " sequence-number="string [0..1] ? " action-source="string [0..1] ? " action-type="string [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-baseball-other ">
<
complexType >
<attribute name ="action-source " type ="string " use ="optional "/>
<attribute name ="action-type " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-baseball-pitch
Documentation
Issued after a pitch. Not used if the batter hit the ball into play. | Can indicate whether the pitch was a ball or strike, and where the pitch was located.
XML Instance Representation
<action-baseball-pitch
id="ID [0..1] ? " inning-value="string [0..1] ? " inning-half="string (value comes from list: {'top'|'bottom'}) [0..1] ? " outs="string [0..1] ? " balls="string [0..1] ? " strikes="string [0..1] ? " runner-on-first="string [0..1] ? " runner-on-first-idref="IDREF [0..1] ? " runner-on-second="string [0..1] ? " runner-on-second-idref="IDREF [0..1] ? " runner-on-third="string [0..1] ? " runner-on-third-idref="IDREF [0..1] ? " runs-this-inning-half="string [0..1] ? " pitcher-idref="IDREF [0..1] ? " batter-idref="IDREF [0..1] ? " batter-side="string (value comes from list: {'left'|'right'}) [0..1] ? " at-bat-number="string [0..1] ? " sequence-number="string [0..1] ? " umpire-call="string (value comes from list: {'ball'|'strike'|'in-play'}) [0..1] ? " pitch-type="string [0..1] ? " pitch-velocity="string [0..1] ? " trajectory-coordinates="string [0..1] ? " strike-type="strikeType.Baseball [0..1] ? " ball-location="ballLocation.Baseball [0..1] ? " comment="string [0..1] ? " >
Start Choice [0..1] End Choice </action-baseball-pitch>
Schema Component Representation
<
element name ="
action-baseball-pitch ">
<
complexType >
<
choice minOccurs ="
0 ">
</
choice >
<
attribute name ="
umpire-call "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="ball "/>
<enumeration value ="strike "/>
<enumeration value ="in-play "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="pitch-type " type ="string " use ="optional "/>
<attribute name ="pitch-velocity " type ="string " use ="optional "/>
<attribute name ="trajectory-coordinates " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-baseball-play
Documentation
Issued when a non-scoring play occurred. | Records a hit, a strikeout, etc.
XML Instance Representation
<action-baseball-play
id="ID [0..1] ? " inning-value="string [0..1] ? " inning-half="string (value comes from list: {'top'|'bottom'}) [0..1] ? " outs="string [0..1] ? " balls="string [0..1] ? " strikes="string [0..1] ? " runner-on-first="string [0..1] ? " runner-on-first-idref="IDREF [0..1] ? " runner-on-second="string [0..1] ? " runner-on-second-idref="IDREF [0..1] ? " runner-on-third="string [0..1] ? " runner-on-third-idref="IDREF [0..1] ? " runs-this-inning-half="string [0..1] ? " pitcher-idref="IDREF [0..1] ? " batter-idref="IDREF [0..1] ? " batter-side="string (value comes from list: {'left'|'right'}) [0..1] ? " at-bat-number="string [0..1] ? " sequence-number="string [0..1] ? " play-type="playType.Baseball [0..1] ? " play-scorekeepers-notation="string [0..1] ? " walk-type="walkType.Baseball [0..1] ? " hit-type="hitType.Baseball [0..1] ? " hit-by-pitch-type="hitByPitchType.Baseball [0..1] ? " out-type="outType.Baseball [0..1] ? " outs-recorded="string (value comes from list: {'none'|'one'|'two'|'three'}) [0..1] ? " comment="string [0..1] ? " batter-advance="string (value comes from list: {'1'|'2'|'3'|'home'}) [0..1] ? " runner-on-first-advance="string (value comes from list: {'2'|'3'|'home'}) [0..1] ? " runner-on-second-advance="string (value comes from list: {'3'|'home'}) [0..1] ? " runner-on-third-advance="string (value comes from list: {'home'}) [0..1] ? " >
</action-baseball-play>
Schema Component Representation
<
element name ="
action-baseball-play ">
<
complexType >
<attribute name ="play-scorekeepers-notation " type ="string " use ="optional "/>
<
attribute name ="
outs-recorded "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="none "/>
<enumeration value ="one "/>
<enumeration value ="two "/>
<enumeration value ="three "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="comment " type ="string " use ="optional "/>
<
attribute name ="
batter-advance "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="1 "/>
<enumeration value ="2 "/>
<enumeration value ="3 "/>
<enumeration value ="home "/>
</
restriction >
</
simpleType >
</
attribute >
<
attribute name ="
runner-on-first-advance "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="2 "/>
<enumeration value ="3 "/>
<enumeration value ="home "/>
</
restriction >
</
simpleType >
</
attribute >
<
attribute name ="
runner-on-second-advance "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="3 "/>
<enumeration value ="home "/>
</
restriction >
</
simpleType >
</
attribute >
<
attribute name ="
runner-on-third-advance "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="home "/>
</
restriction >
</
simpleType >
</
attribute >
</
complexType >
</
element >
Name
action-baseball-play-participant
Documentation
A generic play participant element.
XML Instance Representation
<action-baseball-play-participant
id="ID [0..1] ? " player-idref="IDREF [1] ? " team-idref="IDREF [1] ? " role="participantRole.Baseball [1] ? " />
Schema Component Representation
<
element name ="
action-baseball-play-participant ">
<
complexType >
<attribute name ="player-idref " type ="IDREF " use ="required "/>
<attribute name ="team-idref " type ="IDREF " use ="required "/>
</
complexType >
</
element >
Name
action-baseball-score
Documentation
Issued when a run is scored. | Describes which players scored, also.
XML Instance Representation
<action-baseball-score
id="ID [0..1] ? " inning-value="string [0..1] ? " inning-half="string (value comes from list: {'top'|'bottom'}) [0..1] ? " outs="string [0..1] ? " balls="string [0..1] ? " strikes="string [0..1] ? " runner-on-first="string [0..1] ? " runner-on-first-idref="IDREF [0..1] ? " runner-on-second="string [0..1] ? " runner-on-second-idref="IDREF [0..1] ? " runner-on-third="string [0..1] ? " runner-on-third-idref="IDREF [0..1] ? " runs-this-inning-half="string [0..1] ? " pitcher-idref="IDREF [0..1] ? " batter-idref="IDREF [0..1] ? " batter-side="string (value comes from list: {'left'|'right'}) [0..1] ? " at-bat-number="string [0..1] ? " sequence-number="string [0..1] ? " play-type="playType.Baseball [0..1] ? " play-scorekeepers-notation="string [0..1] ? " walk-type="walkType.Baseball [0..1] ? " hit-type="hitType.Baseball [0..1] ? " hit-by-pitch-type="hitByPitchType.Baseball [0..1] ? " out-type="outType.Baseball [0..1] ? " outs-recorded="string (value comes from list: {'none'|'one'|'two'|'three'}) [0..1] ? " comment="string [0..1] ? " rbi="string [0..1] ? " runs-scored="string [0..1] ? " score-team="string [0..1] ? " score-team-opposing="string [0..1] ? " earned-runs-scored="string [0..1] ? " batter-advance="string (value comes from list: {'1'|'2'|'3'|'home'}) [0..1] ? " runner-on-first-advance="string (value comes from list: {'2'|'3'|'home'}) [0..1] ? " runner-on-second-advance="string (value comes from list: {'3'|'home'}) [0..1] ? " runner-on-third-advance="string (value comes from list: {'home'}) [0..1] ? " >
</action-baseball-score>
Schema Component Representation
<
element name ="
action-baseball-score ">
<
complexType >
<attribute name ="play-scorekeepers-notation " type ="string " use ="optional "/>
<
attribute name ="
outs-recorded "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="none "/>
<enumeration value ="one "/>
<enumeration value ="two "/>
<enumeration value ="three "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="comment " type ="string " use ="optional "/>
<attribute name ="rbi " type ="string " use ="optional "/>
<attribute name ="runs-scored " type ="string " use ="optional "/>
<attribute name ="score-team " type ="string " use ="optional "/>
<attribute name ="score-team-opposing " type ="string " use ="optional "/>
<attribute name ="earned-runs-scored " type ="string " use ="optional "/>
<
attribute name ="
batter-advance "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="1 "/>
<enumeration value ="2 "/>
<enumeration value ="3 "/>
<enumeration value ="home "/>
</
restriction >
</
simpleType >
</
attribute >
<
attribute name ="
runner-on-first-advance "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="2 "/>
<enumeration value ="3 "/>
<enumeration value ="home "/>
</
restriction >
</
simpleType >
</
attribute >
<
attribute name ="
runner-on-second-advance "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="3 "/>
<enumeration value ="home "/>
</
restriction >
</
simpleType >
</
attribute >
<
attribute name ="
runner-on-third-advance "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="home "/>
</
restriction >
</
simpleType >
</
attribute >
</
complexType >
</
element >
Name
action-baseball-substitution
Documentation
An exchange of players occurred. | Most commonly-recorded substitution is a pitching change.
XML Instance Representation
<action-baseball-substitution
id="ID [0..1] ? " inning-value="string [0..1] ? " inning-half="string (value comes from list: {'top'|'bottom'}) [0..1] ? " outs="string [0..1] ? " balls="string [0..1] ? " strikes="string [0..1] ? " runner-on-first="string [0..1] ? " runner-on-first-idref="IDREF [0..1] ? " runner-on-second="string [0..1] ? " runner-on-second-idref="IDREF [0..1] ? " runner-on-third="string [0..1] ? " runner-on-third-idref="IDREF [0..1] ? " runs-this-inning-half="string [0..1] ? " pitcher-idref="IDREF [0..1] ? " batter-idref="IDREF [0..1] ? " batter-side="string (value comes from list: {'left'|'right'}) [0..1] ? " at-bat-number="string [0..1] ? " sequence-number="string [0..1] ? " person-type="string (value comes from list: {'player'|'associate'|'official'}) [0..1] ? " person-original-idref="IDREF [0..1] ? " person-original-position="position.Baseball [0..1] ? " person-original-lineup-slot="string [0..1] ? " person-replacing-idref="IDREF [0..1] ? " person-replacing-position="string [0..1] ? " person-replacing-lineup-slot="string [0..1] ? " substitution-reason="string [0..1] ? " inning-exiting="string [0..1] ? " outs-exiting="string [0..1] ? " lead-entering="string [0..1] ? " lead-exiting="string [0..1] ? " runners-on-base="string [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-baseball-substitution ">
<
complexType >
<
attribute name ="
person-type "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="player "/>
<enumeration value ="associate "/>
<enumeration value ="official "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="person-original-idref " type ="IDREF " use ="optional "/>
<attribute name ="person-original-lineup-slot " type ="string " use ="optional "/>
<attribute name ="person-replacing-idref " type ="IDREF " use ="optional "/>
<attribute name ="person-replacing-position " type ="string " use ="optional "/>
<attribute name ="person-replacing-lineup-slot " type ="string " use ="optional "/>
<attribute name ="substitution-reason " type ="string " use ="optional "/>
<attribute name ="inning-exiting " type ="string " use ="optional "/>
<attribute name ="outs-exiting " type ="string " use ="optional "/>
<attribute name ="lead-entering " type ="string " use ="optional "/>
<attribute name ="lead-exiting " type ="string " use ="optional "/>
<attribute name ="runners-on-base " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-basketball-assisting-player
Documentation
DEPRECATE: in favour of action-basketball-play-participant with role vocab.
XML Instance Representation
<action-basketball-assisting-player
id="ID [0..1] ? " player-idref="IDREF [1] ? " />
Schema Component Representation
<
element name ="
action-basketball-assisting-player ">
<
complexType >
<attribute name ="player-idref " type ="IDREF " use ="required "/>
</
complexType >
</
element >
Name
action-basketball-blocking-player
Documentation
DEPRECATE: in favour of action-basketball-play-participant with role vocab.
XML Instance Representation
<action-basketball-blocking-player
id="ID [0..1] ? " player-idref="IDREF [1] ? " />
Schema Component Representation
<
element name ="
action-basketball-blocking-player ">
<
complexType >
<attribute name ="player-idref " type ="IDREF " use ="required "/>
</
complexType >
</
element >
Name
action-basketball-jump-ball
Documentation
A jump ball. | For use when the referree throws a ball up for two opposing players to try to tip towards their team.
XML Instance Representation
<action-basketball-jump-ball
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " player-1-idref="IDREF [0..1] ? " player-2-idref="IDREF [0..1] ? " winning-player-idref="IDREF [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-basketball-jump-ball ">
<
complexType >
<attribute name ="player-1-idref " type ="IDREF " use ="optional "/>
<attribute name ="player-2-idref " type ="IDREF " use ="optional "/>
<attribute name ="winning-player-idref " type ="IDREF " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-basketball-other
Documentation
A custom action. | For use when none of the pre-build actions apply.
XML Instance Representation
<action-basketball-other
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " action-source="string [0..1] ? " action-type="string [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-basketball-other ">
<
complexType >
<attribute name ="action-source " type ="string " use ="optional "/>
<attribute name ="action-type " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-basketball-penalty
Documentation
Used when a foul is made. | Records who made the foul and who called the foul.
XML Instance Representation
<action-basketball-penalty
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " recipient-type="string (value comes from list: {'team'|'player'|'auxilliary'|'official'}) [1] ? " recipient-idref="IDREF [0..1] ? " caller-idref="IDREF [0..1] ? " penalty-count="string [0..1] ? " penalty-side="penaltySide.Basketball [0..1] ? " penalty-level="penaltyLevel.Basketball [0..1] ? " comment="string [0..1] ? " zone="string (value comes from list: {'offense'|'defense'|'neutral'}) [0..1] ? " />
Schema Component Representation
<
element name ="
action-basketball-penalty ">
<
complexType >
<
attribute name ="
recipient-type "
use ="
required ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="team "/>
<enumeration value ="player "/>
<enumeration value ="auxilliary "/>
<enumeration value ="official "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="recipient-idref " type ="IDREF " use ="optional "/>
<attribute name ="caller-idref " type ="IDREF " use ="optional "/>
<attribute name ="penalty-count " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
<
attribute name ="
zone "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="offense "/>
<enumeration value ="defense "/>
<enumeration value ="neutral "/>
</
restriction >
</
simpleType >
</
attribute >
</
complexType >
</
element >
Name
action-basketball-play
Documentation
Any kind of on-ice play indicated by play-type vocabulary.
XML Instance Representation
<action-basketball-play
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " sequence-number="string [0..1] ? " play-type="playType.Basketball [0..1] ? " score-attempt-type="scoreAttemptType.Basketball [0..1] ? " score-attempt-result="scoreAttemptResult.Basketball [0..1] ? " location="string [0..1] ? " comment="string [0..1] ? " zone="string (value comes from list: {'offense'|'defense'|'neutral'}) [0..1] ? " turnover-type="string [0..1] ? " >
</action-basketball-play>
Schema Component Representation
<
element name ="
action-basketball-play ">
<
complexType >
<attribute name ="sequence-number " type ="string " use ="optional "/>
<attribute name ="location " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
<
attribute name ="
zone "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="offense "/>
<enumeration value ="defense "/>
<enumeration value ="neutral "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="turnover-type " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-basketball-play-participant
Documentation
A generic play participant element.
Schema Component Representation
<
element name ="
action-basketball-play-participant ">
<
complexType >
<attribute name ="player-idref " type ="IDREF " use ="required "/>
<attribute name ="team-idref " type ="IDREF " use ="required "/>
</
complexType >
</
element >
Name
action-basketball-rebounder
Documentation
DEPRECATE: in favour of action-basketball-play-participant with role vocab.
XML Instance Representation
<action-basketball-rebounder
id="ID [0..1] ? " rebounder-idref="IDREF [1] ? " rebounder-type="string (value comes from list: {'team'|'player'}) [1] ? " rebounder-side="string (value comes from list: {'offense'|'defense'}) [1] ? " />
Schema Component Representation
<
element name ="
action-basketball-rebounder ">
<
complexType >
<attribute name ="rebounder-idref " type ="IDREF " use ="required "/>
<
attribute name ="
rebounder-type "
use ="
required ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="team "/>
<enumeration value ="player "/>
</
restriction >
</
simpleType >
</
attribute >
<
attribute name ="
rebounder-side "
use ="
required ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="offense "/>
<enumeration value ="defense "/>
</
restriction >
</
simpleType >
</
attribute >
</
complexType >
</
element >
Name
action-basketball-score
Documentation
Used to record shots that were successful. | Can include update of what the new score is between teams.
XML Instance Representation
<action-basketball-score
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " player-idref="IDREF [0..1] ? " score-attempt-type="scoreAttemptType.Basketball [0..1] ? " points="string [0..1] ? " score-team="string [0..1] ? " score-team-opposing="string [0..1] ? " location="string [0..1] ? " comment="string [0..1] ? " >
</action-basketball-score>
Schema Component Representation
<
element name ="
action-basketball-score ">
<
complexType >
<attribute name ="player-idref " type ="IDREF " use ="optional "/>
<attribute name ="points " type ="string " use ="optional "/>
<attribute name ="score-team " type ="string " use ="optional "/>
<attribute name ="score-team-opposing " type ="string " use ="optional "/>
<attribute name ="location " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-basketball-score-attempt
Documentation
DEPRECATE: in favour of action-basketball-play with play-type vocab.
XML Instance Representation
<action-basketball-score-attempt
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " player-idref="IDREF [0..1] ? " score-attempt-type="scoreAttemptType.Basketball [0..1] ? " score-attempt-result="scoreAttemptResult.Basketball [0..1] ? " shot-location="string [0..1] ? " comment="string [0..1] ? " >
</action-basketball-score-attempt>
Schema Component Representation
<
element name ="
action-basketball-score-attempt ">
<
complexType >
<attribute name ="player-idref " type ="IDREF " use ="optional "/>
<attribute name ="shot-location " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-basketball-substitution
Documentation
Used when one player comes in for another. | Simultaneous multiple replacements can be handled by using several of these elements, and leaving either the replacing or the original players blank.
XML Instance Representation
<action-basketball-substitution
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " person-type="string (value comes from list: {'player'|'auxilliary'|'official'}) [0..1] ? " person-original-idref="IDREF [0..1] ? " person-original-position="position.Basketball [0..1] ? " person-replacing-idref="IDREF [0..1] ? " person-replacing-position="position.Basketball [0..1] ? " substitution-reason="string [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-basketball-substitution ">
<
complexType >
<
attribute name ="
person-type "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="player "/>
<enumeration value ="auxilliary "/>
<enumeration value ="official "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="person-original-idref " type ="IDREF " use ="optional "/>
<attribute name ="person-replacing-idref " type ="IDREF " use ="optional "/>
<attribute name ="substitution-reason " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-basketball-timeout
Documentation
Used to record the calling of a timeout. | Also records who called for the timeout.
XML Instance Representation
<action-basketball-timeout
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " timeout-duration="string [0..1] ? " timeouts-left="string [0..1] ? " caller="string (value comes from list: {'team'|'official'}) [0..1] ? " caller-idref="IDREF [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-basketball-timeout ">
<
complexType >
<attribute name ="timeout-duration " type ="string " use ="optional "/>
<attribute name ="timeouts-left " type ="string " use ="optional "/>
<
attribute name ="
caller "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="team "/>
<enumeration value ="official "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="caller-idref " type ="IDREF " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-basketball-turnover
Documentation
When one team loses the ball, and the other team recovers. | Can be a steal, or just a lost ball.
XML Instance Representation
<action-basketball-turnover
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " losing-player-idref="IDREF [0..1] ? " recovering-player-idref="IDREF [0..1] ? " turnover-type="string [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-basketball-turnover ">
<
complexType >
<attribute name ="losing-player-idref " type ="IDREF " use ="optional "/>
<attribute name ="recovering-player-idref " type ="IDREF " use ="optional "/>
<attribute name ="turnover-type " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-curling-miss-reason
Documentation
TBD.
XML Instance Representation
<action-curling-miss-reason
id="ID [0..1] ? " type="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-curling-miss-reason ">
<
complexType >
<attribute name ="type " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-curling-shot
Documentation
TBD.
XML Instance Representation
<action-curling-shot
id="ID [0..1] ? " stone-idref="string [0..1] ? " player-idref="string [0..1] ? " team-idref="string [0..1] ? " end-number="string [0..1] ? " time-used="string [0..1] ? " turn="string [0..1] ? " shot-type="string [0..1] ? " stone-speed="string [0..1] ? " success="string [0..1] ? " shot-finish="string [0..1] ? " comment="string [0..1] ? " >
Start Choice [0..*] End Choice </action-curling-shot>
Schema Component Representation
<
element name ="
action-curling-shot ">
<
complexType >
<
choice minOccurs ="
0 "
maxOccurs ="
unbounded ">
</
choice >
<attribute name ="time-used " type ="string " use ="optional "/>
<attribute name ="turn " type ="string " use ="optional "/>
<attribute name ="shot-type " type ="string " use ="optional "/>
<attribute name ="stone-speed " type ="string " use ="optional "/>
<attribute name ="success " type ="string " use ="optional "/>
<attribute name ="shot-finish " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-golf-other
Documentation
A custom action. | For use when none of the pre-build actions apply.
XML Instance Representation
<action-golf-other
id="ID [0..1] ? " time-elapsed="string [0..1] ? " round="string [0..1] ? " hole="string [0..1] ? " score="string [0..1] ? " score-under-par="string [0..1] ? " action-source="string [0..1] ? " action-type="string [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-golf-other ">
<
complexType >
<attribute name ="action-source " type ="string " use ="optional "/>
<attribute name ="action-type " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-golf-shot
Documentation
A swing of the club at the ball resulting in the ball moving. | A shot moves progressively moves the ball from the tee towards the hole.
XML Instance Representation
<action-golf-shot
id="ID [0..1] ? " time-elapsed="string [0..1] ? " round="string [0..1] ? " hole="string [0..1] ? " score="string [0..1] ? " score-under-par="string [0..1] ? " player-idref="IDREF [0..1] " club="string [0..1] " shot-type="string [0..1] " shot-distance="string [0..1] " start-distance="string [0..1] " end-distance="string [0..1] " landing="string [0..1] " />
Schema Component Representation
<
element name ="
action-golf-shot ">
<
complexType >
<attribute name ="player-idref " type ="IDREF " use ="optional "/>
<attribute name ="club " type ="string " use ="optional "/>
<attribute name ="shot-type " type ="string " use ="optional "/>
<attribute name ="shot-distance " type ="string " use ="optional "/>
<attribute name ="start-distance " type ="string " use ="optional "/>
<attribute name ="end-distance " type ="string " use ="optional "/>
<attribute name ="landing " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-ice-hockey-assisting-player
Documentation
DEPRECATE: in favour of action-ice-hockey-play-participant with role of "assist".
XML Instance Representation
<action-ice-hockey-assisting-player
id="ID [0..1] ? " player-idref="IDREF [1] ? " />
Schema Component Representation
<
element name ="
action-ice-hockey-assisting-player ">
<
complexType >
<attribute name ="player-idref " type ="IDREF " use ="required "/>
</
complexType >
</
element >
Name
action-ice-hockey-other
Documentation
A custom action. | For use when none of the pre-build actions apply.
XML Instance Representation
<action-ice-hockey-other
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " power-play-time-remaining="string [0..1] ? " power-play-team-idref="string [0..1] ? " power-play-player-advantage="string [0..1] ? " score-team="string [0..1] ? " score-team-opposing="string [0..1] ? " action-source="string [0..1] ? " action-type="string [0..1] ? " comment="string [0..1] ? " />
Schema Component Representation
<
element name ="
action-ice-hockey-other ">
<
complexType >
<attribute name ="action-source " type ="string " use ="optional "/>
<attribute name ="action-type " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-ice-hockey-penalty
Documentation
Action describing a penalty. | Includes who caused and who called the penalty. One element is used per penalized player.
XML Instance Representation
<action-ice-hockey-penalty
id="ID [0..1] ? " period-value="string [0..1] ? " period-time-elapsed="string [0..1] ? " period-time-remaining="string [0..1] ? " power-play-time-remaining="string [0..1] ? " power-play-team-idref="string [0..1] ? " power-play-player-advantage="string [0..1] ? " score-team="string [0..1] ? " score-team-opposing="string [0..1] ? " player-count="string [0..1] ? " player-count-opposing="string [0..1] ? " zone="string (value comes from list: {'offensive'|'defensive'|'neutral'}) [0..1] ? " location="string [0..1] ? " recipient-type="string (value comes from list: {'team'|'player'|'auxilliary'|'official'}) [1] ? " team-idref="IDREF [0..1] ? " recipient-idref="IDREF [0..1] ? " served-by-idref="IDREF [0..1] ? " caller-idref="IDREF [0..1] ? " penalty-status="string (value comes from list: {'start'|'end'}) [0..1] ? " penalty-level="penaltyLevel.IceHockey [0..1] ? " penalty-name="penaltyName.IceHockey [0..1] ? " penalty-length="string [0..1] ? " comment="string [0..1] ? " sequence-number="string [0..1] ? " strength="strength.IceHockey [0..1] ? " >
</action-ice-hockey-penalty>
Schema Component Representation
<
element name ="
action-ice-hockey-penalty ">
<
complexType >
<
attribute name ="
recipient-type "
use ="
required ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="team "/>
<enumeration value ="player "/>
<enumeration value ="auxilliary "/>
<enumeration value ="official "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="team-idref " type ="IDREF " use ="optional "/>
<attribute name ="recipient-idref " type ="IDREF " use ="optional "/>
<attribute name ="served-by-idref " type ="IDREF " use ="optional "/>
<attribute name ="caller-idref " type ="IDREF " use ="optional "/>
<
attribute name ="
penalty-status "
use ="
optional ">
<
simpleType >
<
restriction base ="
string ">
<enumeration value ="start "/>
<enumeration value ="end "/>
</
restriction >
</
simpleType >
</
attribute >
<attribute name ="penalty-length " type ="string " use ="optional "/>
<attribute name ="comment " type ="string " use ="optional "/>
<attribute name ="sequence-number " type ="string " use ="optional "/>
</
complexType >
</
element >
Name
action-ice-hockey-play
Documentation
Any kind of on-ice play indicated by play-type vocabulary.