<element name="action-ice-hockey-penalty">
<annotation>
<documentation>Action describing a penalty. | Includes who caused and who called the penalty. One element is used per penalized player.</documentation>
</annotation>
<complexType>
<attributeGroup ref="sportsml:globalAttributes" />
<attributeGroup ref="sportsml:eventStateIceHockey" />
<attribute name="recipient-type" use="required">
<annotation>
<documentation>Whether the receiver of the penalty was the team, the player, a coach, a ref, etc.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="team" />
<enumeration value="player" />
<enumeration value="auxilliary" />
<enumeration value="official" />
</restriction>
</simpleType>
</attribute>
<attribute name="team-idref" type="IDREF" use="optional">
<annotation>
<documentation>A pointer to the team of the penalized or the penalized team itself.</documentation>
</annotation>
</attribute>
<attribute name="recipient-idref" type="IDREF" use="optional">
<annotation>
<documentation>A pointer to the receiver of the penalty.</documentation>
</annotation>
</attribute>
<attribute name="served-by-idref" type="IDREF" use="optional">
<annotation>
<documentation>A pointer to the player that served the penalty.</documentation>
</annotation>
</attribute>
<attribute name="caller-idref" type="IDREF" use="optional">
<annotation>
<documentation>A pointer to the official who called the penalty.</documentation>
</annotation>
</attribute>
<attribute name="penalty-status" use="optional">
<annotation>
<documentation>Whether this action indicates the start of a penalty, or the end of a penalty.</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="start" />
<enumeration value="end" />
</restriction>
</simpleType>
</attribute>
<attribute name="penalty-level" type="sportsml:penaltyLevel.IceHockey" use="optional">
<annotation>
<documentation>TBD.</documentation>
</annotation>
</attribute>
<attribute name="penalty-name" type="sportsml:penaltyName.IceHockey" use="optional">
<annotation>
<documentation>TBD.</documentation>
</annotation>
</attribute>
<attribute name="penalty-length" type="string" use="optional">
<annotation>
<documentation>In minutes:seconds. Not necessarily the time actually served.</documentation>
</annotation>
</attribute>
<attribute name="comment" type="string" use="optional">
<annotation>
<documentation>A textual comment.</documentation>
</annotation>
</attribute>
</complexType>
</element>
|