<xs:complexType name="penaltyStatsComplexType">
<xs:annotation>
<xs:documentation>Statistics that detail the number of each type of penalty. | Can be recorded for either a team or a player.</xs:documentation>
</xs:annotation>
<xs:attributeGroup ref="commonAttributes"/>
<xs:attribute name="type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Could be a numeric value like 2, 5 or 10 for ice hockey, or yellow-card or red-card for soccer etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="count" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>The number of that type of penalities for this team or player.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Amount penalized. Eg. total minutes (ice-hockey, lacrosse, etc.) or yards (american-football).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType> |