<xs:attributeGroup name="curlingActionAttributes">
<xs:attribute name="end-number" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation>A curling game normally have 10 ends, but it can also be 8 or even 6</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="stone-number" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation>Each end has 8 stones per team</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="time-used" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>How much time the team used for this play</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="turn" use="optional">
<xs:simpleType id="turn">
<xs:restriction base="xs:string">
<xs:enumeration id="turnInturn" value="inturn">
<xs:annotation>
<xs:documentation>When the stone is released with a clock-wise turn.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration id="turnOutturn" value="outturn">
<xs:annotation>
<xs:documentation>When the stone is released with a anti-clock-wise turn.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<!-- If the stone was played inhand or outhand -->
<xs:attribute name="stone-speed" use="optional" type="QCodeType"/>
<!-- The speed of the stone -->
</xs:attributeGroup> |