Definition Type: Element
Name: wagering-runline
Namespace: http://iptc.org/std/SportsML/2008-04-01/
Containing Schema: sportsml-core.xsd
Abstract
Documentation:
A line used in baseball.
Collapse XSD Schema Diagram:
Drilldown into vigorish in schema sportsml-core_xsd Drilldown into prediction-opening in schema sportsml-core_xsd Drilldown into value-opening in schema sportsml-core_xsd Drilldown into line-opening in schema sportsml-core_xsd Drilldown into prediction in schema sportsml-core_xsd Drilldown into value in schema sportsml-core_xsd Drilldown into line in schema sportsml-core_xsd Drilldown into context in schema sportsml-core_xsd Drilldown into date-time in schema sportsml-core_xsd Drilldown into comment in schema sportsml-core_xsd Drilldown into rotation-key in schema sportsml-core_xsd Drilldown into bookmaker-name in schema sportsml-core_xsd Drilldown into bookmaker-key in schema sportsml-core_xsd Drilldown into id in schema sportsml-core_xsd Drilldown into globalAttributes in schema sportsml-core_xsdXSD Diagram of wagering-runline in schema sportsml-core_xsd (SportsML)
Collapse XSD Schema Code:
<element name="wagering-runline">
    <annotation>
        <documentation>A line used in baseball.</documentation>
    </annotation>
    <complexType>
        <attributeGroup ref="sportsml:globalAttributes" />
        <attribute name="bookmaker-key" type="sportsml:genericKeyType" use="optional">
            <annotation>
                <documentation>Unique ID for the make of the line.</documentation>
            </annotation>
        </attribute>
        <attribute name="bookmaker-name" type="string" use="optional">
            <annotation>
                <documentation>Name of the maker of the line.</documentation>
            </annotation>
        </attribute>
        <attribute name="rotation-key" type="string" use="optional">
            <annotation>
                <documentation>Reusable ID for the team generally agreed upon by a pool of bookmakers.</documentation>
            </annotation>
        </attribute>
        <attribute name="comment" type="string" use="optional">
            <annotation>
                <documentation>A comment for this line. Often the same comment is supplied for both teams in a game.</documentation>
            </annotation>
        </attribute>
        <attribute name="date-time" type="string" use="optional">
            <annotation>
                <documentation>The date and time which this wagering info was assigned by the bookmaker.</documentation>
            </annotation>
        </attribute>
        <attribute name="context" use="optional">
            <annotation>
                <documentation>An indication of whether this line is a current line, or a repeat of a special-interest line from the past.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="opening" />
                    <enumeration value="closing" />
                    <enumeration value="current" />
                </restriction>
            </simpleType>
        </attribute>
        <attribute name="line" type="string" use="optional">
            <annotation>
                <documentation>The value of the runline.</documentation>
            </annotation>
        </attribute>
        <attribute name="value" type="string" use="optional">
            <annotation>
                <documentation>Generally +1.5 or -1.5.</documentation>
            </annotation>
        </attribute>
        <attribute name="prediction" use="optional">
            <annotation>
                <documentation>Whether this team or player is the favorite or the underdog.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="favorite" />
                    <enumeration value="underdog" />
                </restriction>
            </simpleType>
        </attribute>
        <attribute name="line-opening" type="string" use="optional">
            <annotation>
                <documentation>The opening line for this runline.</documentation>
            </annotation>
        </attribute>
        <attribute name="value-opening" type="string" use="optional">
            <annotation>
                <documentation>The opening value for this runline.</documentation>
            </annotation>
        </attribute>
        <attribute name="prediction-opening" use="optional">
            <annotation>
                <documentation>The opening value for this prediction.</documentation>
            </annotation>
            <simpleType>
                <restriction base="string">
                    <enumeration value="favorite" />
                    <enumeration value="underdog" />
                </restriction>
            </simpleType>
        </attribute>
        <attribute name="vigorish" type="string" use="optional">
            <annotation>
                <documentation>The commission paid to the bookmaker.</documentation>
            </annotation>
        </attribute>
    </complexType>
</element>
Collapse Child Attributes:
Name Type Default Value Use
id sportsml:id Optional
bookmaker-key sportsml:bookmaker-key Optional
bookmaker-name sportsml:bookmaker-name Optional
rotation-key sportsml:rotation-key Optional
comment sportsml:comment Optional
date-time sportsml:date-time Optional
context sportsml:context Optional
line sportsml:line Optional
value sportsml:value Optional
prediction sportsml:prediction Optional
line-opening sportsml:line-opening Optional
value-opening sportsml:value-opening Optional
prediction-opening sportsml:prediction-opening Optional
vigorish sportsml:vigorish Optional