<xs:attributeGroup name="coverageAttributes">
<xs:attribute name="stats-coverage" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>A relative indication of how many statistics are included in the item. SportsML vocab uri: http://cv.iptc.org/newscodes/spstatscoverage/</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="team-coverage" use="optional">
<xs:annotation>
<xs:documentation>Indicates whether the item contains information about one team, or many teams.</xs:documentation>
</xs:annotation>
<xs:simpleType id="teamCoverage">
<xs:restriction base="xs:string">
<xs:enumeration id="teamCoverageSingle-team" value="single-team">
<xs:annotation>
<xs:documentation>Contains only information about a single team.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration id="teamCoverageMulti-team" value="multi-team">
<xs:annotation>
<xs:documentation>Contains information about many or all teams in a league.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="duration-scope" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>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/</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="alignment-scope" use="optional">
<xs:annotation>
<xs:documentation>Indicates that the included statistics apply only to events played either at home or away.</xs:documentation>
</xs:annotation>
<xs:simpleType id="alignmentScope">
<xs:annotation>
<xs:documentation>Every event played, including those played at home and hope so. The default option.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration id="alignmentScopeEvents-all" value="events-all"/>
<xs:enumeration id="alignmentScopeEvents-home" value="events-home"/>
<xs:enumeration id="alignmentScopeEvents-away" value="events-away"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="position" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Indicates that the included statistics apply only to while played at a particular position.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="record-making-scope" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>Indicates that the included statistics apply only to values that set a record, such as a team-high, or an individual-low.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="scoping-label" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A textual description for the scope.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="period-value" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Used for tracking stats and events by period.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="period-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>For certain types of periods: overtime, declared (cricket), etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="start-date-time" type="TruncatedDateTimeType" use="optional">
<xs:annotation>
<xs:documentation>The starting date, with optional time, of the event for which the stats are relevant.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="end-date-time" type="TruncatedDateTimeType" use="optional">
<xs:annotation>
<xs:documentation>The ending date, with optional time, of the event for which the stats are relevant.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="period-start-date-time" type="TruncatedDateTimeType" use="optional">
<xs:annotation>
<xs:documentation>The starting date, with optional time, of the period for which the stats are relevant.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="period-end-date-time" type="TruncatedDateTimeType" use="optional">
<xs:annotation>
<xs:documentation>The ending date, with optional time, of the period for which the stats are relevant.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="temporal-unit-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The unit of performance to which the stats apply eg. single-event, season, career.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="temporal-unit-value" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The key of performance unit to which the stats apply.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="event-span" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>Qualifier of "most-recent-events" value for temporal-unit attribute. Specify the number of events eg. 10 for last 10 games.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="opponent-value" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The key of the player, team, division, conference, league or other unit which provide the opposition relevant to the stat.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="opponent-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>Whether the opponent was a player, team, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="team" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The key of the team for which the player or team generated the stats.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="competition" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The key of the league or competition for which the player or team generated the stats.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="unit-value" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The key, other than team or league/competition, of the competitive unit for which the player or team generated the stats.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="unit-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The type, other than team or league/competition, of the competitive unit for which the player or team generated the stats.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="situation" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>Final or current score of the team or player.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="location-key" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The key of the site,venue or location where the stats were generated.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="venue-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The type of event (eg. indoor, outdoor, etc.) in which the stats were generated.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="surface-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The type of surface (eg. clay, artificial grass, etc.) upon which the stats were generated.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="weather-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>A code for the weather situation in which the stats were generated. SportsML weather codes recommended.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="scope-value" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>A generic scope indicator. Use only if none of the other coverage attributes are suitable.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="distance" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Measure of distance for the generated stat.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="distance-maximum" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Maximum distance for the generated stat.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="distance-minimum" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Minimum distance for the generated stat.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="measurement-units" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The type of unit used to measure distance, speed, etc. Could be mph, kph, metres, yards, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup> |