Definition Type: Element
Name: action-baseball-pitch
Namespace: http://iptc.org/std/SportsML/2008-04-01/
Containing Schema: sportsml-specific-baseball.xsd
Abstract
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.
Collapse XSD Schema Diagram:
Drilldown into action-baseball-contact in schema sportsml-specific-baseball_xsd Drilldown into comment in schema sportsml-specific-baseball_xsd Drilldown into ball-location in schema sportsml-specific-baseball_xsd Drilldown into strike-type in schema sportsml-specific-baseball_xsd Drilldown into trajectory-coordinates in schema sportsml-specific-baseball_xsd Drilldown into pitch-velocity in schema sportsml-specific-baseball_xsd Drilldown into pitch-type in schema sportsml-specific-baseball_xsd Drilldown into umpire-call 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-pitch in schema sportsml-specific-baseball_xsd (SportsML)
Collapse XSD Schema Code:
<element name="action-baseball-pitch">
    <annotation>
        <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.</documentation>
    </annotation>
    <complexType>
        <choice minOccurs="0">
            <element ref="sportsml:action-baseball-contact" />
        </choice>
        <attributeGroup ref="sportsml:globalAttributes" />
        <attributeGroup ref="sportsml:eventStateBaseball" />
        <attribute name="umpire-call" use="optional">
            <annotation>
                <documentation>The net result of the pitch.</documentation>
            </annotation>
            <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">
            <annotation>
                <documentation>TBD.</documentation>
            </annotation>
        </attribute>
        <attribute name="pitch-velocity" type="string" use="optional">
            <annotation>
                <documentation>TBD.</documentation>
            </annotation>
        </attribute>
        <attribute name="trajectory-coordinates" type="string" use="optional">
            <annotation>
                <documentation>TBD.</documentation>
            </annotation>
        </attribute>
        <attribute name="strike-type" type="sportsml:strikeType.Baseball" use="optional">
            <annotation>
                <documentation>Whether a strike was called by the umpire, or due to swinging.</documentation>
            </annotation>
        </attribute>
        <attribute name="ball-location" type="sportsml:ballLocation.Baseball" use="optional">
            <annotation>
                <documentation>Where with respect to the batter the ball was pitched.</documentation>
            </annotation>
        </attribute>
        <attribute name="comment" type="string" use="optional">
            <annotation>
                <documentation>Textual comment about the action.</documentation>
            </annotation>
        </attribute>
    </complexType>
</element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
action-baseball-contact sportsml:action-baseball-contact (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
umpire-call sportsml:umpire-call Optional
pitch-type sportsml:pitch-type Optional
pitch-velocity sportsml:pitch-velocity Optional
trajectory-coordinates sportsml:trajectory-coordinates Optional
strike-type sportsml:strike-type Optional
ball-location sportsml:ball-location Optional
comment sportsml:comment Optional