Schema Documentation

Table of Contents

top

Schema Document Properties

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>
top

Global Declarations

Element: action-american-football-drive

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
<action-american-football-drive
id="ID [0..1] ?"
period-value="string [0..1] ?"
period-time-elapsed="string [0..1] ?"
period-time-remaining="string [0..1] ?"
clock-state="string (value comes from list: {'stopped'|'running'}) [0..1] ?"
team-in-possession-idref="IDREF [0..1] ?"
down="string (value comes from list: {'1'|'2'|'3'|'4'|'5'}) [0..1] ?"
distance-for-1st-down="string [0..1] ?"
field-side="string (value comes from list: {'home'|'away'}) [0..1] ?"
field-line="string [0..1] ?"
sequence-number="string [0..1] ?"
comment="string [0..1] ?"
drive-plays="string [0..1] ?"
drive-yards="string [0..1] ?"
drive-duration="string [0..1] ?"
drive-result="driveResult.AmericanFootball [0..1] ?">
Start Choice [0..*]
<action-american-football-play> ... </action-american-football-play> [1]
<action-american-football-substitution> ... </action-american-football-substitution> [1]
<action-american-football-penalty> ... </action-american-football-penalty> [1]
<action-american-football-timeout> ... </action-american-football-timeout> [1]
End Choice
<action-american-football-score> ... </action-american-football-score> [0..2]
</action-american-football-drive>
Schema Component Representation
<element name="action-american-football-drive">
<complexType>
<sequence>
<choice minOccurs="0" maxOccurs="unbounded"></choice>
<element ref="action-american-football-score" minOccurs="0" maxOccurs="2"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateAmericanFootball"/>
<attribute name="comment" type="string" use="optional"/>
<attribute name="drive-plays" type="string" use="optional"/>
<attribute name="drive-yards" type="string" use="optional"/>
<attribute name="drive-duration" type="string" use="optional"/>
<attribute name="drive-result" type="driveResult.AmericanFootball" use="optional"/>
</complexType>
</element>
top

Element: action-american-football-other

Name action-american-football-other
Documentation A custom action. | For use when none of the pre-build actions apply.
XML Instance Representation
<action-american-football-other
id="ID [0..1] ?"
period-value="string [0..1] ?"
period-time-elapsed="string [0..1] ?"
period-time-remaining="string [0..1] ?"
clock-state="string (value comes from list: {'stopped'|'running'}) [0..1] ?"
team-in-possession-idref="IDREF [0..1] ?"
down="string (value comes from list: {'1'|'2'|'3'|'4'|'5'}) [0..1] ?"
distance-for-1st-down="string [0..1] ?"
field-side="string (value comes from list: {'home'|'away'}) [0..1] ?"
field-line="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-american-football-other">
<complexType>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateAmericanFootball"/>
<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>
top

Element: action-american-football-penalty

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
<action-american-football-penalty
id="ID [0..1] ?"
period-value="string [0..1] ?"
period-time-elapsed="string [0..1] ?"
period-time-remaining="string [0..1] ?"
clock-state="string (value comes from list: {'stopped'|'running'}) [0..1] ?"
team-in-possession-idref="IDREF [0..1] ?"
down="string (value comes from list: {'1'|'2'|'3'|'4'|'5'}) [0..1] ?"
distance-for-1st-down="string [0..1] ?"
field-side="string (value comes from list: {'home'|'away'}) [0..1] ?"
field-line="string [0..1] ?"
sequence-number="string [0..1] ?"
comment="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-side="penaltySide.AmericanFootball [0..1] ?"
penalty-level="penaltyLevel.AmericanFootball [0..1] ?"
penalty-yards="string [0..1] ?"
penalty-acceptance="string (value comes from list: {'accepted'|'declined'}) [0..1] ?"
penalty-challenge="string (value comes from list: {'true'|'false'}) [0..1] ?"
penalty-review="string (value comes from list: {'coach'|'booth'|'none'}) [0..1] ?"
penalty-review-ruling="string (value comes from list: {'overturned'|'left-standing'}) [0..1] ?">
<action-american-football-play-participant> ... </action-american-football-play-participant> [0..*]
</action-american-football-penalty>
Schema Component Representation
<element name="action-american-football-penalty">
<complexType>
<sequence>
<element ref="action-american-football-play-participant" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateAmericanFootball"/>
<attribute name="comment" type="string" use="optional"/>
<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-side" type="penaltySide.AmericanFootball" use="optional"/>
<attribute name="penalty-level" type="penaltyLevel.AmericanFootball" use="optional"/>
<attribute name="penalty-yards" type="string" use="optional"/>
<attribute name="penalty-acceptance" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="accepted"/>
<enumeration value="declined"/>
</restriction>
</simpleType>
</attribute>
<attribute name="penalty-challenge" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="true"/>
<enumeration value="false"/>
</restriction>
</simpleType>
</attribute>
<attribute name="penalty-review" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="coach"/>
<enumeration value="booth"/>
<enumeration value="none"/>
</restriction>
</simpleType>
</attribute>
<attribute name="penalty-review-ruling" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="overturned"/>
<enumeration value="left-standing"/>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
top

