Showing:

Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by
Included schema sportsml-specific-baseball.xsd
Namespace http://iptc.org/std/nar/2006-10-01/
Properties
attribute form default: unqualified
element form default: qualified
Element baseBaseballStatsComplexType / stats-baseball-offensive
Namespace http://iptc.org/std/nar/2006-10-01/
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml_xsd.tmp#coverageAttributes sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_average sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_runs-scored sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_at-bats sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hits sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_rbi sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_total-bases sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_slugging-percentage sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_bases-on-balls sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_bases-on-balls-rate sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_bases-on-balls-intentional sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_strikeouts-against sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_strikeouts-looking sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_outs-ground sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_outs-fly sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_left-on-base sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_left-in-scoring-position sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_singles sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_doubles sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_triples sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_home-runs sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_home-runs-season sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_grand-slams sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_streak-hits sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hits-event-winning sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_at-bats-per-rbi sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_plate-appearances-per-rbi sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_at-bats-per-home-run sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_plate-appearances-per-home-run sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_sac-flies sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_sac-bunts sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_sacrifices sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_grounded-into-double-play sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hit-into-double-play sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_moved-up sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_on-base-percentage sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_stolen-bases sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_stolen-bases-caught sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_stolen-bases-average sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hit-by-pitch sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_reached-base-defensive-interference sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_reached-base-error sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_reached-base-fielder-choice sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_on-base-plus-slugging sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_plate-appearances sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hits-extra-base sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_strikeout-rate sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_double-plays-against sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_triple-plays-against sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_pick-offs-against sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_games-played sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType
Type baseballStatsOffensiveComplexType
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Attributes
QName Type Fixed Default Use 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.
Source
<xs:element name="stats-baseball-offensive" type="baseballStatsOffensiveComplexType" minOccurs="0" maxOccurs="unbounded"/>
Element baseBaseballStatsComplexType / stats-baseball-pitching
Namespace http://iptc.org/std/nar/2006-10-01/
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml_xsd.tmp#coverageAttributes sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_runs-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_home-runs-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_sacrifice-bunts-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_sacrifice-hits-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_interferences sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_innings-pitched sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_innings-pitched-average sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_hits-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_earned-runs sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_unearned-runs sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_bases-on-balls-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_bases-on-balls-intentional-pitcher sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_strikeouts sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_strikeout-to-bb-ratio sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_number-of-pitches sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_number-of-strikes sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_era sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_whip sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_inherited-runners-scored sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_pick-offs sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_errors-hit-with-pitch sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_errors-wild-pitch sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_balks sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_wins sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_losses sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_saves sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_holds sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_saves-blown sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_saves-tough sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_saves-opportunities sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_relief-points sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_shutouts sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_games-complete sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_games-finished sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_games-pitched sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_winning-percentage sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_event-credit sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_save-credit sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-average-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-at-bats-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-total-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-total-bases-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-slugging-percentage-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-on-base-percentage-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-doubles-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-triples-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-home-runs-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_inherited-runners-total sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_sacrifice-flies-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_shutouts-combined sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType
Type baseballStatsPitchingComplexType
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Attributes
QName Type Fixed Default Use Annotation
alignment-scope restriction of xs:string optional
Indicates that the included statistics apply only to events played either at home or away.
balks xs:string optional
Number of balks
bases-on-balls-allowed xs:string optional
Number of earned walks allowed
bases-on-balls-intentional-pitcher xs:string optional
Number of batters intentionally walked
batters-at-bats-against xs:string optional
Number of batters faced who were credited with at-bats.
batters-average-against xs:string optional
TBD.
batters-doubles-against xs:string optional
TBD.
batters-home-runs-against xs:string optional
TBD.
batters-on-base-percentage-against xs:string optional
TBD.
batters-slugging-percentage-against xs:string optional
TBD.
batters-total-against xs:string optional
Total number of batters faced.
batters-total-bases-against xs:string optional
TBD.
batters-triples-against 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.
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/
earned-runs xs:string optional
Number of earned runs against
end-date-time TruncatedDateTimeType optional
The ending date, with optional time, of the event for which the stats are relevant.
era xs:string optional
Earned run average: Number of earned runs divided by number of innings pitched multiplied by nine
errors-hit-with-pitch xs:string optional
Number of times pitcher hits batter with pitch
errors-wild-pitch xs:string optional
Number of wild pitches thrown
event-credit restriction of xs:string optional
Whether a pitcher has received credit for winning or losing the game. TBD. Controlled Vocabulary. (win|loss|save|blown-save|win-blown-save|loss-blown-save|hold-win|hold-loss)
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-complete xs:string optional
Number of complete games pitched
games-finished xs:string optional
Number of games pitched to the end
games-pitched xs:string optional
TBD.
hits-allowed xs:string optional
Number of hits against
holds xs:string optional
Number of games relief pitcher has held the lead
home-runs-allowed xs:string optional
Number of home runs against
id xs:ID optional
An XML-specific identifier for the element.
inherited-runners-scored xs:string optional
Number of runners which a previous pitcher allowed on base which scored
inherited-runners-total xs:string optional
TBD.
innings-pitched xs:string optional
Number of innings pitched
innings-pitched-average xs:string optional
TBD.
interferences xs:string optional
Number of interference or obstruction calls
location-key QCodeType optional
The key of the site,venue or location where the stats were generated.
losses xs:string optional
Number of games pitcher has lost
measurement-units xs:string optional
The type of unit used to measure distance, speed, etc. Could be mph, kph, metres, yards, etc.
number-of-pitches xs:string optional
Number of pitches thrown
number-of-strikes xs:string optional
TBD.
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.
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 xs:string optional
The number of times the pitcher caught a player trying to steal, before making the pitch.
position xs:string optional
Indicates that the included statistics apply only to while played at a particular position.
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.
relief-points xs:string optional
Formula for rating relief performances. 4 points for a tough save; 3 points for a save; 2 for a relief win; minus 2 for a relief loss and blown save.
runs-allowed xs:string optional
Number of runs against
sacrifice-bunts-allowed xs:string optional
Number of sacrifice bunts against
sacrifice-flies-allowed xs:string optional
TBD.
sacrifice-hits-allowed xs:string optional
Number of sacrifice hits against
save-credit restriction of xs:string optional
Whether a pitcher has received credit for winning or losing the game. TBD. Controlled Vocabulary. (win|loss|save|blown-save|win-blown-save|loss-blown-save|hold-win|hold-loss)
saves xs:string optional
Number of games pitcher has saved
saves-blown xs:string optional
TBD.
saves-opportunities xs:string optional
TBD.
saves-tough 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.
shutouts xs:string optional
Number of games pitched in which opposing team did not score
shutouts-combined xs:string optional
TBD.
situation QCodeType optional
Final or current score of the team or player.
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/
strikeout-to-bb-ratio xs:string optional
Strikeout to walks ratio
strikeouts xs:string optional
Number of earned strikeouts
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.
unearned-runs xs:string optional
Number of unearned runs against
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.
whip xs:string optional
TBD.
winning-percentage xs:string optional
Calculated by wins divided by (wins + losses).
wins xs:string optional
Number of games pitcher has won
Source
<xs:element name="stats-baseball-pitching" type="baseballStatsPitchingComplexType" minOccurs="0" maxOccurs="unbounded"/>
Element baseBaseballStatsComplexType / stats-baseball-defensive
Namespace http://iptc.org/std/nar/2006-10-01/
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml_xsd.tmp#coverageAttributes sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_double-plays sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_triple-plays sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_putouts sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_assists sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_errors sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_fielding-chances sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_fielding-percentage sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_defensive-average sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_errors-passed-ball sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_errors-catchers-interference sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_stolen-bases-against sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_stolen-bases-caught-defense sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_stolen-bases-average-defense sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_innings-played sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType_games-played-position sportsml-specific-baseball_xsd.tmp#baseballStatsDefensiveComplexType
Type baseballStatsDefensiveComplexType
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Attributes
QName Type Fixed Default Use Annotation
alignment-scope restriction of xs:string optional
Indicates that the included statistics apply only to events played either at home or away.
assists xs:string optional
Number of plays in which a fielder throws a ball to another fielder for the out.
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.
defensive-average xs:string optional
Rate a fielder turns a bill hit to their area into an out.
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 xs:string optional
Number of times two runners thrown out at the 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.
errors xs:string optional
Number of plays in which a fielder committed an error, such as dropping a ball.
errors-catchers-interference xs:string optional
Number of times a catcher has improperly interfered with play.
errors-passed-ball xs:string optional
Number of times a catcher is faulted with letting a pitched ball go past.
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.
fielding-chances xs:string optional
TBD.
fielding-percentage xs:string optional
A measure of fielding success. Calculated as follows: (putouts + assists) / (putouts + assists + errors).
games-played-position xs:string optional
Number of games played at the named position.
id xs:ID optional
An XML-specific identifier for the element.
innings-played xs:string optional
Number of innings played at the named position.
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.
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.
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.
position xs:string optional
Indicates that the included statistics apply only to while played at a particular position.
putouts xs:string optional
Number of times a fielder caught a fly ball for an out.
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.
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.
situation QCodeType optional
Final or current score of the team or player.
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-against xs:string optional
Number of bases successfully stolen while this player was on the field.
stolen-bases-average-defense xs:string optional
Success rate for stealing bases while this player was on the field.
stolen-bases-caught-defense xs:string optional
Number of times a runner was caught while trying to steal bases while this player was on the field.
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.
triple-plays xs:string optional
Number of times three runners thrown out at the 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.
Source
<xs:element name="stats-baseball-defensive" type="baseballStatsDefensiveComplexType" minOccurs="0" maxOccurs="unbounded"/>
Complex Type baseballEventMetadataComplexType
Namespace http://iptc.org/std/nar/2006-10-01/
Annotations
Metadata about the event itself. | Includes what state the game is in.
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml-specific-baseball_xsd.tmp#eventStateBaseball
Used by
Attributes
QName Type Fixed Default Use 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.
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>
Complex Type baseballTeamMetadataComplexType
Namespace http://iptc.org/std/nar/2006-10-01/
Annotations
Metadata about the team. | Specific to the sport of baseball.
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml-specific-baseball_xsd.tmp#baseballTeamMetadataComplexType_probable-starting-pitcher-idref
Used by
Attributes
QName Type Fixed Default Use Annotation
class xs:string optional
An open placeholder for categorization.
id xs:ID optional
An XML-specific identifier for the element.
probable-starting-pitcher-idref xs:IDREF optional
ID of the pitcher who will probably start the game.
style xs:string optional
An open placeholder for reference by an external stylesheet.
Source
<xs:complexType name="baseballTeamMetadataComplexType">
  <xs:annotation>
    <xs:documentation>Metadata about the team. | Specific to the sport of baseball.</xs:documentation>
  </xs:annotation>
  <xs:attributeGroup ref="commonAttributes"/>
  <xs:attribute name="probable-starting-pitcher-idref" type="xs:IDREF" use="optional">
    <xs:annotation>
      <xs:documentation>ID of the pitcher who will probably start the game.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>
