Definition Type: Element
Name: player-metadata
Namespace: http://www.sportsml.org/schema/
Containing Schema: sportsml-core.xsd
Abstract
Documentation:
Metadata that describes a player. | Generally does not change over the course of a sports-events.
Collapse XSD Schema Diagram:
Drilldown into sports-property in schema sportsml-core_xsd Drilldown into career-phase in schema sportsml-core_xsd Drilldown into home-location in schema sportsml-core_xsd Drilldown into name in schema sportsml-core_xsd Drilldown into nationality in schema sportsml-core_xsd Drilldown into gender in schema sportsml-core_xsd Drilldown into home-page-url in schema sportsml-core_xsd Drilldown into uniform-number in schema sportsml-core_xsd Drilldown into health in schema sportsml-core_xsd Drilldown into position-source in schema sportsml-core_xsd Drilldown into position-depth in schema sportsml-core_xsd Drilldown into position-event in schema sportsml-core_xsd Drilldown into position-regular in schema sportsml-core_xsd Drilldown into weight in schema sportsml-core_xsd Drilldown into height in schema sportsml-core_xsd Drilldown into date-of-birth in schema sportsml-core_xsd Drilldown into status in schema sportsml-core_xsd Drilldown into team-key in schema sportsml-core_xsd Drilldown into team-idref in schema sportsml-core_xsd Drilldown into player-source in schema sportsml-core_xsd Drilldown into player-key in schema sportsml-core_xsd Drilldown into id in schema sportsml-core_xsd Drilldown into globalAttributes in schema sportsml-core_xsdXSD Diagram of player-metadata in schema sportsml-core_xsd (SportsML)
Collapse XSD Schema Code:
<element name="player-metadata">
    <annotation>
        <documentation>Metadata that describes a player. | Generally does not change over the course of a sports-events.</documentation>
    </annotation>
    <complexType>
        <sequence>
            <element ref="sportsml:name" minOccurs="0" maxOccurs="unbounded" />
            <element ref="sportsml:home-location" minOccurs="0" />
            <element ref="sportsml:career-phase" minOccurs="0" maxOccurs="unbounded" />
            <element ref="sportsml:sports-property" minOccurs="0" maxOccurs="unbounded" />
            <group ref="sportsml:playerMetadataSpecific" minOccurs="0" />
        </sequence>
        <attributeGroup ref="sportsml:globalAttributes" />
        <attribute name="player-key" type="string" use="optional">
            <annotation>
                <documentation>The symbol for the player.</documentation>
            </annotation>
        </attribute>
        <attribute name="player-source" type="string" use="optional">
            <annotation>
                <documentation>The maintainer of the controlled vocabulary for the key.</documentation>
            </annotation>
        </attribute>
        <attribute name="team-idref" type="string" use="optional">
            <annotation>
                <documentation>A reference to the team for which this player competes.</documentation>
            </annotation>
        </attribute>
        <attribute name="team-key" type="string" use="optional">
            <annotation>
                <documentation>A key-based reference to the team for which this player competes.</documentation>
            </annotation>
        </attribute>
        <attribute name="status" type="sportsml:status.Core" use="optional">
            <annotation>
                <documentation>Whether a player starts playing at the beginning of a sports-event, joins mid-game, or is not available to participate.</documentation>
            </annotation>
        </attribute>
        <attribute name="date-of-birth" type="string" use="optional">
            <annotation>
                <documentation>The day on which a player was born, normalized to ISO 8601: YYYYMMDDTHHMMSS+HHMM (preferred) YYYYMMDDTHHMMSSZ (alternative). Use YYYYMMDD000000+HHMM when no time is available.</documentation>
            </annotation>
        </attribute>
        <attribute name="height" type="string" use="optional">
            <annotation>
                <documentation>Height of the player. Generally in cm.</documentation>
            </annotation>
        </attribute>
        <attribute name="weight" type="string" use="optional">
            <annotation>
                <documentation>Weight of a player. Generally in kg.</documentation>
            </annotation>
        </attribute>
        <attribute name="position-regular" type="sportsml:position.Common" use="optional">
            <annotation>
                <documentation>The code for the typical position at which this player plays.</documentation>
            </annotation>
        </attribute>
        <attribute name="position-event" type="sportsml:position.Common" use="optional">
            <annotation>
                <documentation>The code for the position played by the player at this particular sports-event.</documentation>
            </annotation>
        </attribute>
        <attribute name="position-depth" type="string" use="optional">
            <annotation>
                <documentation>A ranking amongst players on the team who share the same position.</documentation>
            </annotation>
        </attribute>
        <attribute name="position-source" type="string" use="optional">
            <annotation>
                <documentation>The source of the controlled-vocabulary for position-regular and position-event.</documentation>
            </annotation>
        </attribute>
        <attribute name="health" type="sportsml:health.Core" use="optional">
            <annotation>
                <documentation>An indication of the health of the player.</documentation>
            </annotation>
        </attribute>
        <attribute name="uniform-number" type="string" use="optional">
            <annotation>
                <documentation>The number currently displayed on the uniform or jersey of the player.</documentation>
            </annotation>
        </attribute>
        <attribute name="home-page-url" type="string" use="optional">
            <annotation>
                <documentation>The fully-qualified URL for the official home page of the team.</documentation>
            </annotation>
        </attribute>
        <attribute name="gender" use="optional">
            <annotation>
                <documentation>Male or female.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="male" />
                    <enumeration value="female" />
                </restriction>
            </simpleType>
        </attribute>
        <attribute name="nationality" type="string" use="optional">
            <annotation>
                <documentation>Your country of citizinship.</documentation>
            </annotation>
        </attribute>
    </complexType>
</element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
name sportsml:name 0 unbounded
home-location sportsml:home-location 0 (1)
career-phase sportsml:career-phase 0 unbounded
sports-property sportsml:sports-property 0 unbounded
player-metadata-american-football sportsml:player-metadata-american-football (1) (1)
player-metadata-baseball sportsml:player-metadata-baseball (1) (1)
player-metadata-basketball sportsml:player-metadata-basketball (1) (1)
player-metadata-golf sportsml:player-metadata-golf (1) (1)
player-metadata-ice-hockey sportsml:player-metadata-ice-hockey (1) (1)
player-metadata-soccer sportsml:player-metadata-soccer (1) (1)
player-metadata-tennis sportsml:player-metadata-tennis (1) (1)
player-metadata-motor-racing sportsml:player-metadata-motor-racing (1) (1)
<xs:group> sportsml:playerMetadataSpecific 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
id sportsml:id Optional
player-key sportsml:player-key Optional
player-source sportsml:player-source Optional
team-idref sportsml:team-idref Optional
team-key sportsml:team-key Optional
status sportsml:status Optional
date-of-birth sportsml:date-of-birth Optional
height sportsml:height Optional
weight sportsml:weight Optional
position-regular sportsml:position-regular Optional
position-event sportsml:position-event Optional
position-depth sportsml:position-depth Optional
position-source sportsml:position-source Optional
health sportsml:health Optional
uniform-number sportsml:uniform-number Optional
home-page-url sportsml:home-page-url Optional
gender sportsml:gender Optional
nationality sportsml:nationality Optional