Element: action-american-football-play

Name action-american-football-play
Documentation Only for non-scoring plays. | Holds elements that describe the role each play participant performed.
XML Instance Representation
<action-american-football-play
id="ID [0..1] ?"
period-value="string [0..1] ?"
period-time-elapsed="string [0..1] ?"
period-time-remaining="string [0..1] ?"
clock-state="string (value comes from list: {'stopped'|'running'}) [0..1] ?"
team-in-possession-idref="IDREF [0..1] ?"
down="string (value comes from list: {'1'|'2'|'3'|'4'|'5'}) [0..1] ?"
distance-for-1st-down="string [0..1] ?"
field-side="string (value comes from list: {'home'|'away'}) [0..1] ?"
field-line="string [0..1] ?"
sequence-number="string [0..1] ?"
drive-result="driveResult.AmericanFootball [0..1] ?"
score-attempt-type="scoreType.AmericanFootball [0..1] ?"
comment="string [0..1] ?"
score-team="string [0..1] ?"
score-team-opposing="string [0..1] ?"
play-type="string [0..1] ?"
yards-gained="string [0..1] ?">
<action-american-football-play-participant> ... </action-american-football-play-participant> [0..*]
</action-american-football-play>
Schema Component Representation
<element name="action-american-football-play">
<complexType>
<sequence>
<element ref="action-american-football-play-participant" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateAmericanFootball"/>
<attribute name="drive-result" type="driveResult.AmericanFootball" use="optional"/>
<attribute name="score-attempt-type" type="scoreType.AmericanFootball" use="optional"/>
<attribute name="comment" type="string" use="optional"/>
<attribute name="score-team" type="string" use="optional"/>
<attribute name="score-team-opposing" type="string" use="optional"/>
<attribute name="play-type" type="string" use="optional"/>
<attribute name="yards-gained" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-american-football-play-participant

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
<action-american-football-play-participant
id="ID [0..1] ?"
period-value="string [0..1] ?"
period-time-elapsed="string [0..1] ?"
period-time-remaining="string [0..1] ?"
clock-state="string (value comes from list: {'stopped'|'running'}) [0..1] ?"
team-in-possession-idref="IDREF [0..1] ?"
down="string (value comes from list: {'1'|'2'|'3'|'4'|'5'}) [0..1] ?"
distance-for-1st-down="string [0..1] ?"
field-side="string (value comes from list: {'home'|'away'}) [0..1] ?"
field-line="string [0..1] ?"
sequence-number="string [0..1] ?"
comment="string [0..1] ?"
player-idref="IDREF [0..1] ?"
role="role.AmericanFootball [0..1] ?"
result="result.AmericanFootball [0..1] ?"
score-credit="string (value comes from list: {'1'|'0'}) [0..1] ?"
kick-type="kickType.AmericanFootball [0..1] ?"
penalty-type="penaltyType.AmericanFootball [0..1] ?"
penalty-acceptance="string (value comes from list: {'accepted'|'declined'}) [0..1] ?"
official-idref="IDREF [0..1] ?"
yards-gained="string [0..1] ?"/>
Schema Component Representation
<element name="action-american-football-play-participant">
<complexType>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateAmericanFootball"/>
<attribute name="comment" type="string" use="optional"/>
<attribute name="player-idref" type="IDREF" use="optional"/>
<attribute name="role" type="role.AmericanFootball" use="optional"/>
<attribute name="result" type="result.AmericanFootball" use="optional"/>
<attribute name="score-credit" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="1"/>
<enumeration value="0"/>
</restriction>
</simpleType>
</attribute>
<attribute name="kick-type" type="kickType.AmericanFootball" use="optional"/>
<attribute name="penalty-type" type="penaltyType.AmericanFootball" use="optional"/>
<attribute name="penalty-acceptance" use="optional">
<simpleType>
<restriction base="string">
<enumeration value="accepted"/>
<enumeration value="declined"/>
</restriction>
</simpleType>
</attribute>
<attribute name="official-idref" type="IDREF" use="optional"/>
<attribute name="yards-gained" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-american-football-score

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
<action-american-football-score
id="ID [0..1] ?"
period-value="string [0..1] ?"
period-time-elapsed="string [0..1] ?"
period-time-remaining="string [0..1] ?"
clock-state="string (value comes from list: {'stopped'|'running'}) [0..1] ?"
team-in-possession-idref="IDREF [0..1] ?"
down="string (value comes from list: {'1'|'2'|'3'|'4'|'5'}) [0..1] ?"
distance-for-1st-down="string [0..1] ?"
field-side="string (value comes from list: {'home'|'away'}) [0..1] ?"
field-line="string [0..1] ?"
sequence-number="string [0..1] ?"
team-idref="IDREF [0..1] ?"
score-type="scoreType.AmericanFootball [0..1] ?"
score-subtype="scoreSubType.AmericanFootball [0..1] ?"
points="string [0..1] ?"
comment="string [0..1] ?"
score-team="string [0..1] ?"
score-team-opposing="string [0..1] ?"
play-type="string [0..1] ?"
yards-gained="string [0..1] ?">
<action-american-football-play-participant> ... </action-american-football-play-participant> [0..*]
</action-american-football-score>
Schema Component Representation
<element name="action-american-football-score">
<complexType>
<sequence>
<element ref="action-american-football-play-participant" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateAmericanFootball"/>
<attribute name="team-idref" type="IDREF" use="optional"/>
<attribute name="score-type" type="scoreType.AmericanFootball" use="optional"/>
<attribute name="score-subtype" type="scoreSubType.AmericanFootball" use="optional"/>
<attribute name="points" type="string" use="optional"/>
<attribute name="comment" type="string" use="optional"/>
<attribute name="score-team" type="string" use="optional"/>
<attribute name="score-team-opposing" type="string" use="optional"/>
<attribute name="play-type" type="string" use="optional"/>
<attribute name="yards-gained" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-american-football-substitution

