Definition Type: Element
Name: career-phase
Namespace: http://www.sportsml.org/schema/
Containing Schema: sportsml-core.xsd
Abstract
Documentation:
A description of where a player is playing, or has previously played. | Can be used to state where the player went to college. Can also list previous teams of the player.
Collapse XSD Schema Diagram:
Drilldown into duration in schema sportsml-core_xsd Drilldown into end-date in schema sportsml-core_xsd Drilldown into start-date in schema sportsml-core_xsd Drilldown into name in schema sportsml-core_xsd Drilldown into phase-type in schema sportsml-core_xsd Drilldown into id in schema sportsml-core_xsd Drilldown into globalAttributes in schema sportsml-core_xsdXSD Diagram of career-phase in schema sportsml-core_xsd (SportsML)
Collapse XSD Schema Code:
<element name="career-phase">
    <annotation>
        <documentation>A description of where a player is playing, or has previously played. | Can be used to state where the player went to college. Can also list previous teams of the player.</documentation>
    </annotation>
    <complexType>
        <attributeGroup ref="sportsml:globalAttributes" />
        <attribute name="phase-type" type="sportsml:phaseType.Core" use="optional">
            <annotation>
                <documentation>Value can be college or professional, etc.</documentation>
            </annotation>
        </attribute>
        <attribute name="name" type="string" use="optional">
            <annotation>
                <documentation>Name of the team or college, for example.</documentation>
            </annotation>
        </attribute>
        <attribute name="start-date" type="string" use="optional">
            <annotation>
                <documentation>When the player started this phase in the career, generally normalized to ISO 8601: YYYYMMDDTHHMMSS+HHMM (preferred) YYYYMMDDTHHMMSSZ (alternative). Use YYYYMMDD000000+HHMM when no time is available.</documentation>
            </annotation>
        </attribute>
        <attribute name="end-date" type="string" use="optional">
            <annotation>
                <documentation>When the player ended this phase in the career, generally normalized to ISO 8601: YYYYMMDDTHHMMSS+HHMM (preferred) YYYYMMDDTHHMMSSZ (alternative). Use YYYYMMDD000000+HHMM when no time is available.</documentation>
            </annotation>
        </attribute>
        <attribute name="duration" type="sportsml:duration.Common" use="optional">
            <annotation>
                <documentation>In lieu of a start-date and end-date. Generally in years. Could hold the number of years that a player was a pro.</documentation>
            </annotation>
        </attribute>
    </complexType>
</element>
Collapse Child Attributes:
Name Type Default Value Use
id sportsml:id Optional
phase-type sportsml:phase-type Optional
name sportsml:name Optional
start-date sportsml:start-date Optional
end-date sportsml:end-date Optional
duration sportsml:duration Optional