Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://iptc.org/std/SportsML/2006-10-18/
Version 1.8
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.
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/2006-10-18/
Schema Component Representation
<schema targetNamespace="http://iptc.org/std/SportsML/2006-10-18/" version="1.8">
...
</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] ?"
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] ?"
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] ?"
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]