Name action-american-football-substitution
Documentation A substitution. | Oftentimes recorded for a quarterback change.
XML Instance Representation
<action-american-football-substitution
id="ID [0..1] ?"
period-value="string [0..1] ?"
period-time-elapsed="string [0..1] ?"
period-time-remaining="string [0..1] ?"
clock-state="string (value comes from list: {'stopped'|'running'}) [0..1] ?"
team-in-possession-idref="IDREF [0..1] ?"
down="string (value comes from list: {'1'|'2'|'3'|'4'|'5'}) [0..1] ?"
distance-for-1st-down="string [0..1] ?"
field-side="string (value comes from list: {'home'|'away'}) [0..1] ?"
field-line="string [0..1] ?"
sequence-number="string [0..1] ?"
player-original-idref="IDREF [0..1] ?"
player-original-position="position.AmericanFootball [0..1] ?"
player-replacing-idref="IDREF [0..1] ?"
player-replacing-position="position.AmericanFootball [0..1] ?"
substitution-reason="string [0..1] ?"
comment="string [0..1] ?"/>
Schema Component Representation
<element name="action-american-football-substitution">
<complexType>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateAmericanFootball"/>
<attribute name="player-original-idref" type="IDREF" use="optional"/>
<attribute name="player-original-position" type="position.AmericanFootball" use="optional"/>
<attribute name="player-replacing-idref" type="IDREF" use="optional"/>
<attribute name="player-replacing-position" type="position.AmericanFootball" use="optional"/>
<attribute name="substitution-reason" type="string" use="optional"/>
<attribute name="comment" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-american-football-timeout

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
<action-american-football-timeout
id="ID [0..1] ?"
period-value="string [0..1] ?"
period-time-elapsed="string [0..1] ?"
period-time-remaining="string [0..1] ?"
clock-state="string (value comes from list: {'stopped'|'running'}) [0..1] ?"
team-in-possession-idref="IDREF [0..1] ?"
down="string (value comes from list: {'1'|'2'|'3'|'4'|'5'}) [0..1] ?"
distance-for-1st-down="string [0..1] ?"
field-side="string (value comes from list: {'home'|'away'}) [0..1] ?"
field-line="string [0..1] ?"
sequence-number="string [0..1] ?"
comment="string [0..1] ?"
timeout-type="timeoutType.AmericanFootball [0..1] ?"
caller="caller.AmericanFootball [0..1] ?"
caller-idref="string [0..1] ?"/>
Schema Component Representation
<element name="action-american-football-timeout">
<complexType>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateAmericanFootball"/>
<attribute name="comment" type="string" use="optional"/>
<attribute name="timeout-type" type="timeoutType.AmericanFootball" use="optional"/>
<attribute name="caller" type="caller.AmericanFootball" use="optional"/>
<attribute name="caller-idref" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-baseball-contact

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>
<attributeGroup ref="globalAttributes"/>
<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>
top