Complex Type baseballTeamStatsComplexType
Namespace http://iptc.org/std/nar/2006-10-01/
Annotations
Specific statistics for baseball. | Includes offensive, pitching, and defensive stats.
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml_xsd.tmp#coverageAttributes sportsml-specific-baseball_xsd.tmp#baseBaseballStatsComplexType_stats-baseball-offensive sportsml-specific-baseball_xsd.tmp#baseBaseballStatsComplexType_stats-baseball-pitching sportsml-specific-baseball_xsd.tmp#baseBaseballStatsComplexType_stats-baseball-defensive sportsml-specific-baseball_xsd.tmp#baseBaseballStatsComplexType
Type extension of baseBaseballStatsComplexType
Type hierarchy
Used by
Model stats-baseball-offensive* , stats-baseball-pitching* , stats-baseball-defensive*
Children stats-baseball-defensive, stats-baseball-offensive, stats-baseball-pitching
Attributes
QName Type Fixed Default Use Annotation
alignment-scope restriction of xs:string optional
Indicates that the included statistics apply only to events played either at home or away.
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.
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.
id xs:ID optional
An XML-specific identifier for the element.
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.
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.
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.
position xs:string optional
Indicates that the included statistics apply only to while played at a particular position.
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.
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.
situation QCodeType optional
Final or current score of the team or player.
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/
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.
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.
Source
<xs:complexType name="baseballTeamStatsComplexType">
  <xs:annotation>
    <xs:documentation>Specific statistics for baseball. | Includes offensive, pitching, and defensive stats.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="baseBaseballStatsComplexType"/>
  </xs:complexContent>
