<xs:attributeGroup name="eventStateTennis">
<xs:annotation>
<xs:documentation>A group of attributes (set, game, server, server-score, receiver receiver-score, serve-number) that can be used for tennis actions.</xs:documentation>
</xs:annotation>
<xs:attribute name="set" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Which set in the game this item covers. Normally 1,2,3,4 or 5.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="game" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Wich game in the current set this item covers. Generally 1 through 7.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="server-idref" type="xs:IDREF" use="optional">
<xs:annotation>
<xs:documentation>A pointer to the player-id or team-id who served the ball on this point.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="server-score" use="optional" type="gameResult.Tennis">
<xs:annotation>
<xs:documentation>The score of the player or team presently serving, either love, 15, 30, 40, game.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="receiver-idref" type="xs:IDREF" use="optional">
<xs:annotation>
<xs:documentation>A pointer to the player-id or team-id who received the served ball on this point.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="receiver-score" use="optional" type="gameResult.Tennis">
<xs:annotation>
<xs:documentation>The score of the player or team presently receiving, either love, 15, 30, 40, game.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="serve-number" use="optional">
<xs:annotation>
<xs:documentation>Identifying either the first or second serve.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="first"/>
<xs:enumeration value="second"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:attributeGroup> |