<xs:attributeGroup name="genericStatAttributes">
<xs:annotation>
<xs:documentation>List of attributes used in generic stats</xs:documentation>
</xs:annotation>
<xs:attribute name="sport" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The sport to which the stats belong.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="class" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The general classification of the stat within the sport eg ofensive, defensive, rebounding (basketball), special teams (american football).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="stat-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The formal identifier of the kind of stat.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value-type" type="QCodeType" use="optional">
<xs:annotation>
<xs:documentation>The formal type of the stat value eg. integer, string, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The value of the stat.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup> |