</xs:complexType>
Complex Type baseBaseballStatsComplexType
Namespace http://iptc.org/std/nar/2006-10-01/
Annotations
Specific statistics for baseball. | Includes offensive, pitching, and defensive stats.
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml_xsd.tmp#coverageAttributes sportsml-specific-baseball_xsd.tmp#baseBaseballStatsComplexType_stats-baseball-offensive sportsml-specific-baseball_xsd.tmp#baseBaseballStatsComplexType_stats-baseball-pitching sportsml-specific-baseball_xsd.tmp#baseBaseballStatsComplexType_stats-baseball-defensive
Used by
Model stats-baseball-offensive* , stats-baseball-pitching* , stats-baseball-defensive*
Children stats-baseball-defensive, stats-baseball-offensive, stats-baseball-pitching
Attributes
QName Type Fixed Default Use Annotation
alignment-scope restriction of xs:string optional
Indicates that the included statistics apply only to events played either at home or away.
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.
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.
id xs:ID optional
An XML-specific identifier for the element.
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.
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.
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.
position xs:string optional
Indicates that the included statistics apply only to while played at a particular position.
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.
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.
situation QCodeType optional
Final or current score of the team or player.
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/
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.
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.
Source
<xs:complexType name="baseBaseballStatsComplexType">
  <xs:annotation>
    <xs:documentation>Specific statistics for baseball. | Includes offensive, pitching, and defensive stats.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="stats-baseball-offensive" type="baseballStatsOffensiveComplexType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="stats-baseball-pitching" type="baseballStatsPitchingComplexType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="stats-baseball-defensive" type="baseballStatsDefensiveComplexType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attributeGroup ref="commonAttributes"/>
  <xs:attributeGroup ref="coverageAttributes"/>
