Definition Type: Element
Name: action-baseball-substitution
Namespace: http://iptc.org/std/SportsML/2008-04-01/
Containing Schema: sportsml-specific-baseball.xsd
Abstract
Documentation:
An exchange of players occurred. | Most commonly-recorded substitution is a pitching change.
Collapse XSD Schema Diagram:
Drilldown into comment in schema sportsml-specific-baseball_xsd Drilldown into runners-on-base in schema sportsml-specific-baseball_xsd Drilldown into lead-exiting in schema sportsml-specific-baseball_xsd Drilldown into lead-entering in schema sportsml-specific-baseball_xsd Drilldown into outs-exiting in schema sportsml-specific-baseball_xsd Drilldown into inning-exiting in schema sportsml-specific-baseball_xsd Drilldown into substitution-reason in schema sportsml-specific-baseball_xsd Drilldown into person-replacing-lineup-slot in schema sportsml-specific-baseball_xsd Drilldown into person-replacing-position in schema sportsml-specific-baseball_xsd Drilldown into person-replacing-idref in schema sportsml-specific-baseball_xsd Drilldown into person-original-lineup-slot in schema sportsml-specific-baseball_xsd Drilldown into person-original-position in schema sportsml-specific-baseball_xsd Drilldown into person-original-idref in schema sportsml-specific-baseball_xsd Drilldown into person-type in schema sportsml-specific-baseball_xsd Drilldown into sequence-number in schema sportsml-specific-baseball_xsd Drilldown into at-bat-number in schema sportsml-specific-baseball_xsd Drilldown into batter-side in schema sportsml-specific-baseball_xsd Drilldown into batter-idref in schema sportsml-specific-baseball_xsd Drilldown into pitcher-idref in schema sportsml-specific-baseball_xsd Drilldown into runs-this-inning-half in schema sportsml-specific-baseball_xsd Drilldown into runner-on-third-idref in schema sportsml-specific-baseball_xsd Drilldown into runner-on-third in schema sportsml-specific-baseball_xsd Drilldown into runner-on-second-idref in schema sportsml-specific-baseball_xsd Drilldown into runner-on-second in schema sportsml-specific-baseball_xsd Drilldown into runner-on-first-idref in schema sportsml-specific-baseball_xsd Drilldown into runner-on-first in schema sportsml-specific-baseball_xsd Drilldown into strikes in schema sportsml-specific-baseball_xsd Drilldown into balls in schema sportsml-specific-baseball_xsd Drilldown into outs in schema sportsml-specific-baseball_xsd Drilldown into inning-half in schema sportsml-specific-baseball_xsd Drilldown into inning-value in schema sportsml-specific-baseball_xsd Drilldown into eventStateBaseball in schema sportsml-specific-baseball_xsdXSD Diagram of action-baseball-substitution in schema sportsml-specific-baseball_xsd (SportsML)
Collapse XSD Schema Code:
<element name="action-baseball-substitution">
    <annotation>
        <documentation>An exchange of players occurred. | Most commonly-recorded substitution is a pitching change.</documentation>
    </annotation>
    <complexType>
        <attributeGroup ref="sportsml:globalAttributes" />
        <attributeGroup ref="sportsml:eventStateBaseball" />
        <attribute name="person-type" use="optional">
            <annotation>
                <documentation>Whether this substitution was for a player, a coach, an umpire.</documentation>
            </annotation>
            <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">
            <annotation>
                <documentation>A pointer to the person who left the game.</documentation>
            </annotation>
        </attribute>
        <attribute name="person-original-position" type="sportsml:position.Baseball" use="optional">
            <annotation>
                <documentation>The position of the original person.</documentation>
            </annotation>
        </attribute>
        <attribute name="person-original-lineup-slot" type="string" use="optional">
            <annotation>
                <documentation>The order in the lineup that the player held.</documentation>
            </annotation>
        </attribute>
        <attribute name="person-replacing-idref" type="IDREF" use="optional">
            <annotation>
                <documentation>A pointer to the person who entered the game.</documentation>
            </annotation>
        </attribute>
        <attribute name="person-replacing-position" type="string" use="optional">
            <annotation>
                <documentation>The position of the replacing person.</documentation>
            </annotation>
        </attribute>
        <attribute name="person-replacing-lineup-slot" type="string" use="optional">
            <annotation>
                <documentation>The order in the lineup that the player will hold.</documentation>
            </annotation>
        </attribute>
        <attribute name="substitution-reason" type="string" use="optional">
            <annotation>
                <documentation>Why a substitution was made.</documentation>
            </annotation>
        </attribute>
        <attribute name="inning-exiting" type="string" use="optional">
            <annotation>
                <documentation>The number of the inning the player exited the game.</documentation>
            </annotation>
        </attribute>
        <attribute name="outs-exiting" type="string" use="optional">
            <annotation>
                <documentation>The number of outs when the player exited the game.</documentation>
            </annotation>
        </attribute>
        <attribute name="lead-entering" type="string" use="optional">
            <annotation>
                <documentation>The difference in points between player's team and opponent when player entered game.</documentation>
            </annotation>
        </attribute>
        <attribute name="lead-exiting" type="string" use="optional">
            <annotation>
                <documentation>The difference in points between player's team and opponent when player exited game.</documentation>
            </annotation>
        </attribute>
        <attribute name="runners-on-base" type="string" use="optional">
            <annotation>
                <documentation>The number of runners on base when the player entered the game.</documentation>
            </annotation>
        </attribute>
        <attribute name="comment" type="string" use="optional">
            <annotation>
                <documentation>Textual comment about the action.</documentation>
            </annotation>
        </attribute>
    </complexType>
</element>
Collapse Child Attributes:
Name Type Default Value Use
id sportsml:id Optional
inning-value sportsml:inning-value Optional
inning-half sportsml:inning-half Optional
outs sportsml:outs Optional
balls sportsml:balls Optional
strikes sportsml:strikes Optional
runner-on-first sportsml:runner-on-first Optional
runner-on-first-idref sportsml:runner-on-first-idref Optional
runner-on-second sportsml:runner-on-second Optional
runner-on-second-idref sportsml:runner-on-second-idref Optional
runner-on-third sportsml:runner-on-third Optional
runner-on-third-idref sportsml:runner-on-third-idref Optional
runs-this-inning-half sportsml:runs-this-inning-half Optional
pitcher-idref sportsml:pitcher-idref Optional
batter-idref sportsml:batter-idref Optional
batter-side sportsml:batter-side Optional
at-bat-number sportsml:at-bat-number Optional
sequence-number sportsml:sequence-number Optional
person-type sportsml:person-type Optional
person-original-idref sportsml:person-original-idref Optional
person-original-position sportsml:person-original-position Optional
person-original-lineup-slot sportsml:person-original-lineup-slot Optional
person-replacing-idref sportsml:person-replacing-idref Optional
person-replacing-position sportsml:person-replacing-position Optional
person-replacing-lineup-slot sportsml:person-replacing-lineup-slot Optional
substitution-reason sportsml:substitution-reason Optional
inning-exiting sportsml:inning-exiting Optional
outs-exiting sportsml:outs-exiting Optional
lead-entering sportsml:lead-entering Optional
lead-exiting sportsml:lead-exiting Optional
runners-on-base sportsml:runners-on-base Optional
comment sportsml:comment Optional