Definition Type: Element
Name: action-baseball-play
Namespace: http://iptc.org/std/SportsML/2008-04-01/
Containing Schema: sportsml-specific-baseball.xsd
Abstract
Documentation:
Issued when a non-scoring play occurred. | Records a hit, a strikeout, etc.
Collapse XSD Schema Diagram:
Drilldown into action-baseball-pitch in schema sportsml-specific-baseball_xsd Drilldown into runner-on-third-advance in schema sportsml-specific-baseball_xsd Drilldown into runner-on-second-advance in schema sportsml-specific-baseball_xsd Drilldown into runner-on-first-advance in schema sportsml-specific-baseball_xsd Drilldown into batter-advance in schema sportsml-specific-baseball_xsd Drilldown into comment in schema sportsml-specific-baseball_xsd Drilldown into outs-recorded in schema sportsml-specific-baseball_xsd Drilldown into out-type in schema sportsml-specific-baseball_xsd Drilldown into hit-by-pitch-type in schema sportsml-specific-baseball_xsd Drilldown into hit-type in schema sportsml-specific-baseball_xsd Drilldown into walk-type in schema sportsml-specific-baseball_xsd Drilldown into play-scorekeepers-notation in schema sportsml-specific-baseball_xsd Drilldown into play-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-play in schema sportsml-specific-baseball_xsd (SportsML)
Collapse XSD Schema Code:
<element name="action-baseball-play">
    <annotation>
        <documentation>Issued when a non-scoring play occurred. | Records a hit, a strikeout, etc.</documentation>
    </annotation>
    <complexType>
        <choice minOccurs="0" maxOccurs="unbounded">
            <element ref="sportsml:action-baseball-pitch" />
        </choice>
        <attributeGroup ref="sportsml:globalAttributes" />
        <attributeGroup ref="sportsml:eventStateBaseball" />
        <attribute name="play-type" type="sportsml:playType.Baseball" use="optional">
            <annotation>
                <documentation>A description for the play.</documentation>
            </annotation>
        </attribute>
        <attribute name="play-scorekeepers-notation" type="string" use="optional">
            <annotation>
                <documentation>Denotes which fielders touched the ball during the play. Example: 6-4-3.</documentation>
            </annotation>
        </attribute>
        <attribute name="walk-type" type="sportsml:walkType.Baseball" use="optional">
            <annotation>
                <documentation>If this play was a base-on-balls, the type of walk.</documentation>
            </annotation>
        </attribute>
        <attribute name="hit-type" type="sportsml:hitType.Baseball" use="optional">
            <annotation>
                <documentation>A description for the hit.</documentation>
            </annotation>
        </attribute>
        <attribute name="hit-by-pitch-type" type="sportsml:hitByPitchType.Baseball" use="optional">
            <annotation>
                <documentation>A description for how or why a batter was hit by a pitch.</documentation>
            </annotation>
        </attribute>
        <attribute name="out-type" type="sportsml:outType.Baseball" use="optional">
            <annotation>
                <documentation>How the out was made.</documentation>
            </annotation>
        </attribute>
        <attribute name="outs-recorded" use="optional">
            <annotation>
                <documentation>How many outs were recorded on the play. Values are 1, 2, 3.</documentation>
            </annotation>
            <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">
            <annotation>
                <documentation>Textual comment about the action.</documentation>
            </annotation>
        </attribute>
        <attribute name="batter-advance" use="optional">
            <annotation>
                <documentation>The base to which the batter advanced.</documentation>
            </annotation>
            <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">
            <annotation>
                <documentation>The base to which the runner on first base advanced.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="2" />
                    <enumeration value="3" />
                    <enumeration value="home" />
                </restriction>
            </simpleType>
        </attribute>
        <attribute name="runner-on-second-advance" use="optional">
            <annotation>
                <documentation>The base to which the runner on second base advanced.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="3" />
                    <enumeration value="home" />
                </restriction>
            </simpleType>
        </attribute>
        <attribute name="runner-on-third-advance" use="optional">
            <annotation>
                <documentation>The base to which the runner on third base advanced.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="home" />
                </restriction>
            </simpleType>
        </attribute>
    </complexType>
</element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
action-baseball-pitch sportsml:action-baseball-pitch (1) (1)
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
play-type sportsml:play-type Optional
play-scorekeepers-notation sportsml:play-scorekeepers-notation Optional
walk-type sportsml:walk-type Optional
hit-type sportsml:hit-type Optional
hit-by-pitch-type sportsml:hit-by-pitch-type Optional
out-type sportsml:out-type Optional
outs-recorded sportsml:outs-recorded Optional
comment sportsml:comment Optional
batter-advance sportsml:batter-advance Optional
runner-on-first-advance sportsml:runner-on-first-advance Optional
runner-on-second-advance sportsml:runner-on-second-advance Optional
runner-on-third-advance sportsml:runner-on-third-advance Optional