eventStateBaseball

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
at-bat-number xs:string optional
Incremented throughout game on a per-team basis. A perfect game would have at-bat-number go from 1 to 27 for the team that didn't get any hits.
balls xs:string optional
Either 1, 2, 3, or 4.
batter-idref xs:IDREF optional
A pointer to the player element for the batter at the plate.
batter-side bodySideList optional
Which side of the plate the batter was on when taking the pitch.
inning-half restriction of xs:string optional
Either top or bottom.
inning-value xs:string optional
An integer. 1 through 9 for the main innings. 10, 11, 12, etc. for extra innings.
outs xs:string optional
Either 1, 2, or 3.
pitcher-idref xs:IDREF optional
A pointer to the player element for the pitcher standing on the mound.
runner-on-first xs:string optional
Whether or not a player is standing on first base. Either true or false.
runner-on-first-idref xs:IDREF optional
A pointer to the player on first base.
runner-on-second xs:string optional
Whether or not a player is standing on second base. Either true or false.
runner-on-second-idref xs:IDREF optional
A pointer to the player on second base.
runner-on-third xs:string optional
Whether or not a player is standing on third base. Either true or false.
runner-on-third-idref xs:IDREF optional
A pointer to the player on third base.
runs-this-inning-half xs:string optional
An integer.
strikes xs:string optional
Either 1, 2, or 3.

Used By

Source

<xs:attributeGroup name="eventStateBaseball">
  <xs:attribute name="inning-value" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>An integer. 1 through 9 for the main innings. 10, 11, 12, etc. for extra innings.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="inning-half" use="optional">
    <xs:annotation>
      <xs:documentation>Either top or bottom.</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="top"/>
        <xs:enumeration value="bottom"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
  <xs:attribute name="outs" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Either 1, 2, or 3.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="balls" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Either 1, 2, 3, or 4.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="strikes" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Either 1, 2, or 3.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="runner-on-first" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Whether or not a player is standing on first base. Either true or false.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="runner-on-first-idref" type="xs:IDREF" use="optional">
    <xs:annotation>
      <xs:documentation>A pointer to the player on first base.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="runner-on-second" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Whether or not a player is standing on second base. Either true or false.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="runner-on-second-idref" type="xs:IDREF" use="optional">
    <xs:annotation>
      <xs:documentation>A pointer to the player on second base.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="runner-on-third" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Whether or not a player is standing on third base. Either true or false.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="runner-on-third-idref" type="xs:IDREF" use="optional">
    <xs:annotation>
      <xs:documentation>A pointer to the player on third base.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="runs-this-inning-half" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>An integer.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="pitcher-idref" type="xs:IDREF" use="optional">
    <xs:annotation>
      <xs:documentation>A pointer to the player element for the pitcher standing on the mound.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="batter-idref" type="xs:IDREF" use="optional">
    <xs:annotation>
      <xs:documentation>A pointer to the player element for the batter at the plate.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="batter-side" type="bodySideList" use="optional">
    <xs:annotation>
      <xs:documentation>Which side of the plate the batter was on when taking the pitch.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="at-bat-number" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Incremented throughout game on a per-team basis. A perfect game would have at-bat-number go from 1 to 27 for the team that didn't get any hits.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:attributeGroup>