Definition Type: Element
Name: event-metadata
Namespace: http://www.sportsml.org/schema/
Containing Schema: sportsml-core.xsd
Abstract
Documentation:
Background information about a game. | Where, when, and what an event is.
Collapse XSD Schema Diagram:
Drilldown into site in schema sportsml-core_xsd Drilldown into event-sponsor in schema sportsml-core_xsd Drilldown into sports-property in schema sportsml-core_xsd Drilldown into sports-content-codes in schema sportsml-core_xsd Drilldown into duration in schema sportsml-core_xsd Drilldown into heat-number in schema sportsml-core_xsd Drilldown into end-weekday in schema sportsml-core_xsd Drilldown into end-date-time in schema sportsml-core_xsd Drilldown into start-weekday in schema sportsml-core_xsd Drilldown into start-date-time in schema sportsml-core_xsd Drilldown into postponement-note in schema sportsml-core_xsd Drilldown into postponement-status in schema sportsml-core_xsd Drilldown into event-status in schema sportsml-core_xsd Drilldown into event-number in schema sportsml-core_xsd Drilldown into event-style in schema sportsml-core_xsd Drilldown into event-recurring-name in schema sportsml-core_xsd Drilldown into event-recurring-key in schema sportsml-core_xsd Drilldown into event-name in schema sportsml-core_xsd Drilldown into event-source in schema sportsml-core_xsd Drilldown into event-key in schema sportsml-core_xsd Drilldown into scoping-label in schema sportsml-core_xsd Drilldown into record-making-scope in schema sportsml-core_xsd Drilldown into position-scope in schema sportsml-core_xsd Drilldown into alignment-scope in schema sportsml-core_xsd Drilldown into competition-scope in schema sportsml-core_xsd Drilldown into duration-scope in schema sportsml-core_xsd Drilldown into date-coverage-value in schema sportsml-core_xsd Drilldown into date-coverage-type in schema sportsml-core_xsd Drilldown into team-coverage in schema sportsml-core_xsd Drilldown into stats-coverage in schema sportsml-core_xsd Drilldown into coverageAttributes in schema sportsml-core_xsd Drilldown into id in schema sportsml-core_xsd Drilldown into globalAttributes in schema sportsml-core_xsdXSD Diagram of event-metadata in schema sportsml-core_xsd (SportsML)
Collapse XSD Schema Code:
<element name="event-metadata">
    <annotation>
        <documentation>Background information about a game. | Where, when, and what an event is.</documentation>
    </annotation>
    <complexType>
        <sequence>
            <element ref="sportsml:sports-content-codes" minOccurs="0" />
            <element ref="sportsml:sports-property" minOccurs="0" maxOccurs="unbounded" />
            <group ref="sportsml:eventMetadataSpecific" minOccurs="0" />
            <element ref="sportsml:event-sponsor" minOccurs="0" maxOccurs="unbounded" />
            <element ref="sportsml:site" minOccurs="0" />
        </sequence>
        <attributeGroup ref="sportsml:globalAttributes" />
        <attributeGroup ref="sportsml:coverageAttributes" />
        <attribute name="event-key" type="string" use="optional">
            <annotation>
                <documentation>The symbol for the identified sports-event. Best if globally unique.</documentation>
            </annotation>
        </attribute>
        <attribute name="event-source" type="string" use="optional">
            <annotation>
                <documentation>The maintainer of the controlled vocabulary for the key.</documentation>
            </annotation>
        </attribute>
        <attribute name="event-name" type="string" use="optional">
            <annotation>
                <documentation>A displayable name for the key.</documentation>
            </annotation>
        </attribute>
        <attribute name="event-recurring-key" type="string" use="optional">
            <annotation>
                <documentation>The symbol for an identified sports-event that recurs every season. This same key should be used from season to season.</documentation>
            </annotation>
        </attribute>
        <attribute name="event-recurring-name" type="string" use="optional">
            <annotation>
                <documentation>A displayable name for the event-recurring-key.</documentation>
            </annotation>
        </attribute>
        <attribute name="event-style" type="sportsml:eventStyle.Core" use="optional">
            <annotation>
                <documentation>Indicates whether competitors are trying to defeat each other or just outdo one another.</documentation>
            </annotation>
        </attribute>
        <attribute name="event-number" type="string" use="optional">
            <annotation>
                <documentation>The ranked position this event had among other events.</documentation>
            </annotation>
        </attribute>
        <attribute name="event-status" type="sportsml:eventStatus.Core" use="optional">
            <annotation>
                <documentation>The stage of the event, describing whether it has started, is in progress, etc.</documentation>
            </annotation>
        </attribute>
        <attribute name="postponement-status" type="sportsml:postponementStatus.Core" use="optional">
            <annotation>
                <documentation>Either none, weather-delay, or other.</documentation>
            </annotation>
        </attribute>
        <attribute name="postponement-note" type="string" use="optional">
            <annotation>
                <documentation>A displayable notice as to why an event was postponed.</documentation>
            </annotation>
        </attribute>
        <attribute name="start-date-time" type="string" use="optional">
            <annotation>
                <documentation>Time the game starts, normalized to ISO 8601: YYYYMMDDTHHMMSS+HHMM (preferred) YYYYMMDDTHHMMSSZ (alternative). Use YYYYMMDD000000+HHMM when no time is available.</documentation>
            </annotation>
        </attribute>
        <attribute name="start-weekday" use="optional">
            <annotation>
                <documentation>Day of the week in which the game starts.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="sunday" />
                    <enumeration value="monday" />
                    <enumeration value="tuesday" />
                    <enumeration value="wednesday" />
                    <enumeration value="thursday" />
                    <enumeration value="friday" />
                    <enumeration value="saturday" />
                </restriction>
            </simpleType>
        </attribute>
        <attribute name="end-date-time" type="string" use="optional">
            <annotation>
                <documentation>Time the game ends, normalized to ISO 8601: YYYYMMDDTHHMMSS+HHMM (preferred) YYYYMMDDTHHMMSSZ (alternative). Use YYYYMMDD000000+HHMM when no time is available.</documentation>
            </annotation>
        </attribute>
        <attribute name="end-weekday" use="optional">
            <annotation>
                <documentation>Day of the week in which the game ends.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="sunday" />
                    <enumeration value="monday" />
                    <enumeration value="tuesday" />
                    <enumeration value="wednesday" />
                    <enumeration value="thursday" />
                    <enumeration value="friday" />
                    <enumeration value="saturday" />
                </restriction>
            </simpleType>
        </attribute>
        <attribute name="heat-number" type="string" use="optional">
            <annotation>
                <documentation>The ranked position this heat had among other heats.</documentation>
            </annotation>
        </attribute>
        <attribute name="duration" type="sportsml:duration.Common" use="optional">
            <annotation>
                <documentation>The length of time the event took place.</documentation>
            </annotation>
        </attribute>
    </complexType>
