Definition Type: AttributeGroup
Name: eventStateBaseball
Namespace: http://www.sportsml.org/schema/
Containing Schema: sportsml-specific-baseball.xsd
Collapse XSD Schema Diagram:
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_xsdXSD Diagram of eventStateBaseball in schema sportsml-specific-baseball_xsd (SportsML)
Collapse XSD Schema Code:
<attributeGroup name="eventStateBaseball">
    <attribute name="inning-value" type="string" use="optional">
        <annotation>
            <documentation>An integer. 1 through 9 for the main innings. 10, 11, 12, etc. for extra innings.</documentation>
        </annotation>
    </attribute>
    <attribute name="inning-half" use="optional">
        <annotation>
            <documentation>Either top or bottom.</documentation>
        </annotation>
        <simpleType>
            <restriction base="string">
                <enumeration value="top" />
                <enumeration value="bottom" />
            </restriction>
        </simpleType>
    </attribute>
    <attribute name="outs" type="string" use="optional">
        <annotation>
            <documentation>Either 1, 2, or 3.</documentation>
        </annotation>
    </attribute>
    <attribute name="balls" type="string" use="optional">
        <annotation>
            <documentation>Either 1, 2, 3, or 4.</documentation>
        </annotation>
    </attribute>
    <attribute name="strikes" type="string" use="optional">
        <annotation>
            <documentation>Either 1, 2, or 3.</documentation>
        </annotation>
    </attribute>
    <attribute name="runner-on-first" type="string" use="optional">
        <annotation>
            <documentation>Whether or not a player is standing on first base. Either true or false.</documentation>
        </annotation>
    </attribute>
    <attribute name="runner-on-first-idref" type="IDREF" use="optional">
        <annotation>
            <documentation>A pointer to the player on first base.</documentation>
        </annotation>
    </attribute>
    <attribute name="runner-on-second" type="string" use="optional">
        <annotation>
            <documentation>Whether or not a player is standing on second base. Either true or false.</documentation>
        </annotation>
    </attribute>
    <attribute name="runner-on-second-idref" type="IDREF" use="optional">
        <annotation>
            <documentation>A pointer to the player on second base.</documentation>
        </annotation>
    </attribute>
    <attribute name="runner-on-third" type="string" use="optional">
        <annotation>
            <documentation>Whether or not a player is standing on third base. Either true or false.</documentation>
        </annotation>
    </attribute>
    <attribute name="runner-on-third-idref" type="IDREF" use="optional">
        <annotation>
            <documentation>A pointer to the player on third base.</documentation>
        </annotation>
    </attribute>
    <attribute name="runs-this-inning-half" type="string" use="optional">
        <annotation>
            <documentation>An integer.</documentation>
        </annotation>
    </attribute>
    <attribute name="pitcher-idref" type="IDREF" use="optional">
        <annotation>
            <documentation>A pointer to the player element for the pitcher standing on the mound.</documentation>
        </annotation>
    </attribute>
    <attribute name="batter-idref" type="IDREF" use="optional">
        <annotation>
            <documentation>A pointer to the player element for the batter at the plate.</documentation>
        </annotation>
    </attribute>
    <attribute name="batter-side" use="optional">
        <annotation>
            <documentation>Which side of the plate the batter was on when taking the pitch.</documentation>
        </annotation>
        <simpleType>
            <restriction base="string">
                <enumeration value="left" />
                <enumeration value="right" />
            </restriction>
        </simpleType>
    </attribute>
</attributeGroup>
Collapse Child Attributes:
Name Type Default Value Use
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