Element: action-baseball-other

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBaseball"/>
<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>
top

Element: action-baseball-pitch

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]
<action-baseball-contact> ... </action-baseball-contact> [1]
End Choice
</action-baseball-pitch>
Schema Component Representation
<element name="action-baseball-pitch">
<complexType>
<choice minOccurs="0">
<element ref="action-baseball-contact"/>
</choice>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBaseball"/>
<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="strike-type" type="strikeType.Baseball" use="optional"/>
<attribute name="ball-location" type="ballLocation.Baseball" use="optional"/>
<attribute name="comment" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-baseball-play

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-pitch> ... </action-baseball-pitch> [0..*]
<action-baseball-play-participant> ... </action-baseball-play-participant> [0..*]
</action-baseball-play>
Schema Component Representation
<element name="action-baseball-play">
<complexType>
<sequence>
<element ref="action-baseball-pitch" minOccurs="0" maxOccurs="unbounded"/>
<element ref="action-baseball-play-participant" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBaseball"/>
<attribute name="play-type" type="playType.Baseball" use="optional"/>
<attribute name="play-scorekeepers-notation" type="string" use="optional"/>
<attribute name="walk-type" type="walkType.Baseball" use="optional"/>
<attribute name="hit-type" type="hitType.Baseball" use="optional"/>
<attribute name="hit-by-pitch-type" type="hitByPitchType.Baseball" use="optional"/>
<attribute name="out-type" type="outType.Baseball" 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>
top

Element: action-baseball-play-participant

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>
<attributeGroup ref="globalAttributes"/>
<attribute name="player-idref" type="IDREF" use="required"/>
<attribute name="team-idref" type="IDREF" use="required"/>
<attribute name="role" type="participantRole.Baseball" use="required"/>
</complexType>
</element>
top

Element: action-baseball-score

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-pitch> ... </action-baseball-pitch> [0..*]
<action-baseball-play-participant> ... </action-baseball-play-participant> [0..*]
</action-baseball-score>
Schema Component Representation
<element name="action-baseball-score">
<complexType>
<sequence>
<element ref="action-baseball-pitch" minOccurs="0" maxOccurs="unbounded"/>
<element ref="action-baseball-play-participant" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBaseball"/>
<attribute name="play-type" type="playType.Baseball" use="optional"/>
<attribute name="play-scorekeepers-notation" type="string" use="optional"/>
<attribute name="walk-type" type="walkType.Baseball" use="optional"/>
<attribute name="hit-type" type="hitType.Baseball" use="optional"/>
<attribute name="hit-by-pitch-type" type="hitByPitchType.Baseball" use="optional"/>
<attribute name="out-type" type="outType.Baseball" 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>
top

Element: action-baseball-substitution

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBaseball"/>
<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-position" type="position.Baseball" 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>
top

Element: action-basketball-assisting-player

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>
<attributeGroup ref="globalAttributes"/>
<attribute name="player-idref" type="IDREF" use="required"/>
</complexType>
</element>
top

Element: action-basketball-blocking-player

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>
<attributeGroup ref="globalAttributes"/>
<attribute name="player-idref" type="IDREF" use="required"/>
</complexType>
</element>
top

Element: action-basketball-jump-ball

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<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>
top

Element: action-basketball-other

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<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>
top

Element: action-basketball-penalty

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<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="penalty-side" type="penaltySide.Basketball" use="optional"/>
<attribute name="penalty-level" type="penaltyLevel.Basketball" 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>
top

Element: action-basketball-play

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-participant> ... </action-basketball-play-participant> [0..*]
</action-basketball-play>
Schema Component Representation
<element name="action-basketball-play">
<complexType>
<sequence>
<element ref="action-basketball-play-participant" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<attribute name="sequence-number" type="string" use="optional"/>
<attribute name="play-type" type="playType.Basketball" use="optional"/>
<attribute name="score-attempt-type" type="scoreAttemptType.Basketball" use="optional"/>
<attribute name="score-attempt-result" type="scoreAttemptResult.Basketball" 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>
top

Element: action-basketball-play-participant

