Definition Type: AttributeGroup
Name: baseballActionAttributes
Namespace: http://iptc.org/std/nar/2006-10-01/
Containing Schema: sportsml.xsd
Collapse XSD Schema Diagram:
Drilldown into umpire-call in schema sportsml_xsd Drilldown into strike-type in schema sportsml_xsd Drilldown into pitch-units in schema sportsml_xsd Drilldown into pitch-velocity in schema sportsml_xsd Drilldown into pitch-type in schema sportsml_xsd Drilldown into ball-location-vertical in schema sportsml_xsd Drilldown into ball-location-horizontal in schema sportsml_xsd Drilldown into ball-location in schema sportsml_xsd Drilldown into walk-type in schema sportsml_xsd Drilldown into velocity in schema sportsml_xsd Drilldown into trajectory-coordinates in schema sportsml_xsd Drilldown into strikes in schema sportsml_xsd Drilldown into strikeout-type in schema sportsml_xsd Drilldown into sacrifice-type in schema sportsml_xsd Drilldown into runs-this-inning-half in schema sportsml_xsd Drilldown into runs-scored in schema sportsml_xsd Drilldown into runners-on-base in schema sportsml_xsd Drilldown into runner-on-third-idref in schema sportsml_xsd Drilldown into runner-on-third-advance in schema sportsml_xsd Drilldown into runner-on-third in schema sportsml_xsd Drilldown into runner-on-second-idref in schema sportsml_xsd Drilldown into runner-on-second-advance in schema sportsml_xsd Drilldown into runner-on-second in schema sportsml_xsd Drilldown into runner-on-first-idref in schema sportsml_xsd Drilldown into runner-on-first-advance in schema sportsml_xsd Drilldown into runner-on-first in schema sportsml_xsd Drilldown into rbi in schema sportsml_xsd Drilldown into play-scorekeepers-notation in schema sportsml_xsd Drilldown into pitcher-side in schema sportsml_xsd Drilldown into outs-recorded in schema sportsml_xsd Drilldown into outs in schema sportsml_xsd Drilldown into out-type in schema sportsml_xsd Drilldown into lead-exiting in schema sportsml_xsd Drilldown into lead-entering in schema sportsml_xsd Drilldown into interference-type in schema sportsml_xsd Drilldown into inning-value in schema sportsml_xsd Drilldown into inning-half in schema sportsml_xsd Drilldown into inning-exiting in schema sportsml_xsd Drilldown into hit-type in schema sportsml_xsd Drilldown into hit-location in schema sportsml_xsd Drilldown into hit-by-pitch-type in schema sportsml_xsd Drilldown into error-type in schema sportsml_xsd Drilldown into earned-runs-scored in schema sportsml_xsd Drilldown into batter-side in schema sportsml_xsd Drilldown into batter-advance in schema sportsml_xsd Drilldown into balls in schema sportsml_xsd Drilldown into at-bat-number in schema sportsml_xsdXSD Diagram of baseballActionAttributes in schema sportsml_xsd (SportsML)
Collapse XSD Schema Code:
<xs:attributeGroup name="baseballActionAttributes">
    <xs:attribute name="at-bat-number" use="optional" type="xs:integer" />
    <xs:attribute name="balls" use="optional" type="xs:integer" />
    <xs:attribute name="batter-advance" use="optional" type="xs:integer" />
    <xs:attribute name="batter-side" use="optional" type="bodySideList" />
    <xs:attribute name="earned-runs-scored" use="optional" type="xs:integer" />
    <xs:attribute name="error-type" use="optional" type="QCodeType" />
    <xs:attribute name="hit-by-pitch-type" use="optional">
        <xs:simpleType id="hitByPitchType">
            <xs:restriction base="xs:string">
                <xs:enumeration id="hitByPitchTypeIntentional" value="intentional" />
                <xs:enumeration id="hitByPitchTypeUnintentional" value="unintentional" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="hit-location" use="optional" type="QCodeType" />
    <xs:attribute name="hit-type" use="optional" type="QCodeType" />
    <xs:attribute name="inning-exiting" use="optional" type="QCodeType" />
    <xs:attribute name="inning-half" use="optional">
        <xs:simpleType id="inningHalf">
            <xs:restriction base="xs:string">
                <xs:enumeration id="inningHalfTop" value="top" />
                <xs:enumeration id="inningHalfBottom" value="bottom" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="inning-value" use="optional" type="xs:integer" />
    <xs:attribute name="interference-type" use="optional" type="QCodeType" />
    <xs:attribute name="lead-entering" use="optional" type="QCodeType" />
    <xs:attribute name="lead-exiting" use="optional" type="QCodeType" />
    <xs:attribute name="out-type" use="optional" type="QCodeType">
        <xs:annotation>
            <xs:documentation>How the batter got out. SportsML vocab uri: http://cv.iptc.org/newscodes/spbblout/</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="outs" use="optional" type="xs:integer" />
    <xs:attribute name="outs-recorded" use="optional" type="xs:integer" />
    <xs:attribute name="pitcher-side" use="optional" type="bodySideList" />
    <xs:attribute name="play-scorekeepers-notation" use="optional" type="xs:string" />
    <xs:attribute name="rbi" use="optional" type="xs:integer" />
    <xs:attribute name="runner-on-first" use="optional" type="xs:boolean" />
    <xs:attribute name="runner-on-first-advance" use="optional" type="QCodeType" />
    <xs:attribute name="runner-on-first-idref" use="optional" type="QCodeType" />
    <xs:attribute name="runner-on-second" use="optional" type="xs:boolean" />
    <xs:attribute name="runner-on-second-advance" use="optional" type="QCodeType" />
    <xs:attribute name="runner-on-second-idref" use="optional" type="QCodeType" />
    <xs:attribute name="runner-on-third" use="optional" type="xs:boolean" />
    <xs:attribute name="runner-on-third-advance" use="optional" type="QCodeType" />
    <xs:attribute name="runner-on-third-idref" use="optional" type="QCodeType" />
    <xs:attribute name="runners-on-base" use="optional" type="xs:boolean" />
    <xs:attribute name="runs-scored" use="optional" type="xs:integer" />
    <xs:attribute name="runs-this-inning-half" use="optional" type="xs:integer" />
    <xs:attribute name="sacrifice-type" use="optional" type="QCodeType" />
    <xs:attribute name="strikeout-type" use="optional">
        <xs:simpleType id="strikeoutType">
            <xs:restriction base="xs:string">
                <xs:enumeration id="strikeoutTypeCalled" value="called" />
                <xs:enumeration id="strikeoutTypeSwinging" value="swinging" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="strikes" use="optional" type="xs:integer" />
    <xs:attribute name="trajectory-coordinates" use="optional" type="QCodeType">
        <xs:annotation>
            <xs:documentation>The path of the ball. SportsML vocab uri: http://cv.iptc.org/newscodes/spbbltrajectory/</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="velocity" use="optional" type="QCodeType" />
    <xs:attribute name="walk-type" use="optional">
        <xs:simpleType id="walkType">
            <xs:restriction base="xs:string">
                <xs:enumeration id="walkTypeIntentional" value="intentional" />
                <xs:enumeration id="walkTypeUnintentional" value="unintentional" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="ball-location" use="optional" type="gridType" />
    <xs:attribute name="ball-location-horizontal" use="optional" type="QCodeType">
        <xs:annotation>
            <xs:documentation>Where the pitch was located horizontally. SportsML vocab uri: http://cv.iptc.org/newscodes/spbblballlocationhorizontal/</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ball-location-vertical" use="optional" type="QCodeType">
        <xs:annotation>
            <xs:documentation>Where the pitch was located vertically. SportsML vocab uri: http://cv.iptc.org/newscodes/spbblballlocationvertical/</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="pitch-type" use="optional" type="QCodeType" />
    <xs:attribute name="pitch-velocity" use="optional" type="xs:decimal" />
    <xs:attribute name="pitch-units" use="optional">
        <xs:simpleType id="pitchUnits">
            <xs:restriction base="xs:string">
                <xs:enumeration id="pitchUnitsKph" value="kph" />
                <xs:enumeration id="pitchUnitsMph" value="mph" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="strike-type" use="optional">
        <xs:simpleType id="strikeType">
            <xs:restriction base="xs:string">
                <xs:enumeration id="strikeTypeCalled" value="called" />
                <xs:enumeration id="strikeTypeSwinging" value="swinging" />
                <xs:enumeration id="strikeTypeFoul" value="foul" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="umpire-call" use="optional">
        <xs:annotation>
            <xs:documentation>The net result of the pitch.</xs:documentation>
        </xs:annotation>
        <xs:simpleType id="umpireCall">
            <xs:restriction base="xs:string">
                <xs:enumeration id="umpireCallBall" value="ball" />
                <xs:enumeration id="umpireCallStrike" value="strike" />
                <xs:enumeration id="umpireCallIn-play" value="in-play" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