</element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
sports-content-codes sportsml:sports-content-codes 0 (1)
sports-property sportsml:sports-property 0 unbounded
event-metadata-american-football sportsml:event-metadata-american-football (1) (1)
event-metadata-baseball sportsml:event-metadata-baseball (1) (1)
event-metadata-basketball sportsml:event-metadata-basketball (1) (1)
event-metadata-golf sportsml:event-metadata-golf (1) (1)
event-metadata-ice-hockey sportsml:event-metadata-ice-hockey (1) (1)
event-metadata-soccer sportsml:event-metadata-soccer (1) (1)
event-metadata-tennis sportsml:event-metadata-tennis (1) (1)
event-metadata-motor-racing sportsml:event-metadata-motor-racing (1) (1)
event-sponsor sportsml:event-sponsor 0 unbounded
site sportsml:site 0 (1)
<xs:group> sportsml:eventMetadataSpecific 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
id sportsml:id Optional
stats-coverage sportsml:stats-coverage Optional
team-coverage sportsml:team-coverage Optional
date-coverage-type sportsml:date-coverage-type Optional
date-coverage-value sportsml:date-coverage-value Optional
duration-scope sportsml:duration-scope Optional
competition-scope sportsml:competition-scope Optional
alignment-scope sportsml:alignment-scope Optional
position-scope sportsml:position-scope Optional
record-making-scope sportsml:record-making-scope Optional
scoping-label sportsml:scoping-label Optional
event-key sportsml:event-key Optional
event-source sportsml:event-source Optional
event-name sportsml:event-name Optional
event-recurring-key sportsml:event-recurring-key Optional
event-recurring-name sportsml:event-recurring-name Optional
event-style sportsml:event-style Optional
event-number sportsml:event-number Optional
event-status sportsml:event-status Optional
postponement-status sportsml:postponement-status Optional
postponement-note sportsml:postponement-note Optional
start-date-time sportsml:start-date-time Optional
start-weekday sportsml:start-weekday Optional
end-date-time sportsml:end-date-time Optional
end-weekday sportsml:end-weekday Optional
heat-number sportsml:heat-number Optional
duration sportsml:duration Optional