baseballStatsOffensiveComplexType

Stats accumulated while a team is at bat. | Includes hits and runs.

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
alignment-scope restriction of xs:string optional
Indicates that the included statistics apply only to events played either at home or away.
at-bats xs:string optional
Number of at-bats  (Does not include walks or Sacrifice Hits)
at-bats-per-home-run xs:string optional
Home runs per at-bat ratio
at-bats-per-rbi xs:string optional
RBI per at-bat ratio
average xs:string optional
Average number of hits per at-bats
bases-on-balls xs:string optional
Number of times batter was walked
bases-on-balls-intentional xs:string optional
TBD.
bases-on-balls-rate xs:string optional
TBD.
class xs:string optional
An open placeholder for categorization.
competition QCodeType optional
The key of the league or competition for which the player or team generated the stats.
distance xs:string optional
Measure of distance for the generated stat.
distance-maximum xs:string optional
Maximum distance for the generated stat.
distance-minimum xs:string optional
Minimum distance for the generated stat.
double-plays-against xs:string optional
TBD.
doubles xs:string optional
Number of hits off of which batter advances to second base
duration-scope QCodeType optional
Indicates what class of events the included statistics apply. Example: those events that went into overtime. SportsML vocab uri: http://cv.iptc.org/newscodes/spdurationscope/
end-date-time TruncatedDateTimeType optional
The ending date, with optional time, of the event for which the stats are relevant.
event-span xs:nonNegativeInteger optional
Qualifier of "most-recent-events" value for temporal-unit attribute. Specify the number of events eg. 10 for last 10 games.
games-played xs:string optional
Number of games played.
grand-slams xs:string optional
Number of home runs with bases loaded
grounded-into-double-play xs:string optional
Number of ground balls which result in batter and base runner outs
hit-by-pitch xs:string optional
Number of times batter hit by pitch
hit-into-double-play xs:string optional
TBD.
hits xs:string optional
Number of hits
hits-event-winning xs:string optional
TBD.
hits-extra-base xs:string optional
Calculated by adding doubles, triples, and home-runs.
home-runs xs:string optional
Number of hits off of which batter advances to home plate
home-runs-season xs:string optional
TBD.
id xs:ID optional
An XML-specific identifier for the element.
left-in-scoring-position xs:string optional
Number of runners left on second and/or third base
left-on-base xs:string optional
Number of runners left on base
location-key QCodeType optional
The key of the site,venue or location where the stats were generated.
measurement-units xs:string optional
The type of unit used to measure distance, speed, etc. Could be mph, kph, metres, yards, etc.
moved-up xs:string optional
Number of times runner advances to another base
on-base-percentage xs:string optional
Calculated as follows: (hits + bases-on-balls + hit-by-pitch) / (at-bats + bases-on-balls + hit-by-pitch + sac-flies)
on-base-plus-slugging xs:string optional
Calculated by adding on-base-percentage to slugging-percentage.
opponent-type QCodeType optional
Whether the opponent was a player, team, etc.
opponent-value QCodeType optional
The key of the player, team, division, conference, league or other unit which provide the opposition relevant to the stat.
outs-fly xs:string optional
TBD.
outs-ground xs:string optional
TBD.
period-end-date-time TruncatedDateTimeType optional
The ending date, with optional time, of the period for which the stats are relevant.
period-start-date-time TruncatedDateTimeType optional
The starting date, with optional time, of the period for which the stats are relevant.
period-type QCodeType optional
For certain types of periods: overtime, declared (cricket), etc.
period-value xs:string optional
Used for tracking stats and events by period.
pick-offs-against xs:string optional
TBD.
plate-appearances xs:string optional
Calculated by adding at-bats, bases-on-balls, hit-by-pitch, sac-flies, sac-bunts, and defensive-interfance-reaches.
plate-appearances-per-home-run xs:string optional
Plate appearances per home run ratio
plate-appearances-per-rbi xs:string optional
Plate appearances per at-bat ratio
position xs:string optional
Indicates that the included statistics apply only to while played at a particular position.
rbi xs:string optional
Number of runs batted in
reached-base-defensive-interference xs:string optional
The number of times the player reached a base due to interference by the defense.
reached-base-error xs:string optional
TBD.
reached-base-fielder-choice xs:string optional
TBD.
record-making-scope QCodeType optional
Indicates that the included statistics apply only to values that set a record, such as a team-high, or an individual-low.
runs-scored xs:string optional
Number of runs scored
sac-bunts xs:string optional
Number of bunts resulting in batter out which advance base runner(s)
sac-flies xs:string optional
Number of hits resulting in batter out which advance base runner(s)
sacrifices xs:string optional
TBD.
scope-value QCodeType optional
A generic scope indicator. Use only if none of the other coverage attributes are suitable.
scoping-label xs:string optional
A textual description for the scope.
singles xs:string optional
Number of hits off of which batter advances to first base
situation QCodeType optional
Final or current score of the team or player.
slugging-percentage xs:string optional
Total bases divided by at-bats.
start-date-time TruncatedDateTimeType optional
The starting date, with optional time, of the event for which the stats are relevant.
stats-coverage QCodeType optional
A relative indication of how many statistics are included in the item. SportsML vocab uri: http://cv.iptc.org/newscodes/spstatscoverage/
stolen-bases xs:string optional
Number of successfully stolen bases.
stolen-bases-average xs:string optional
Success rate for stealing bases.
stolen-bases-caught xs:string optional
Number of times the runner was caught while trying to steal bases.
streak-hits xs:string optional
TBD.
strikeout-rate xs:string optional
TBD.
strikeouts-against xs:string optional
Number of times batter struck out
strikeouts-looking xs:string optional
TBD.
style xs:string optional
An open placeholder for reference by an external stylesheet.
surface-type QCodeType optional
The type of surface (eg. clay, artificial grass, etc.) upon which the stats were generated.
team QCodeType optional
The key of the team for which the player or team generated the stats.
team-coverage restriction of xs:string optional
Indicates whether the item contains information about one team, or
many teams.
temporal-unit-type QCodeType optional
The unit of performance to which the stats apply eg. single-event, season, career.
temporal-unit-value QCodeType optional
The key of performance unit to which the stats apply.
total-bases xs:string optional
Calculated by hits + doubles + (triples times 2) + (home-runs times 3).
triple-plays-against xs:string optional
TBD.
triples xs:string optional
Number of hits off of which batter advances to third base
unit-type QCodeType optional
The type, other than team or league/competition, of the competitive unit for which the player or team generated the stats.
unit-value QCodeType optional
The key, other than team or league/competition, of the competitive unit for which the player or team generated the stats.
venue-type QCodeType optional
The type of event (eg. indoor, outdoor, etc.) in which the stats were generated.
weather-type QCodeType optional
A code for the weather situation in which the stats were generated. SportsML weather codes recommended.