</xs:attributeGroup>
Collapse Child Attributes:
Name Type Default Value Use
at-bat-number nsA:at-bat-number Optional
balls nsA:balls Optional
batter-advance nsA:batter-advance Optional
batter-side nsA:batter-side Optional
earned-runs-scored nsA:earned-runs-scored Optional
error-type nsA:error-type Optional
hit-by-pitch-type nsA:hit-by-pitch-type Optional
hit-location nsA:hit-location Optional
hit-type nsA:hit-type Optional
inning-exiting nsA:inning-exiting Optional
inning-half nsA:inning-half Optional
inning-value nsA:inning-value Optional
interference-type nsA:interference-type Optional
lead-entering nsA:lead-entering Optional
lead-exiting nsA:lead-exiting Optional
out-type nsA:out-type Optional
outs nsA:outs Optional
outs-recorded nsA:outs-recorded Optional
pitcher-side nsA:pitcher-side Optional
play-scorekeepers-notation nsA:play-scorekeepers-notation Optional
rbi nsA:rbi Optional
runner-on-first nsA:runner-on-first Optional
runner-on-first-advance nsA:runner-on-first-advance Optional
runner-on-first-idref nsA:runner-on-first-idref Optional
runner-on-second nsA:runner-on-second Optional
runner-on-second-advance nsA:runner-on-second-advance Optional
runner-on-second-idref nsA:runner-on-second-idref Optional
runner-on-third nsA:runner-on-third Optional
runner-on-third-advance nsA:runner-on-third-advance Optional
runner-on-third-idref nsA:runner-on-third-idref Optional
runners-on-base nsA:runners-on-base Optional
runs-scored nsA:runs-scored Optional
runs-this-inning-half nsA:runs-this-inning-half Optional
sacrifice-type nsA:sacrifice-type Optional
strikeout-type nsA:strikeout-type Optional
strikes nsA:strikes Optional
trajectory-coordinates nsA:trajectory-coordinates Optional
velocity nsA:velocity Optional
walk-type nsA:walk-type Optional
ball-location nsA:ball-location Optional
ball-location-horizontal nsA:ball-location-horizontal Optional
ball-location-vertical nsA:ball-location-vertical Optional
pitch-type nsA:pitch-type Optional
pitch-velocity nsA:pitch-velocity Optional
pitch-units nsA:pitch-units Optional
strike-type nsA:strike-type Optional
umpire-call nsA:umpire-call Optional