Definition Type: Element
Name: action-ice-hockey-penalty
Namespace: http://iptc.org/std/SportsML/2008-04-01/
Containing Schema: sportsml-specific-ice-hockey.xsd
Abstract
Documentation:
Action describing a penalty. | Includes who caused and who called the penalty. One element is used per penalized player.
Collapse XSD Schema Diagram:
Drilldown into comment in schema sportsml-specific-ice-hockey_xsd Drilldown into penalty-length in schema sportsml-specific-ice-hockey_xsd Drilldown into penalty-name in schema sportsml-specific-ice-hockey_xsd Drilldown into penalty-level in schema sportsml-specific-ice-hockey_xsd Drilldown into penalty-status in schema sportsml-specific-ice-hockey_xsd Drilldown into caller-idref in schema sportsml-specific-ice-hockey_xsd Drilldown into served-by-idref in schema sportsml-specific-ice-hockey_xsd Drilldown into recipient-idref in schema sportsml-specific-ice-hockey_xsd Drilldown into team-idref in schema sportsml-specific-ice-hockey_xsd Drilldown into recipient-type in schema sportsml-specific-ice-hockey_xsd Drilldown into period-time-remaining in schema sportsml-specific-ice-hockey_xsd Drilldown into period-time-elapsed in schema sportsml-specific-ice-hockey_xsd Drilldown into period-value in schema sportsml-specific-ice-hockey_xsd Drilldown into eventStateIceHockey in schema sportsml-specific-ice-hockey_xsdXSD Diagram of action-ice-hockey-penalty in schema sportsml-specific-ice-hockey_xsd (SportsML)
Collapse XSD Schema Code:
<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>
Collapse Child Attributes:
Name Type Default Value Use
id sportsml:id Optional
period-value sportsml:period-value Optional
period-time-elapsed sportsml:period-time-elapsed Optional
period-time-remaining sportsml:period-time-remaining Optional
recipient-type sportsml:recipient-type Required
team-idref sportsml:team-idref Optional
recipient-idref sportsml:recipient-idref Optional
served-by-idref sportsml:served-by-idref Optional
caller-idref sportsml:caller-idref Optional
penalty-status sportsml:penalty-status Optional
penalty-level sportsml:penalty-level Optional
penalty-name sportsml:penalty-name Optional
penalty-length sportsml:penalty-length Optional
comment sportsml:comment Optional