Used By

Source

<xs:complexType name="baseballStatsOffensiveComplexType">
  <xs:annotation>
    <xs:documentation>Stats accumulated while a team is at bat. | Includes hits and runs.</xs:documentation>
  </xs:annotation>
  <xs:attributeGroup ref="commonAttributes"/>
  <xs:attributeGroup ref="coverageAttributes"/>
  <xs:attribute name="average" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Average number of hits per at-bats</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="runs-scored" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of runs scored</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="at-bats" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of at-bats (Does not include walks or Sacrifice Hits)</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="hits" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of hits</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="rbi" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of runs batted in</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="total-bases" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Calculated by hits + doubles + (triples times 2) + (home-runs times 3).</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="slugging-percentage" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Total bases divided by at-bats.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="bases-on-balls" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of times batter was walked</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="bases-on-balls-rate" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="bases-on-balls-intentional" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="strikeouts-against" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of times batter struck out</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="strikeouts-looking" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="outs-ground" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="outs-fly" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="left-on-base" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of runners left on base</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="left-in-scoring-position" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of runners left on second and/or third base</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="singles" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of hits off of which batter advances to first base</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="doubles" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of hits off of which batter advances to second base</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="triples" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of hits off of which batter advances to third base</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="home-runs" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of hits off of which batter advances to home plate</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="home-runs-season" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="grand-slams" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of home runs with bases loaded</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="streak-hits" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="hits-event-winning" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="at-bats-per-rbi" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>RBI per at-bat ratio</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="plate-appearances-per-rbi" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Plate appearances per at-bat ratio</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="at-bats-per-home-run" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Home runs per at-bat ratio</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="plate-appearances-per-home-run" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Plate appearances per home run ratio</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="sac-flies" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of hits resulting in batter out which advance base runner(s)</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="sac-bunts" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of bunts resulting in batter out which advance base runner(s)</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="sacrifices" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="grounded-into-double-play" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of ground balls which result in batter and base runner outs</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="hit-into-double-play" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="moved-up" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of times runner advances to another base</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="on-base-percentage" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Calculated as follows: (hits + bases-on-balls + hit-by-pitch) / (at-bats + bases-on-balls + hit-by-pitch + sac-flies)</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="stolen-bases" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of successfully stolen bases.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="stolen-bases-caught" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of times the runner was caught while trying to steal bases.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="stolen-bases-average" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Success rate for stealing bases.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="hit-by-pitch" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of times batter hit by pitch</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="reached-base-defensive-interference" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>The number of times the player reached a base due to interference by the defense.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="reached-base-error" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="reached-base-fielder-choice" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="on-base-plus-slugging" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Calculated by adding on-base-percentage to slugging-percentage.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="plate-appearances" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Calculated by adding at-bats, bases-on-balls, hit-by-pitch, sac-flies, sac-bunts, and defensive-interfance-reaches.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="hits-extra-base" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Calculated by adding doubles, triples, and home-runs.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="strikeout-rate" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="double-plays-against" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="triple-plays-against" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="pick-offs-against" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="games-played" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of games played.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>