Definition Type: Element
Name: action-basketball-penalty
Namespace: http://iptc.org/std/SportsML/2008-04-01/
Containing Schema: sportsml-specific-basketball.xsd
Abstract
Documentation:
Used when a foul is made. | Records who made the foul and who called the foul.
Collapse XSD Schema Diagram:
Drilldown into comment in schema sportsml-specific-basketball_xsd Drilldown into penalty-level in schema sportsml-specific-basketball_xsd Drilldown into penalty-side in schema sportsml-specific-basketball_xsd Drilldown into penalty-count in schema sportsml-specific-basketball_xsd Drilldown into caller-idref in schema sportsml-specific-basketball_xsd Drilldown into recipient-idref in schema sportsml-specific-basketball_xsd Drilldown into recipient-type in schema sportsml-specific-basketball_xsd Drilldown into period-time-remaining in schema sportsml-specific-basketball_xsd Drilldown into period-time-elapsed in schema sportsml-specific-basketball_xsd Drilldown into period-value in schema sportsml-specific-basketball_xsd Drilldown into eventStateBasketball in schema sportsml-specific-basketball_xsdXSD Diagram of action-basketball-penalty in schema sportsml-specific-basketball_xsd (SportsML)
Collapse XSD Schema Code:
<element name="action-basketball-penalty">
    <annotation>
        <documentation>Used when a foul is made. | Records who made the foul and who called the foul.</documentation>
    </annotation>
    <complexType>
        <attributeGroup ref="sportsml:globalAttributes" />
        <attributeGroup ref="sportsml:eventStateBasketball" />
        <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="recipient-idref" type="IDREF" use="optional">
            <annotation>
                <documentation>A pointer to the receiver of 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-count" type="string" use="optional">
            <annotation>
                <documentation>How many penalties the recipient has received in this sports-event, including this one.</documentation>
            </annotation>
        </attribute>
        <attribute name="penalty-side" type="sportsml:penaltySide.Basketball" use="optional">
            <annotation>
                <documentation>Whether it was an offensive or defensive penalty.</documentation>
            </annotation>
        </attribute>
        <attribute name="penalty-level" type="sportsml:penaltyLevel.Basketball" use="optional">
            <annotation>
                <documentation>TBD.</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
recipient-idref sportsml:recipient-idref Optional
caller-idref sportsml:caller-idref Optional
penalty-count sportsml:penalty-count Optional
penalty-side sportsml:penalty-side Optional
penalty-level sportsml:penalty-level Optional
comment sportsml:comment Optional