baseGenericEntityStatsComplexType

Statistics that apply to a team as a whole or a player. | Not all stats are used in every sport.

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
adjusted-score-against xs:string optional
The final score against as adjusted by some authority. Usually as
a result of some dispute or transgression that must be settled post-event and
rendered in the score. Will differ from the regular score reflecting the number
of actual goals scored in play. Should be tested for before displaying actual
score.
adjusted-score-for xs:string optional
The final score as adjusted by some authority. Usually as a result
of some dispute or transgression that must be settled post-event and rendered in
the score. Will differ from the regular score reflecting the number of actual
goals scored in play. Should be tested for before displaying actual
score.
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-outcome QCodeType optional
Whether the competitor won, lost, or tied. SportsML vocab uri: http://cv.iptc.org/newscodes/speventoutcome/
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.
event-standing-points xs:string optional
How many points were earned as a result of the outcome of this particular event.
event-standing-points-against xs:string optional
How many points were deducted as a result of the outcome of this particular event. This occurs, for example, in the German Handball leagues.
events-played xs:nonNegativeInteger optional
The number of sports-events in which this team or player has already participated.
events-remaining xs:string optional
Number of sports-events the player has yet to participate in.
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.
points xs:nonNegativeInteger optional
Points accumulated by this associate. For example, points earned by a NASCAR owner.
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.
result-effect QCodeType optional
Describes the effect that the result of the event or rank changing
has had on the team. Example: Whether or not a team has qualified for the
playoffs, or has been promoted or demoted to a different division. SportsML vocab uri: http://cv.iptc.org/newscodes/spresulteffect/
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.
score xs:string optional
Final or current score of the team or player.
score-attempts xs:string optional
Final or current number of attempts to score by a team or player. Example: in ice hockey, would represent total shots on goal.
score-attempts-on-goal xs:string optional
A subset of score-attempts. Only counts those attempts that were on-goal.
score-attempts-on-goal-opposing xs:string optional
Final or current number of attempts to score by an opposing team or player that were on-goal.
score-attempts-opposing xs:string optional
Final or current number of attempts to score by an opposing team or player.
score-average xs:string optional
Average per-game score for the team or player.
score-behind xs:string optional
The points or time behind the leading score.
score-opposing xs:string optional
Final or current score of the opposing team or player.
score-opposing-average xs:string optional
Average per-game score for the opposing team or player.
score-percentage xs:string optional
Percentage of attempted scores that reached their mark.
score-percentage-opposing xs:string optional
Percentage of attempted scores by opposing team or player that reached their mark.
score-type xs:string optional
Qualifies "score" attribute.
score-units QCodeType optional
Describes how the score and score-opposing is valued. SportsML vocab uri: http://cv.iptc.org/newscodes/spscoreunits/
series-score xs:string optional
Number of events in a series won by team or player.
series-score-opposing xs:string optional
Number of events in a series won by opposing team or player.
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.
time-of-possession xs:string optional
Amount of time the team or player has possession of ball (or similar object like puck).
time-of-possession-average xs:string optional
Amount of time the team or player has possession of ball (or similar object like puck) per game.
time-of-possession-average-opposing xs:string optional
Amount of time the opposing team or player has possession of ball (or similar object like puck) per game.
time-of-possession-percentage xs:string optional
Amount of time the team or player has possession of ball (or similar object like puck) expressed as a percentage of the full time of the match.
time-of-possession-percentage-opposing xs:string optional
Amount of time the opposing team or player has possession of ball (or similar object like puck) expressed as a percentage of the full time of the match.
time-played-total xs:string optional
Value for the amount of time played by the team or player over the course of a particular time-span, such as a season.
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="baseGenericEntityStatsComplexType">
  <xs:annotation>
    <xs:documentation>Statistics that apply to a team as a whole or a player. | Not all stats are used in every sport.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="base3StatsComplexType">
      <xs:sequence>
        <xs:element name="sub-score" type="subScoreComplexType" minOccurs="0" maxOccurs="unbounded"/>
        <!-- <xs:element name="sub-score-attempts" type="subScoreAttemptsComplexType" minOccurs="0" maxOccurs="unbounded"/>-->
        <xs:element name="event-record" type="eventRecordComplexType" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="events-played" type="xs:nonNegativeInteger" use="optional">
        <xs:annotation>
          <xs:documentation>The number of sports-events in which this team or player has already participated.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="time-played-total" type="xs:string" use="optional">
        <xs:annotation>
          <xs:documentation>Value for the amount of time played by the team or player over the course of a particular time-span, such as a season.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>