</xs:complexType>
Complex Type baseballStatsOffensiveComplexType
Namespace http://iptc.org/std/nar/2006-10-01/
Annotations
Stats accumulated while a team is at bat. | Includes hits and runs.
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml_xsd.tmp#coverageAttributes sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_average sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_runs-scored sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_at-bats sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hits sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_rbi sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_total-bases sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_slugging-percentage sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_bases-on-balls sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_bases-on-balls-rate sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_bases-on-balls-intentional sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_strikeouts-against sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_strikeouts-looking sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_outs-ground sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_outs-fly sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_left-on-base sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_left-in-scoring-position sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_singles sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_doubles sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_triples sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_home-runs sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_home-runs-season sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_grand-slams sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_streak-hits sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hits-event-winning sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_at-bats-per-rbi sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_plate-appearances-per-rbi sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_at-bats-per-home-run sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_plate-appearances-per-home-run sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_sac-flies sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_sac-bunts sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_sacrifices sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_grounded-into-double-play sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hit-into-double-play sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_moved-up sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_on-base-percentage sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_stolen-bases sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_stolen-bases-caught sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_stolen-bases-average sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hit-by-pitch sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_reached-base-defensive-interference sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_reached-base-error sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_reached-base-fielder-choice sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_on-base-plus-slugging sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_plate-appearances sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_hits-extra-base sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_strikeout-rate sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_double-plays-against sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_triple-plays-against sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_pick-offs-against sportsml-specific-baseball_xsd.tmp#baseballStatsOffensiveComplexType_games-played
Used by
Attributes
QName Type Fixed Default Use 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.
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>
Complex Type baseballStatsPitchingComplexType
Namespace http://iptc.org/std/nar/2006-10-01/
Annotations
Stats accumulated while a team is pitching. | Includes strikeouts and shutouts.
Diagram
Diagram sportsml_xsd.tmp#commonAttributes sportsml_xsd.tmp#coverageAttributes sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_runs-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_home-runs-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_sacrifice-bunts-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_sacrifice-hits-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_interferences sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_innings-pitched sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_innings-pitched-average sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_hits-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_earned-runs sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_unearned-runs sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_bases-on-balls-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_bases-on-balls-intentional-pitcher sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_strikeouts sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_strikeout-to-bb-ratio sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_number-of-pitches sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_number-of-strikes sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_era sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_whip sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_inherited-runners-scored sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_pick-offs sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_errors-hit-with-pitch sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_errors-wild-pitch sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_balks sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_wins sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_losses sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_saves sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_holds sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_saves-blown sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_saves-tough sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_saves-opportunities sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_relief-points sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_shutouts sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_games-complete sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_games-finished sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_games-pitched sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_winning-percentage sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_event-credit sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_save-credit sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-average-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-at-bats-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-total-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-total-bases-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-slugging-percentage-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-on-base-percentage-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-doubles-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-triples-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_batters-home-runs-against sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_inherited-runners-total sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_sacrifice-flies-allowed sportsml-specific-baseball_xsd.tmp#baseballStatsPitchingComplexType_shutouts-combined
Used by
Attributes
QName Type Fixed Default Use Annotation
alignment-scope restriction of xs:string optional
Indicates that the included statistics apply only to events played either at home or away.
balks xs:string optional
Number of balks
bases-on-balls-allowed xs:string optional
Number of earned walks allowed
bases-on-balls-intentional-pitcher xs:string optional
Number of batters intentionally walked
batters-at-bats-against xs:string optional
Number of batters faced who were credited with at-bats.
batters-average-against xs:string optional
TBD.
batters-doubles-against xs:string optional
TBD.
batters-home-runs-against xs:string optional
TBD.
batters-on-base-percentage-against xs:string optional
TBD.
batters-slugging-percentage-against xs:string optional
TBD.
batters-total-against xs:string optional
Total number of batters faced.
batters-total-bases-against xs:string optional
TBD.
batters-triples-against 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.
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/
earned-runs xs:string optional
Number of earned runs against
end-date-time TruncatedDateTimeType optional
The ending date, with optional time, of the event for which the stats are relevant.
era xs:string optional
Earned run average: Number of earned runs divided by number of innings pitched multiplied by nine
errors-hit-with-pitch xs:string optional
Number of times pitcher hits batter with pitch
errors-wild-pitch xs:string optional
Number of wild pitches thrown
event-credit restriction of xs:string optional
Whether a pitcher has received credit for winning or losing the game. TBD. Controlled Vocabulary. (win|loss|save|blown-save|win-blown-save|loss-blown-save|hold-win|hold-loss)
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-complete xs:string optional
Number of complete games pitched
games-finished xs:string optional
Number of games pitched to the end
games-pitched xs:string optional
TBD.
hits-allowed xs:string optional
Number of hits against
holds xs:string optional
Number of games relief pitcher has held the lead
home-runs-allowed xs:string optional
Number of home runs against
id xs:ID optional
An XML-specific identifier for the element.
inherited-runners-scored xs:string optional
Number of runners which a previous pitcher allowed on base which scored
inherited-runners-total xs:string optional
TBD.
innings-pitched xs:string optional
Number of innings pitched
innings-pitched-average xs:string optional
TBD.
interferences xs:string optional
Number of interference or obstruction calls
location-key QCodeType optional
The key of the site,venue or location where the stats were generated.
losses xs:string optional
Number of games pitcher has lost
measurement-units xs:string optional
The type of unit used to measure distance, speed, etc. Could be mph, kph, metres, yards, etc.
number-of-pitches xs:string optional
Number of pitches thrown
number-of-strikes xs:string optional
TBD.
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.
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 xs:string optional
The number of times the pitcher caught a player trying to steal, before making the pitch.
position xs:string optional
Indicates that the included statistics apply only to while played at a particular position.
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.
relief-points xs:string optional
Formula for rating relief performances. 4 points for a tough save; 3 points for a save; 2 for a relief win; minus 2 for a relief loss and blown save.
runs-allowed xs:string optional
Number of runs against
sacrifice-bunts-allowed xs:string optional
Number of sacrifice bunts against
sacrifice-flies-allowed xs:string optional
TBD.
sacrifice-hits-allowed xs:string optional
Number of sacrifice hits against
save-credit restriction of xs:string optional
Whether a pitcher has received credit for winning or losing the game. TBD. Controlled Vocabulary. (win|loss|save|blown-save|win-blown-save|loss-blown-save|hold-win|hold-loss)
saves xs:string optional
Number of games pitcher has saved
saves-blown xs:string optional
TBD.
saves-opportunities xs:string optional
TBD.
saves-tough 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.
shutouts xs:string optional
Number of games pitched in which opposing team did not score
shutouts-combined xs:string optional
TBD.
situation QCodeType optional
Final or current score of the team or player.
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/
strikeout-to-bb-ratio xs:string optional
Strikeout to walks ratio
strikeouts xs:string optional
Number of earned strikeouts
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.
unearned-runs xs:string optional
Number of unearned runs against
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.
whip xs:string optional
TBD.
winning-percentage xs:string optional
Calculated by wins divided by (wins + losses).
wins xs:string optional
Number of games pitcher has won
Source
<xs:complexType name="baseballStatsPitchingComplexType">
  <xs:annotation>
    <xs:documentation>Stats accumulated while a team is pitching. | Includes strikeouts and shutouts.</xs:documentation>
  </xs:annotation>
  <xs:attributeGroup ref="commonAttributes"/>
  <xs:attributeGroup ref="coverageAttributes"/>
  <xs:attribute name="runs-allowed" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of runs against</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="home-runs-allowed" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of home runs against</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="sacrifice-bunts-allowed" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of sacrifice bunts against</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="sacrifice-hits-allowed" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of sacrifice hits against</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="interferences" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of interference or obstruction calls</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="innings-pitched" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of innings pitched</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="innings-pitched-average" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="hits-allowed" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of hits against</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="earned-runs" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of earned runs against</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="unearned-runs" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of unearned runs against</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="bases-on-balls-allowed" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of earned walks allowed</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="bases-on-balls-intentional-pitcher" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of batters intentionally walked</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="strikeouts" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of earned strikeouts</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="strikeout-to-bb-ratio" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Strikeout to walks ratio</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="number-of-pitches" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of pitches thrown</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="number-of-strikes" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="era" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Earned run average: Number of earned runs divided by number of innings pitched multiplied by nine</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="whip" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="inherited-runners-scored" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of runners which a previous pitcher allowed on base which scored</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="pick-offs" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>The number of times the pitcher caught a player trying to steal, before making the pitch.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="errors-hit-with-pitch" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of times pitcher hits batter with pitch</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="errors-wild-pitch" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of wild pitches thrown</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="balks" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of balks</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="wins" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of games pitcher has won</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="losses" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of games pitcher has lost</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="saves" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of games pitcher has saved</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="holds" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Number of games relief pitcher has held the lead</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="saves-blown" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="saves-tough" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="saves-opportunities" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>TBD.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="relief-points" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>Formula for rating relief performances. 4 points for a tough save; 3 points for a save; 2 for a relief win; minus 2 for a relief loss and blown save.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name=