Name action-basketball-play-participant
Documentation A generic play participant element.
XML Instance Representation
<action-basketball-play-participant
id="ID [0..1] ?"
player-idref="IDREF [1] ?"
team-idref="IDREF [1] ?"
role="participantRole.Basketball [1] ?"/>
Schema Component Representation
<element name="action-basketball-play-participant">
<complexType>
<attributeGroup ref="globalAttributes"/>
<attribute name="player-idref" type="IDREF" use="required"/>
<attribute name="team-idref" type="IDREF" use="required"/>
<attribute name="role" type="participantRole.Basketball" use="required"/>
</complexType>
</element>
top

Element: action-basketball-rebounder

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>
<attributeGroup ref="globalAttributes"/>
<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>
top

Element: action-basketball-score

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-play-participant> ... </action-basketball-play-participant> [0..*]
<action-basketball-assisting-player> ... </action-basketball-assisting-player> [0..*]
</action-basketball-score>
Schema Component Representation
<element name="action-basketball-score">
<complexType>
<sequence>
<element ref="action-basketball-play-participant" minOccurs="0" maxOccurs="unbounded"/>
<element ref="action-basketball-assisting-player" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<attribute name="player-idref" type="IDREF" use="optional"/>
<attribute name="score-attempt-type" type="scoreAttemptType.Basketball" 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>
top

Element: action-basketball-score-attempt

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-assisting-player> ... </action-basketball-assisting-player> [0..*]
<action-basketball-rebounder> ... </action-basketball-rebounder> [0..*]
<action-basketball-blocking-player> ... </action-basketball-blocking-player> [0..*]
</action-basketball-score-attempt>
Schema Component Representation
<element name="action-basketball-score-attempt">
<complexType>
<sequence>
<element ref="action-basketball-assisting-player" minOccurs="0" maxOccurs="unbounded"/>
<element ref="action-basketball-rebounder" minOccurs="0" maxOccurs="unbounded"/>
<element ref="action-basketball-blocking-player" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<attribute name="player-idref" type="IDREF" use="optional"/>
<attribute name="score-attempt-type" type="scoreAttemptType.Basketball" use="optional"/>
<attribute name="score-attempt-result" type="scoreAttemptResult.Basketball" use="optional"/>
<attribute name="shot-location" type="string" use="optional"/>
<attribute name="comment" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-basketball-substitution

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<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-original-position" type="position.Basketball" use="optional"/>
<attribute name="person-replacing-idref" type="IDREF" use="optional"/>
<attribute name="person-replacing-position" type="position.Basketball" use="optional"/>
<attribute name="substitution-reason" type="string" use="optional"/>
<attribute name="comment" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-basketball-timeout

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<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>
top

Element: action-basketball-turnover

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateBasketball"/>
<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>
top

Element: action-curling-miss-reason

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>
<attributeGroup ref="globalAttributes"/>
<attribute name="type" type="string" use="optional"/>
</complexType>
</element>
top

Element: action-curling-shot

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..*]
<action-curling-miss-reason> ... </action-curling-miss-reason> [1]
End Choice
</action-curling-shot>
Schema Component Representation
<element name="action-curling-shot">
<complexType>
<choice minOccurs="0" maxOccurs="unbounded"></choice>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateCurling"/>
<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>
top

Element: action-golf-other

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateGolf"/>
<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>
top

Element: action-golf-shot

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateGolf"/>
<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>
top

Element: action-ice-hockey-assisting-player

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>
<attributeGroup ref="globalAttributes"/>
<attribute name="player-idref" type="IDREF" use="required"/>
</complexType>
</element>
top

Element: action-ice-hockey-other

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>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateIceHockey"/>
<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>
top

Element: action-ice-hockey-penalty

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-play-participant> ... </action-ice-hockey-play-participant> [0..*]
</action-ice-hockey-penalty>
Schema Component Representation
<element name="action-ice-hockey-penalty">
<complexType>
<sequence>
<element ref="action-ice-hockey-play-participant" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="globalAttributes"/>
<attributeGroup ref="eventStateIceHockey"/>
<attributeGroup ref="commonPropertiesIceHockey"/>
<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-level" type="penaltyLevel.IceHockey" use="optional"/>
<attribute name="penalty-name" type="penaltyName.IceHockey" use="optional"/>
<attribute name="penalty-length" type="string" use="optional"/>
<attribute name="comment" type="string" use="optional"/>
<attribute name="sequence-number" type="string" use="optional"/>
<attribute name="strength" type="strength.IceHockey" use="optional"/>
</complexType>
</element>
top

Element: action-ice-hockey-play

Name action-ice-hockey-play
Documentation Any kind of on-ice play indicated by play-type vocabulary.
XML Instance Representation
<action-ice-hockey-play
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] ?"
team-idref="IDREF [0..1] ?"
score-attempt-type="scoreAttemptType.IceHockey [0..1]