baseballActionAttributes

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
at-bat-number xs:integer optional
ball-location gridType optional
ball-location-horizontal QCodeType optional
Where the pitch was located horizontally. SportsML vocab uri: http://cv.iptc.org/newscodes/spbblballlocationhorizontal/
ball-location-vertical QCodeType optional
Where the pitch was located vertically. SportsML vocab uri: http://cv.iptc.org/newscodes/spbblballlocationvertical/
balls xs:integer optional
batter-advance xs:integer optional
batter-side bodySideList optional
earned-runs-scored xs:integer optional
error-type QCodeType optional
hit-by-pitch-type restriction of xs:string optional
hit-location QCodeType optional
hit-type QCodeType optional
inning-exiting QCodeType optional
inning-half restriction of xs:string optional
inning-value xs:integer optional
interference-type QCodeType optional
lead-entering QCodeType optional
lead-exiting QCodeType optional
out-type QCodeType optional
How the batter got out. SportsML vocab uri: http://cv.iptc.org/newscodes/spbblout/
outs xs:integer optional
outs-recorded xs:integer optional
pitch-type QCodeType optional
pitch-units restriction of xs:string optional
pitch-velocity xs:decimal optional
pitcher-side bodySideList optional
play-scorekeepers-notation xs:string optional
rbi xs:integer optional
runner-on-first xs:boolean optional
runner-on-first-advance QCodeType optional
runner-on-first-idref QCodeType optional
runner-on-second xs:boolean optional
runner-on-second-advance QCodeType optional
runner-on-second-idref QCodeType optional
runner-on-third xs:boolean optional
runner-on-third-advance QCodeType optional
runner-on-third-idref QCodeType optional
runners-on-base xs:boolean optional
runs-scored xs:integer optional
runs-this-inning-half xs:integer optional
sacrifice-type QCodeType optional
strike-type restriction of xs:string optional
strikeout-type restriction of xs:string optional
strikes xs:integer optional
trajectory-coordinates QCodeType optional
The path of the ball. SportsML vocab uri: http://cv.iptc.org/newscodes/spbbltrajectory/
umpire-call restriction of xs:string optional
The net result of the pitch.
velocity QCodeType optional
walk-type restriction of xs:string optional

Used By

Attribute Group actionAttributes

Source

<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>