xref: /PHP-5.3/ext/soap/tests/bugs/bug27742.wsdl (revision 7dae9e6c)
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Rakesh Vidyadharan (Enterprise Application Development Tribune Media Services) -->
3<wsdl:definitions name="xtvdWebService" targetNamespace="urn:TMSWebServices" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tms="urn:TMSWebServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4	<wsdl:types>
5		<xsd:schema targetNamespace="urn:TMSWebServices" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tms="urn:TMSWebServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
6	<simpleType name="duration">
7		<annotation>
8			<documentation xml:lang="en">ISO 8601 pattern used to denote program durations.  Year, month and day are not relevent in our context and are omitted.</documentation>
9		</annotation>
10		<restriction base="xsd:duration">
11			<pattern value="PT[0-9][0-9]H[0-5][0-9]M"/>
12		</restriction>
13	</simpleType>
14	<simpleType name="dateTime">
15		<annotation>
16			<documentation xml:lang="en">ISO 8601 pattern for date+time information : YYYY-MM-DDThh:mm:ssZ</documentation>
17		</annotation>
18		<restriction base="xsd:dateTime">
19			<pattern value="20[0-9]{2}\-[0-1][0-9]\-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9]Z"/>
20		</restriction>
21	</simpleType>
22	<simpleType name="date">
23		<annotation>
24			<documentation xml:lang="en">ISO 8601 pattern for date: YYYY-MM-DD</documentation>
25		</annotation>
26		<restriction base="xsd:date">
27			<pattern value="(19|20)[0-9]{2}\-[0-1][0-9]\-[0-3][0-9]"/>
28		</restriction>
29	</simpleType>
30	<simpleType name="time">
31		<annotation>
32			<documentation xml:lang="en">ISO 8601 pattern for time of day : hh:mm:ss</documentation>
33		</annotation>
34		<restriction base="xsd:time">
35			<pattern value="\d\d:\d\d:\d\d"/>
36		</restriction>
37	</simpleType>
38	<simpleType name="mpaaRatings">
39		<annotation>
40			<documentation xml:lang="en">MPAA standard ratings for a movie as defined in the movie and TV database schemas.</documentation>
41		</annotation>
42		<restriction base="xsd:string">
43			<enumeration value="Adult">
44				<annotation>
45					<documentation xml:lang="en">This is the way this rating is defined in the movies database schema.</documentation>
46				</annotation>
47			</enumeration>
48			<enumeration value="AO">
49				<annotation>
50					<documentation xml:lang="en">This is the way this rating is defined in the TV database schema.</documentation>
51				</annotation>
52			</enumeration>
53			<enumeration value="G"/>
54			<enumeration value="NC-17"/>
55			<enumeration value="NONE">
56				<annotation>
57					<documentation xml:lang="en">Films in the movie database that do not have any ratings associated with them are sometimes marked with this value.</documentation>
58				</annotation>
59			</enumeration>
60			<enumeration value="NOT RATED">
61				<annotation>
62					<documentation xml:lang="en">This is the way films without any rating are defined in the movies database schema.</documentation>
63				</annotation>
64			</enumeration>
65			<enumeration value="NR">
66				<annotation>
67					<documentation xml:lang="en">This is the way films without any rating are defined in the TV database schema.</documentation>
68				</annotation>
69			</enumeration>
70			<enumeration value="PG"/>
71			<enumeration value="PG-13"/>
72			<enumeration value="R"/>
73		</restriction>
74	</simpleType>
75	<simpleType name="starRating">
76		<annotation>
77			<documentation xml:lang="en">A Zap2it reviewer assigned rating for a given film.</documentation>
78		</annotation>
79		<restriction base="xsd:string">
80			<enumeration value="*"/>
81			<enumeration value="*+"/>
82			<enumeration value="**"/>
83			<enumeration value="**+"/>
84			<enumeration value="***"/>
85			<enumeration value="***+"/>
86			<enumeration value="****"/>
87		</restriction>
88	</simpleType>
89	<simpleType name="movieCrewRole">
90		<annotation>
91			<documentation xml:lang="en">The roles that are currently defined for the production crew associated with a given film.</documentation>
92		</annotation>
93		<restriction base="xsd:string">
94			<enumeration value="Actor"/>
95			<enumeration value="Director"/>
96			<enumeration value="Executive Producer"/>
97			<enumeration value="Guest Star"/>
98			<enumeration value="Producer"/>
99			<enumeration value="Writer"/>
100		</restriction>
101	</simpleType>
102	<simpleType name="movieGenres">
103		<annotation>
104			<documentation xml:lang="en">The standard genres that are used to classify films in the movies database schema.</documentation>
105		</annotation>
106		<restriction base="xsd:string">
107			<enumeration value=""/>
108			<enumeration value="Action"/>
109			<enumeration value="Adults only"/>
110			<enumeration value="Adventure"/>
111			<enumeration value="Animated musical"/>
112			<enumeration value="Biography"/>
113			<enumeration value="Children"/>
114			<enumeration value="Comedy"/>
115			<enumeration value="Comedy-drama"/>
116			<enumeration value="Crime drama"/>
117			<enumeration value="Docudrama"/>
118			<enumeration value="Documentary"/>
119			<enumeration value="Drama"/>
120			<enumeration value="Fantasy"/>
121			<enumeration value="French"/>
122			<enumeration value="Historical drama"/>
123			<enumeration value="Horror"/>
124			<enumeration value="Martial arts"/>
125			<enumeration value="Musical"/>
126			<enumeration value="Musical comedy"/>
127			<enumeration value="Musical romance"/>
128			<enumeration value="Mystery"/>
129			<enumeration value="Romance"/>
130			<enumeration value="Romance-comedy"/>
131			<enumeration value="Science fiction"/>
132			<enumeration value="Spanish"/>
133			<enumeration value="Suspense"/>
134			<enumeration value="Suspense-comedy"/>
135			<enumeration value="War"/>
136			<enumeration value="Western"/>
137		</restriction>
138	</simpleType>
139	<simpleType name="movieAdvisories">
140		<annotation>
141			<documentation xml:lang="en">The standard advisory messages that are associated with a movie shown on TV.</documentation>
142		</annotation>
143		<restriction base="xsd:string">
144			<enumeration value="Adult Situations"/>
145			<enumeration value="Adolescentes y Adultos"/>
146			<enumeration value="Adultos"/>
147			<enumeration value="Brief Nudity"/>
148			<enumeration value="Graphic Language"/>
149			<enumeration value="Graphic Violence"/>
150			<enumeration value="Language"/>
151			<enumeration value="Mild Violence"/>
152			<enumeration value="Nudity"/>
153			<enumeration value="Publico General"/>
154			<enumeration value="Rape"/>
155			<enumeration value="Strong Sexual Content"/>
156			<enumeration value="Violence"/>
157		</restriction>
158	</simpleType>
159	<simpleType name="tvRatings">
160		<annotation>
161			<documentation xml:lang="en">The FCC standard ratings for TV programs (http://www.fcc.gov/vchip/#guidelines)</documentation>
162		</annotation>
163		<restriction base="xsd:string">
164			<enumeration value="TVY"/>
165			<enumeration value="TVY7"/>
166			<enumeration value="TVG"/>
167			<enumeration value="TVPG"/>
168			<enumeration value="TV14"/>
169			<enumeration value="TVMA"/>
170		</restriction>
171	</simpleType>
172	<simpleType name="tvColorCode">
173		<annotation>
174			<documentation>The standard color codes used to denote the color scheme used by a TV program (eg. Color, B &amp; W ...).</documentation>
175		</annotation>
176		<restriction base="xsd:string">
177			<enumeration value="B &amp; W">
178				<annotation>
179					<documentation xml:lang="en">Indicates that the program is begin telecast in Black and White.</documentation>
180				</annotation>
181			</enumeration>
182			<enumeration value="Color">
183				<annotation>
184					<documentation xml:lang="en">Indicates that the program being telecast is in color.</documentation>
185				</annotation>
186			</enumeration>
187			<enumeration value="Colorized">
188				<annotation>
189					<documentation xml:lang="en">Indicates that the program being telecast is a colorised version of the original program.</documentation>
190				</annotation>
191			</enumeration>
192			<enumeration value="Color and B &amp; W">
193				<annotation>
194					<documentation xml:lang="en">Indicates that the program being telecast is partly in color and partly in Black and White.</documentation>
195				</annotation>
196			</enumeration>
197		</restriction>
198	</simpleType>
199	<attributeGroup name="filmDataAttributes">
200		<annotation>
201			<documentation xml:lang="en">Common attributes that are applicable to all the root elements of the XML schemas developed to represent film data.</documentation>
202		</annotation>
203		<attribute name="postalCode" type="xsd:string" use="optional">
204			<annotation>
205				<documentation xml:lang="en">The ZIP/Postal code for which the theatre list was generated.</documentation>
206			</annotation>
207		</attribute>
208		<attribute name="radius" type="xsd:float" use="optional" default="5">
209			<annotation>
210				<documentation xml:lang="en">The radius around the centroid of the ZIP/Postal code within which the films are located.  A default value of 20 (miles for US customers and kilometres for non-US customers) will be used if the client making the request did not specify a radius.</documentation>
211			</annotation>
212		</attribute>
213		<attribute name="maxCount" type="xsd:int" use="optional">
214			<annotation>
215				<documentation xml:lang="en">The maximum number of film/theatre records that are included in the document.  This number may be specified by the client making the request for the list of films/theatres/showtimes.</documentation>
216			</annotation>
217		</attribute>
218	</attributeGroup>
219	<complexType name="crewMember">
220		<annotation>
221			<documentation xml:lang="en">A cast or production crew member for a film or TV show.</documentation>
222		</annotation>
223		<sequence>
224			<element name="role" type="xsd:string">
225				<annotation>
226					<documentation xml:lang="en">Describes the role of the crew member.  Eg. Actor, Director ...</documentation>
227				</annotation>
228			</element>
229			<element name="givenname" type="xsd:string" nillable="true">
230				<annotation>
231					<documentation xml:lang="en">The given/first name of the crew member.  The element name follows LDAP naming convention.  TMS does not have given/first names for all cast/crew members.  Hence this element is nillable.</documentation>
232				</annotation>
233			</element>
234			<element name="surname" type="xsd:string">
235				<annotation>
236					<documentation xml:lang="en">The surname/last-name of the crew member.  The element name follows LDAP naming convention.</documentation>
237				</annotation>
238			</element>
239		</sequence>
240	</complexType>
241	<complexType name="image">
242		<annotation>
243			<documentation>Complex type that contains the attributes of an image.  The only attribute available at present is its URI.</documentation>
244		</annotation>
245		<sequence>
246			<element name="imageUri" type="xsd:anyURI" nillable="true">
247				<annotation>
248					<documentation>This element contains an absolute URI to an image associated with the film.</documentation>
249				</annotation>
250			</element>
251			<element name="width" type="xsd:string" minOccurs="0">
252				<annotation>
253					<documentation>This element defines the width of the image associated with the film.  This element is a place holder.  The width attribute is not available at present.</documentation>
254				</annotation>
255			</element>
256			<element name="height" type="xsd:string" minOccurs="0">
257				<annotation>
258					<documentation>This element defines the height of the image associated with the film.  This element is a place holder.  The height attribute is not available at present.</documentation>
259				</annotation>
260			</element>
261		</sequence>
262	</complexType>
263	<complexType name="address">
264		<annotation>
265			<documentation xml:lang="en">This complex type describes a generic address.</documentation>
266		</annotation>
267		<sequence>
268			<element name="streetAddress">
269				<annotation>
270					<documentation xml:lang="en">This element groups together the various street address parts for the entire address.</documentation>
271				</annotation>
272				<complexType>
273					<sequence>
274						<element name="street" type="xsd:string" maxOccurs="unbounded">
275							<annotation>
276								<documentation xml:lang="en">This field contains each entry for the street address part of the entire address.</documentation>
277							</annotation>
278						</element>
279					</sequence>
280				</complexType>
281			</element>
282			<element name="city" type="xsd:string">
283				<annotation>
284					<documentation xml:lang="en">This field contains the city for the address.</documentation>
285				</annotation>
286			</element>
287			<element name="state" type="xsd:string">
288				<annotation>
289					<documentation xml:lang="en">This field contains the name/code of the state for the address.</documentation>
290				</annotation>
291			</element>
292			<element name="postalCode" type="xsd:string">
293				<annotation>
294					<documentation xml:lang="en">This field contains the ZIP/Postal code for the address.</documentation>
295				</annotation>
296			</element>
297			<element name="telephone" type="xsd:string" minOccurs="0">
298				<annotation>
299					<documentation xml:lang="en">This field contains the telephone number if available for the address.</documentation>
300				</annotation>
301			</element>
302			<element name="fax" type="xsd:string" minOccurs="0">
303				<annotation>
304					<documentation xml:lang="en">This field contains the fax number if available for the address.</documentation>
305				</annotation>
306			</element>
307			<element name="mobile" type="xsd:string" minOccurs="0">
308				<annotation>
309					<documentation xml:lang="en">This field contains the mobile phone number if available for the address.</documentation>
310				</annotation>
311			</element>
312			<element name="email" type="xsd:string" minOccurs="0">
313				<annotation>
314					<documentation xml:lang="en">This field contains the email address if available for the address.</documentation>
315				</annotation>
316			</element>
317			<element name="country" type="xsd:string" minOccurs="0">
318				<annotation>
319					<documentation xml:lang="en">This field contains the country of the address.</documentation>
320				</annotation>
321			</element>
322		</sequence>
323	</complexType>
324	<element name="xtvd">
325		<annotation>
326			<documentation>Root element of the document.  @IMPORTANT : All time and dates are specified in UTC !</documentation>
327		</annotation>
328		<complexType>
329			<sequence>
330				<element ref="tms:stations"/>
331				<element ref="tms:lineups"/>
332				<element ref="tms:schedules"/>
333				<element ref="tms:programs"/>
334				<element ref="tms:productionCrew" minOccurs="0"/>
335				<element ref="tms:genres"/>
336			</sequence>
337			<attribute name="from" type="tms:dateTime" use="required">
338				<annotation>
339					<documentation xml:lang="en">Date and time defining the start of the period covered by this XTVD document.</documentation>
340				</annotation>
341			</attribute>
342			<attribute name="to" type="tms:dateTime" use="required">
343				<annotation>
344					<documentation xml:lang="en">Date and time defining the end of the period covered by this XTVD document.</documentation>
345				</annotation>
346			</attribute>
347			<attribute name="schemaVersion" type="xsd:float" use="required" fixed="1.2">
348				<annotation>
349					<documentation xml:lang="en">Version number of the schema used to build this document.</documentation>
350				</annotation>
351			</attribute>
352		</complexType>
353		<key name="station_key">
354			<selector xpath="./stations/station"/>
355			<field xpath="@id"/>
356		</key>
357		<keyref name="station_keyref_schedule" refer="tms:station_key">
358			<selector xpath="./schedules/schedule"/>
359			<field xpath="@station"/>
360		</keyref>
361		<keyref name="station_keyref_map" refer="tms:station_key">
362			<selector xpath="./lineups/lineup/map"/>
363			<field xpath="@station"/>
364		</keyref>
365		<unique name="program_key">
366			<selector xpath="./programs/program"/>
367			<field xpath="@id"/>
368		</unique>
369		<keyref name="program_keyref" refer="tms:program_key">
370			<selector xpath="./schedules/schedule"/>
371			<field xpath="@program"/>
372		</keyref>
373		<keyref name="crew_keyref" refer="tms:program_key">
374			<selector xpath="./productionCrew/crew"/>
375			<field xpath="@program"/>
376		</keyref>
377		<keyref name="genre_keyref" refer="tms:program_key">
378			<selector xpath="./genres/programGenre"/>
379			<field xpath="@program"/>
380		</keyref>
381		<keyref name="advisory_keyref" refer="tms:program_key">
382			<selector xpath="./advisories/advisory"/>
383			<field xpath="@program"/>
384		</keyref>
385	</element>
386	<element name="stations">
387		<annotation>
388			<documentation>Collection of user selected station elements (across all lineups).</documentation>
389		</annotation>
390		<complexType>
391			<sequence maxOccurs="unbounded">
392				<element name="station">
393					<annotation>
394						<documentation>Defines a TV broadcast station - each station is identified with an unique ID.</documentation>
395					</annotation>
396					<complexType>
397						<sequence>
398							<element name="callSign">
399								<annotation>
400									<documentation>Short name of the station (eg. CNN).</documentation>
401								</annotation>
402							</element>
403							<element name="name" minOccurs="0">
404								<annotation>
405									<documentation>Long name of the station (eg. Cable News Network).</documentation>
406								</annotation>
407							</element>
408							<element name="fccChannelNumber" type="xsd:positiveInteger" minOccurs="0">
409								<annotation>
410									<documentation xml:lang="en">FCC channel number of a broadcast station.</documentation>
411								</annotation>
412							</element>
413							<element name="affiliate" type="xsd:string" minOccurs="0">
414								<annotation>
415									<documentation xml:lang="en">Network, cable or broadcasting group with which the station is associated.</documentation>
416								</annotation>
417							</element>
418						</sequence>
419						<attribute name="id" type="xsd:int" use="required">
420							<annotation>
421								<documentation xml:lang="en">ID string of the station.</documentation>
422							</annotation>
423						</attribute>
424					</complexType>
425				</element>
426			</sequence>
427		</complexType>
428	</element>
429	<element name="lineups">
430		<annotation>
431			<documentation>Collection of lineup elements selected by the user.</documentation>
432		</annotation>
433		<complexType>
434			<sequence maxOccurs="unbounded">
435				<element name="lineup">
436					<annotation>
437						<documentation>Defines all the station that were selected for the given lineup. </documentation>
438					</annotation>
439					<complexType>
440						<sequence maxOccurs="unbounded">
441							<element name="map">
442								<annotation>
443									<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>
444								</annotation>
445								<complexType>
446									<sequence minOccurs="0" maxOccurs="unbounded">
447										<element name="onAir">
448											<annotation>
449												<documentation xml:lang="en">Specifies the time(s) of day when the given station-channel mapping is in effect.</documentation>
450											</annotation>
451											<complexType>
452												<attribute name="from" type="tms:time" use="required">
453													<annotation>
454														<documentation xml:lang="en">The time of day from which the station-channel mapping is effective.</documentation>
455													</annotation>
456												</attribute>
457												<attribute name="to" type="tms:time" use="required">
458													<annotation>
459														<documentation xml:lang="en">The time of day until which the station-channel mapping is effective.</documentation>
460													</annotation>
461												</attribute>
462											</complexType>
463										</element>
464									</sequence>
465									<attribute name="station" type="xsd:int" use="required">
466										<annotation>
467											<documentation xml:lang="en">Reference to a station.</documentation>
468										</annotation>
469									</attribute>
470									<attribute name="channel" type="xsd:positiveInteger" use="required">
471										<annotation>
472											<documentation xml:lang="en">Channel number associated to the station.</documentation>
473										</annotation>
474									</attribute>
475									<attribute name="channelMinor" type="xsd:positiveInteger" use="optional">
476										<annotation>
477											<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>
478										</annotation>
479									</attribute>
480									<attribute name="from" type="tms:date" use="optional">
481										<annotation>
482											<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>
483										</annotation>
484									</attribute>
485									<attribute name="to" type="tms:date" use="optional">
486										<annotation>
487											<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>
488										</annotation>
489									</attribute>
490								</complexType>
491							</element>
492						</sequence>
493						<attribute name="name" type="xsd:string" use="required">
494							<annotation>
495								<documentation xml:lang="en">Name given to the lineup.</documentation>
496							</annotation>
497						</attribute>
498						<attribute name="type" type="tms:lineupTypes" use="required">
499							<annotation>
500								<documentation xml:lang="en">Defines the type of the lineup (CABLE, SATELLITE, ...).</documentation>
501							</annotation>
502						</attribute>
503						<attribute name="device" type="xsd:string" use="optional">
504							<annotation>
505								<documentation xml:lang="en">The name of the device associated with the headend.</documentation>
506							</annotation>
507						</attribute>
508						<attribute name="postalCode" type="xsd:string" use="optional">
509							<annotation>
510								<documentation xml:lang="en">The ZIP/Postal code for which the specified lineup was selected by the user.</documentation>
511							</annotation>
512						</attribute>
513					</complexType>
514				</element>
515			</sequence>
516		</complexType>
517	</element>
518	<element name="schedules">
519		<annotation>
520			<documentation>Contain all schedule records (across all selected lineups).</documentation>
521		</annotation>
522		<complexType>
523			<sequence maxOccurs="unbounded">
524				<annotation>
525					<documentation>Sequence of schedule records.</documentation>
526				</annotation>
527				<element name="schedule">
528					<annotation>
529						<documentation>Describes a schedule entry.</documentation>
530					</annotation>
531					<complexType>
532						<sequence minOccurs="0">
533							<element name="part" minOccurs="0">
534								<annotation>
535									<documentation>Designates which part, when a program is split into 2 or more viewings.</documentation>
536								</annotation>
537								<complexType>
538									<attribute name="number" use="required">
539										<annotation>
540											<documentation xml:lang="en">Designates which part, when a program is split into 2 or more viewings. </documentation>
541										</annotation>
542										<simpleType>
543											<restriction base="xsd:unsignedInt">
544												<minInclusive value="1"/>
545											</restriction>
546										</simpleType>
547									</attribute>
548									<attribute name="total" use="required">
549										<annotation>
550											<documentation xml:lang="en">Designates when a program is split into 2 or more parts for viewing. </documentation>
551										</annotation>
552										<simpleType>
553											<restriction base="xsd:unsignedInt">
554												<minInclusive value="2"/>
555											</restriction>
556										</simpleType>
557									</attribute>
558								</complexType>
559							</element>
560						</sequence>
561						<attribute name="program" type="xsd:string" use="required">
562							<annotation>
563								<documentation xml:lang="en">Reference to a program ID.</documentation>
564							</annotation>
565						</attribute>
566						<attribute name="station" type="xsd:int" use="required">
567							<annotation>
568								<documentation xml:lang="en">Reference to a station ID.</documentation>
569							</annotation>
570						</attribute>
571						<attribute name="time" type="tms:dateTime" use="required">
572							<annotation>
573								<documentation xml:lang="en">Air date and time for the schedule.</documentation>
574							</annotation>
575						</attribute>
576						<attribute name="duration" type="tms:duration" use="required">
577							<annotation>
578								<documentation xml:lang="en">Duration of the schedule.</documentation>
579							</annotation>
580						</attribute>
581						<attribute name="repeat" type="xsd:boolean" use="optional">
582							<annotation>
583								<documentation xml:lang="en">Designates a program which has been aired previously.</documentation>
584							</annotation>
585						</attribute>
586						<attribute name="tvRating" type="tms:tvRatings" use="optional">
587							<annotation>
588								<documentation xml:lang="en">The FCC standard ratings applied to TV shows.</documentation>
589							</annotation>
590						</attribute>
591						<attribute name="stereo" type="xsd:boolean" use="optional">
592							<annotation>
593								<documentation xml:lang="en">Indicates whether the program has stereo sound or not.</documentation>
594							</annotation>
595						</attribute>
596						<attribute name="subtitled" type="xsd:boolean" use="optional">
597							<annotation>
598								<documentation xml:lang="en">Indicates whether the program has subtitles.</documentation>
599							</annotation>
600						</attribute>
601						<attribute name="hdtv" type="xsd:boolean" use="optional">
602							<annotation>
603								<documentation xml:lang="en">Indicates whether the program broadcast is HDTV compatible.</documentation>
604							</annotation>
605						</attribute>
606						<attribute name="closeCaptioned" type="xsd:boolean" use="optional">
607							<annotation>
608								<documentation xml:lang="en">Indicates whether the program has closed captions.</documentation>
609							</annotation>
610						</attribute>
611					</complexType>
612				</element>
613			</sequence>
614		</complexType>
615	</element>
616	<element name="programs">
617		<annotation>
618			<documentation>Contains all the program records that are referenced by the schedule records.</documentation>
619		</annotation>
620		<complexType>
621			<sequence maxOccurs="unbounded">
622				<element name="program" minOccurs="0">
623					<annotation>
624						<documentation>Defines a program entry.</documentation>
625					</annotation>
626					<complexType>
627						<sequence>
628							<element name="title" type="xsd:string">
629								<annotation>
630									<documentation>Title of the program.</documentation>
631								</annotation>
632							</element>
633							<element name="subtitle" type="xsd:string" minOccurs="0">
634								<annotation>
635									<documentation>Subtitle of the program (episode title, game title, ...)</documentation>
636								</annotation>
637							</element>
638							<element name="description" type="xsd:string" minOccurs="0">
639								<annotation>
640									<documentation>Word string that describes the program.</documentation>
641								</annotation>
642							</element>
643							<element name="mpaaRating" type="tms:mpaaRatings" minOccurs="0">
644								<annotation>
645									<documentation>MPAA rating of the program (applies to movies only).</documentation>
646								</annotation>
647							</element>
648							<element name="starRating" type="tms:starRating" minOccurs="0">
649								<annotation>
650									<documentation>Star rating of the program (applies to movies only).</documentation>
651								</annotation>
652							</element>
653							<element name="runTime" type="tms:duration" minOccurs="0">
654								<annotation>
655									<documentation>Actual length of  the program. Not the same as schedule/@duration. Applies to movies only.</documentation>
656								</annotation>
657							</element>
658							<element name="year" type="xsd:gYear" minOccurs="0">
659								<annotation>
660									<documentation>The year in which a feature film was released; YYYY format.  Applies to movies only.</documentation>
661								</annotation>
662							</element>
663							<element name="showType" type="xsd:string" minOccurs="0">
664								<annotation>
665									<documentation xml:lang="en">Distinguishes how a program was originally produced and/or distributed.</documentation>
666								</annotation>
667							</element>
668							<element name="series" type="xsd:string" minOccurs="0">
669								<annotation>
670									<documentation xml:lang="en">The series ID associated with episodic programs.  For instance an episode with programId "EP5544720193" has a series ID "SH5544720000".  The series ID may be used to group together all episodes for a given series.</documentation>
671								</annotation>
672							</element>
673							<element name="colorCode" type="tms:tvColorCode" minOccurs="0">
674								<annotation>
675									<documentation xml:lang="en">Indicates whether the program is in black and white, colorized or color.  Since most programs are in "Color" this element will be populated only if a program is not in "Color".</documentation>
676								</annotation>
677							</element>
678							<element name="advisories" minOccurs="0">
679								<annotation>
680									<documentation xml:lang="en">This element groups together all the advisories associated with the program.  Advisories apply only to movies.</documentation>
681								</annotation>
682								<complexType>
683									<sequence maxOccurs="6">
684										<element name="advisory" type="tms:movieAdvisories">
685											<annotation>
686												<documentation xml:lang="en">An individual advisory message associated with the movie.</documentation>
687											</annotation>
688										</element>
689									</sequence>
690								</complexType>
691							</element>
692						</sequence>
693						<attribute name="id" type="xsd:string" use="required">
694							<annotation>
695								<documentation xml:lang="en">Unique ID of the program.</documentation>
696							</annotation>
697						</attribute>
698					</complexType>
699				</element>
700			</sequence>
701		</complexType>
702	</element>
703	<element name="productionCrew">
704		<annotation>
705			<documentation>Contains information about the personnel associated with each program record.</documentation>
706		</annotation>
707		<complexType>
708			<sequence maxOccurs="unbounded">
709				<element name="crew">
710					<annotation>
711						<documentation xml:lang="en">This element groups together all the crew members associated with the given program.</documentation>
712					</annotation>
713					<complexType>
714						<sequence maxOccurs="unbounded">
715							<element name="member" type="tms:crewMember">
716								<annotation>
717									<documentation xml:lang="en">This element describes an individual production crew member associated with a program.</documentation>
718								</annotation>
719							</element>
720						</sequence>
721						<attribute name="program" type="xsd:string" use="required"/>
722					</complexType>
723				</element>
724			</sequence>
725		</complexType>
726	</element>
727	<element name="genres">
728		<annotation>
729			<documentation xml:lang="en">Containes genre information where available for the program records.  A program may have more than one genre with different relevence factors.</documentation>
730		</annotation>
731		<complexType>
732			<sequence maxOccurs="unbounded">
733				<element name="programGenre">
734					<annotation>
735						<documentation xml:lang="en">This element groups together all the genres under which the specified program falls.</documentation>
736					</annotation>
737					<complexType>
738						<sequence maxOccurs="unbounded">
739							<element name="genre">
740								<annotation>
741									<documentation xml:lang="en">This element groups together the different elements associated with each genre with which the program is associated.</documentation>
742								</annotation>
743								<complexType>
744									<sequence>
745										<element name="class" type="xsd:string">
746											<annotation>
747												<documentation xml:lang="en">The genre that is associated with a specified program record.</documentation>
748											</annotation>
749										</element>
750										<element name="relevance" type="xsd:int">
751											<annotation>
752												<documentation xml:lang="en">A relevence factor that applies to the genre classification for the program.  A relevence factor of 1 indicates that this is the top-level genre under which the program is classified.</documentation>
753											</annotation>
754										</element>
755									</sequence>
756								</complexType>
757							</element>
758						</sequence>
759						<attribute name="program" type="xsd:string" use="required"/>
760					</complexType>
761				</element>
762			</sequence>
763		</complexType>
764	</element>
765	<simpleType name="lineupTypes">
766		<annotation>
767			<documentation xml:lang="en">Standard lineup types.</documentation>
768		</annotation>
769		<restriction base="xsd:string">
770			<enumeration value="Cable"/>
771			<enumeration value="CableDigital"/>
772			<enumeration value="Satellite"/>
773			<enumeration value="LocalBroadcast"/>
774		</restriction>
775	</simpleType>
776			<xsd:complexType name="xtvdResponse">
777				<xsd:sequence>
778					<xsd:element name="messages">
779						<xsd:annotation>
780							<xsd:documentation xml:lang="en">A collection of messages that may be sent back by the server to the client.  Messages are usually used by the server to notify the user of changes to their subscription caused by automatic changes in station's that are part of their subscription.  For instance, messages are passed back if a lineup selected by the user is no-longer valid, if all the stations selected by the user has been removed as they are no longer valid ... </xsd:documentation>
781						</xsd:annotation>
782						<xsd:complexType>
783							<xsd:sequence maxOccurs="unbounded" minOccurs="0">
784								<xsd:element name="message" type="xsd:string">
785									<xsd:annotation>
786										<xsd:documentation xml:lang="en">An individual message that is passed back by the server.</xsd:documentation>
787									</xsd:annotation>
788								</xsd:element>
789							</xsd:sequence>
790						</xsd:complexType>
791					</xsd:element>
792					<xsd:element name="xtvdDocument" type="tms:xtvd"/>
793				</xsd:sequence>
794			</xsd:complexType>
795		</xsd:schema>
796	</wsdl:types>
797	<wsdl:message name="downloadResponse">
798		<wsdl:part name="xtvdResponse" type="tms:xtvdResponse"/>
799	</wsdl:message>
800	<wsdl:message name="downloadRequest">
801		<wsdl:part name="startTime" type="tms:dateTime"/>
802		<wsdl:part name="endTime" type="tms:dateTime"/>
803	</wsdl:message>
804	<wsdl:message name="activateRequest">
805		<wsdl:part name="deviceType" type="xsd:string"/>
806		<wsdl:part name="activationKey" type="xsd:string"/>
807	</wsdl:message>
808	<wsdl:message name="webserviceFault"/>
809	<wsdl:message name="activateResponse"/>
810	<wsdl:portType name="xtvdPortType">
811		<wsdl:operation name="activate">
812			<wsdl:input message="tms:activateRequest"/>
813			<wsdl:output message="tms:activateResponse"/>
814			<wsdl:fault message="tms:webserviceFault" name="webserviceFault"/>
815		</wsdl:operation>
816		<wsdl:operation name="download">
817			<wsdl:input message="tms:downloadRequest"/>
818			<wsdl:output message="tms:downloadResponse"/>
819			<wsdl:fault message="tms:webserviceFault" name="webserviceFault"/>
820		</wsdl:operation>
821	</wsdl:portType>
822	<wsdl:binding name="xtvdBinding" type="tms:xtvdPortType">
823		<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
824		<wsdl:operation name="activate">
825			<soap:operation soapAction="urn:TMSWebServices:xtvdWebService#activate"/>
826			<wsdl:input>
827				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:TMSWebServices" use="encoded"/>
828			</wsdl:input>
829			<wsdl:output>
830				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>
831			</wsdl:output>
832			<wsdl:fault name="webserviceFault">
833				<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="tms:webserviceFault" namespace="urn:TMSWebServices" use="encoded"/>
834			</wsdl:fault>
835		</wsdl:operation>
836		<wsdl:operation name="download">
837			<soap:operation soapAction="urn:TMSWebServices:xtvdWebService#download"/>
838			<wsdl:input>
839				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:TMSWebServices" use="encoded"/>
840			</wsdl:input>
841			<wsdl:output>
842				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"/>
843			</wsdl:output>
844			<wsdl:fault name="webserviceFault">
845				<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="tms:webserviceFault" namespace="urn:TMSWebServices" use="encoded"/>
846			</wsdl:fault>
847		</wsdl:operation>
848	</wsdl:binding>
849	<wsdl:service name="xtvdWebService">
850		<wsdl:port binding="tms:xtvdBinding" name="xtvdWebServicePort">
851			<soap:address location="http://datadirect.webservices.zap2it.com/tvlistings/xtvdService"/>
852		</wsdl:port>
853	</wsdl:service>
854</wsdl:definitions>
855