baseballEventMetadataComplexType

Metadata about the event itself. | Includes what state the game is in.

Complex Type Information

Model

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.
class xs:string optional
An open placeholder for categorization.
id xs:ID optional
An XML-specific identifier for the element.
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.
style xs:string optional
An open placeholder for reference by an external stylesheet.

Used By

Source

<xs:complexType name="baseballEventMetadataComplexType">
  <xs:annotation>
    <xs:documentation>Metadata about the event itself. | Includes what state the game is in.</xs:documentation>
  </xs:annotation>
  <xs:attributeGroup ref="commonAttributes"/>
  <xs:attributeGroup ref="eventStateBaseball"/>
</xs:complexType>