📄 bug27742.wsdl
字号:
</element>
<element name="state" type="xsd:string">
<annotation>
<documentation xml:lang="en">This field contains the name/code of the state for the address.</documentation>
</annotation>
</element>
<element name="postalCode" type="xsd:string">
<annotation>
<documentation xml:lang="en">This field contains the ZIP/Postal code for the address.</documentation>
</annotation>
</element>
<element name="telephone" type="xsd:string" minOccurs="0">
<annotation>
<documentation xml:lang="en">This field contains the telephone number if available for the address.</documentation>
</annotation>
</element>
<element name="fax" type="xsd:string" minOccurs="0">
<annotation>
<documentation xml:lang="en">This field contains the fax number if available for the address.</documentation>
</annotation>
</element>
<element name="mobile" type="xsd:string" minOccurs="0">
<annotation>
<documentation xml:lang="en">This field contains the mobile phone number if available for the address.</documentation>
</annotation>
</element>
<element name="email" type="xsd:string" minOccurs="0">
<annotation>
<documentation xml:lang="en">This field contains the email address if available for the address.</documentation>
</annotation>
</element>
<element name="country" type="xsd:string" minOccurs="0">
<annotation>
<documentation xml:lang="en">This field contains the country of the address.</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="xtvd">
<annotation>
<documentation>Root element of the document. @IMPORTANT : All time and dates are specified in UTC !</documentation>
</annotation>
<complexType>
<sequence>
<element ref="tms:stations"/>
<element ref="tms:lineups"/>
<element ref="tms:schedules"/>
<element ref="tms:programs"/>
<element ref="tms:productionCrew" minOccurs="0"/>
<element ref="tms:genres"/>
</sequence>
<attribute name="from" type="tms:dateTime" use="required">
<annotation>
<documentation xml:lang="en">Date and time defining the start of the period covered by this XTVD document.</documentation>
</annotation>
</attribute>
<attribute name="to" type="tms:dateTime" use="required">
<annotation>
<documentation xml:lang="en">Date and time defining the end of the period covered by this XTVD document.</documentation>
</annotation>
</attribute>
<attribute name="schemaVersion" type="xsd:float" use="required" fixed="1.2">
<annotation>
<documentation xml:lang="en">Version number of the schema used to build this document.</documentation>
</annotation>
</attribute>
</complexType>
<key name="station_key">
<selector xpath="./stations/station"/>
<field xpath="@id"/>
</key>
<keyref name="station_keyref_schedule" refer="tms:station_key">
<selector xpath="./schedules/schedule"/>
<field xpath="@station"/>
</keyref>
<keyref name="station_keyref_map" refer="tms:station_key">
<selector xpath="./lineups/lineup/map"/>
<field xpath="@station"/>
</keyref>
<unique name="program_key">
<selector xpath="./programs/program"/>
<field xpath="@id"/>
</unique>
<keyref name="program_keyref" refer="tms:program_key">
<selector xpath="./schedules/schedule"/>
<field xpath="@program"/>
</keyref>
<keyref name="crew_keyref" refer="tms:program_key">
<selector xpath="./productionCrew/crew"/>
<field xpath="@program"/>
</keyref>
<keyref name="genre_keyref" refer="tms:program_key">
<selector xpath="./genres/programGenre"/>
<field xpath="@program"/>
</keyref>
<keyref name="advisory_keyref" refer="tms:program_key">
<selector xpath="./advisories/advisory"/>
<field xpath="@program"/>
</keyref>
</element>
<element name="stations">
<annotation>
<documentation>Collection of user selected station elements (across all lineups).</documentation>
</annotation>
<complexType>
<sequence maxOccurs="unbounded">
<element name="station">
<annotation>
<documentation>Defines a TV broadcast station - each station is identified with an unique ID.</documentation>
</annotation>
<complexType>
<sequence>
<element name="callSign">
<annotation>
<documentation>Short name of the station (eg. CNN).</documentation>
</annotation>
</element>
<element name="name" minOccurs="0">
<annotation>
<documentation>Long name of the station (eg. Cable News Network).</documentation>
</annotation>
</element>
<element name="fccChannelNumber" type="xsd:positiveInteger" minOccurs="0">
<annotation>
<documentation xml:lang="en">FCC channel number of a broadcast station.</documentation>
</annotation>
</element>
<element name="affiliate" type="xsd:string" minOccurs="0">
<annotation>
<documentation xml:lang="en">Network, cable or broadcasting group with which the station is associated.</documentation>
</annotation>
</element>
</sequence>
<attribute name="id" type="xsd:int" use="required">
<annotation>
<documentation xml:lang="en">ID string of the station.</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
</complexType>
</element>
<element name="lineups">
<annotation>
<documentation>Collection of lineup elements selected by the user.</documentation>
</annotation>
<complexType>
<sequence maxOccurs="unbounded">
<element name="lineup">
<annotation>
<documentation>Defines all the station that were selected for the given lineup. </documentation>
</annotation>
<complexType>
<sequence maxOccurs="unbounded">
<element name="map">
<annotation>
<documentation>This element defines the mapping between one station and one channel number. As channel numbers may change over time, attributes to define a validity period for the mapping are available.</documentation>
</annotation>
<complexType>
<sequence minOccurs="0" maxOccurs="unbounded">
<element name="onAir">
<annotation>
<documentation xml:lang="en">Specifies the time(s) of day when the given station-channel mapping is in effect.</documentation>
</annotation>
<complexType>
<attribute name="from" type="tms:time" use="required">
<annotation>
<documentation xml:lang="en">The time of day from which the station-channel mapping is effective.</documentation>
</annotation>
</attribute>
<attribute name="to" type="tms:time" use="required">
<annotation>
<documentation xml:lang="en">The time of day until which the station-channel mapping is effective.</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
<attribute name="station" type="xsd:int" use="required">
<annotation>
<documentation xml:lang="en">Reference to a station.</documentation>
</annotation>
</attribute>
<attribute name="channel" type="xsd:positiveInteger" use="required">
<annotation>
<documentation xml:lang="en">Channel number associated to the station.</documentation>
</annotation>
</attribute>
<attribute name="channelMinor" type="xsd:positiveInteger" use="optional">
<annotation>
<documentation xml:lang="en">The major channel (the channel attribute) number is used to group all services associated with a broadcaster's NTSC brand, for example Channel 4. The minor channel number specifies a particular channel within that group. Zero (0) is reserved for the NTSC channel; all other values (1-999) are allowed for digital services. One common approach is to start with 1 and to continue numerically for different programming services.</documentation>
</annotation>
</attribute>
<attribute name="from" type="tms:date" use="optional">
<annotation>
<documentation xml:lang="en">Date from which the mapping is valid, according to the validity period of the whole XTVD document. @IMPORTANT : It is assumed that the change will occur at midnight.</documentation>
</annotation>
</attribute>
<attribute name="to" type="tms:date" use="optional">
<annotation>
<documentation xml:lang="en">Date untill which the mapping is valid, within the validity period of the whole XTVD document. @IMPORTANT : The change will occur at midnight.</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
<attribute name="name" type="xsd:string" use="required">
<annotation>
<documentation xml:lang="en">Name given to the lineup.</documentation>
</annotation>
</attribute>
<attribute name="type" type="tms:lineupTypes" use="required">
<annotation>
<documentation xml:lang="en">Defines the type of the lineup (CABLE, SATELLITE, ...).</documentation>
</annotation>
</attribute>
<attribute name="device" type="xsd:string" use="optional">
<annotation>
<documentation xml:lang="en">The name of the device associated with the headend.</documentation>
</annotation>
</attribute>
<attribute name="postalCode" type="xsd:string" use="optional">
<annotation>
<documentation xml:lang="en">The ZIP/Postal code for which the specified lineup was selected by the user.</documentation>
</annotation>
</attribute>
</complexType>
</element>
</sequence>
</complexType>
</element>
<element name="schedules">
<annotation>
<documentation>Contain all schedule records (across all selected lineups).</documentation>
</annotation>
<complexType>
<sequence maxOccurs="unbounded">
<annotation>
<documentation>Sequence of schedule records.</documentation>
</annotation>
<element name="schedule">
<annotation>
<documentation>Describes a schedule entry.</documentation>
</annotation>
<complexType>
<sequence minOccurs="0">
<element name="part" minOccurs="0">
<annotation>
<documentation>Designates which part, when a program is split into 2 or more viewings.</documentation>
</annotation>
<complexType>
<attribute name="number" use="required">
<annotation>
<documentation xml:lang="en">Designates which part, when a program is split into 2 or more viewings. </documentation>
</annotation>
<simpleType>
<restriction base="xsd:unsignedInt">
<minInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="total" use="required">
<annotation>
<documentation xml:lang="en">Designates when a program is split into 2 or more parts for viewing. </documentation>
</annotation>
<simpleType>
<restriction base="xsd:unsignedInt">
<minInclusive value="2"/>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
</sequence>
<attribute name="program" type="xsd:string" use="required">
<annotation>
<documentation xml:lang="en">Reference to a program ID.</documentation>
</annotation>
</attribute>
<attribute name="station" type="xsd:int" use="required">
<annotation>
<documentation xml:lang="en">Reference to a station ID.</documentation>
</annotation>
</attribute>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -