PageRenderTime 35ms CodeModel.GetById 31ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/zf/library/Zend/Service/DeveloperGarden/Wsdl/VoiceButlerService.xsd

http://github.com/eryx/php-framework-benchmark
XML Schema | 264 lines | 241 code | 23 blank | 0 comment | 0 complexity | 987d9ff2acf4c96325fb76577149f232 MD5 | raw file
Possible License(s): MIT, BSD-3-Clause, Apache-2.0, LGPL-2.1, LGPL-3.0, BSD-2-Clause
  1<?xml version="1.0" encoding="UTF-8"?>
  2
  3
  4<xsd:schema xmlns="http://webservice.voicebutler.odg.tonline.de"
  5	xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://webservice.voicebutler.odg.tonline.de"
  6	elementFormDefault="unqualified" attributeFormDefault="unqualified"
  7	version="1.1">
  8
  9	<xsd:simpleType name="EnvironmentType">
 10		<xsd:restriction base="xsd:int">
 11			<xsd:minInclusive value="1" />
 12			<xsd:maxInclusive value="3" />
 13		</xsd:restriction>
 14	</xsd:simpleType>
 15
 16	<xsd:simpleType name="NumberType">
 17		<xsd:restriction base="xsd:string">
 18			<xsd:minLength value="7" />
 19			<xsd:maxLength value="24" />
 20		</xsd:restriction>
 21	</xsd:simpleType>
 22
 23	<xsd:simpleType name="SessionIDType">
 24		<xsd:restriction base="xsd:string">
 25			<xsd:pattern value="[0-9A-Z]{8}\-[0-9A-Z]{16}\-[0-9A-Z]{8}" />
 26		</xsd:restriction>
 27	</xsd:simpleType>
 28
 29	<xsd:simpleType name="KeepAliveType">
 30		<xsd:restriction base="xsd:int">
 31			<xsd:minInclusive value="0" />
 32			<xsd:maxInclusive value="1" />
 33		</xsd:restriction>
 34	</xsd:simpleType>
 35
 36	<xsd:simpleType name="MaxDurationType">
 37		<xsd:restriction base="xsd:int">
 38			<xsd:minInclusive value="0" />
 39		</xsd:restriction>
 40	</xsd:simpleType>
 41
 42	<xsd:simpleType name="ExpirationType">
 43		<xsd:restriction base="xsd:int">
 44			<xsd:minInclusive value="0" />
 45		</xsd:restriction>
 46	</xsd:simpleType>
 47
 48	<xsd:element name="callStatus">
 49		<xsd:complexType>
 50			<xsd:sequence>
 51				<xsd:element minOccurs="0" name="request" nillable="false"
 52					type="VoiceButlerCallStatusRequest" />
 53			</xsd:sequence>
 54		</xsd:complexType>
 55	</xsd:element>
 56  <xsd:element name="callStatus2">
 57    <xsd:complexType>
 58      <xsd:sequence>
 59        <xsd:element minOccurs="0" name="request" nillable="false"
 60          type="VoiceButlerCallStatusRequest" />
 61      </xsd:sequence>
 62    </xsd:complexType>
 63  </xsd:element>
 64	<xsd:complexType name="VoiceButlerCallStatusRequest">
 65		<xsd:complexContent>
 66			<xsd:extension base="VoiceButlerRequest">
 67				<xsd:sequence>
 68					<xsd:element minOccurs="1" maxOccurs="1" name="keepAlive"
 69						nillable="false" type="KeepAliveType" />
 70					<xsd:element minOccurs="1" maxOccurs="1" name="sessionId"
 71						nillable="false" type="SessionIDType" />
 72				</xsd:sequence>
 73			</xsd:extension>
 74		</xsd:complexContent>
 75	</xsd:complexType>
 76
 77
 78	<xsd:element name="newCall">
 79		<xsd:complexType>
 80			<xsd:sequence>
 81				<xsd:element minOccurs="0" name="request" nillable="false"
 82					type="VoiceButlerNewCallRequest" />
 83			</xsd:sequence>
 84		</xsd:complexType>
 85	</xsd:element>
 86
 87	<xsd:complexType name="VoiceButlerNewCallRequest">
 88		<xsd:complexContent>
 89			<xsd:extension base="VoiceButlerNewCallRequestBase">
 90				<xsd:sequence>
 91					<xsd:element minOccurs="1" maxOccurs="1"
 92						name="bNumber" nillable="false" type="NumberType" />
 93				</xsd:sequence>
 94			</xsd:extension>
 95		</xsd:complexContent>
 96	</xsd:complexType>
 97	<!-- newCall { -->
 98	<xsd:element name="newCallSequenced">
 99		<xsd:complexType>
100			<xsd:sequence>
101				<xsd:element minOccurs="0" name="request" nillable="false"
102					type="VoiceButlerNewCallSequencedRequest" />
103
104			</xsd:sequence>
105		</xsd:complexType>
106	</xsd:element>
107	<xsd:element name="newCallSequencedResponse">
108		<xsd:complexType>
109			<xsd:sequence>
110				<xsd:element name="return" type="VoiceButlerResult"></xsd:element>
111			</xsd:sequence>
112		</xsd:complexType>
113	</xsd:element>
114	<!-- newCall } -->
115
116	<xsd:element name="tearDownCall">
117		<xsd:complexType>
118			<xsd:sequence>
119				<xsd:element minOccurs="0" name="request" nillable="false"
120					type="VoiceButlerTeardownCallRequest" />
121			</xsd:sequence>
122		</xsd:complexType>
123	</xsd:element>
124	<xsd:complexType name="VoiceButlerTeardownCallRequest">
125		<xsd:complexContent>
126			<xsd:extension base="VoiceButlerRequest">
127				<xsd:sequence minOccurs="1" maxOccurs="1">
128					<xsd:element name="sessionId" type="SessionIDType" />
129				</xsd:sequence>
130			</xsd:extension>
131		</xsd:complexContent>
132	</xsd:complexType>
133
134	<xsd:element name="callStatusResponse">
135		<xsd:complexType>
136			<xsd:sequence>
137				<xsd:element minOccurs="0" name="return" nillable="false"
138					type="VoiceButlerCallStatusResult" />
139			</xsd:sequence>
140		</xsd:complexType>
141	</xsd:element>
142	<xsd:complexType name="VoiceButlerCallStatusResult">
143		<xsd:complexContent>
144			<xsd:extension base="VoiceButlerResult">
145				<xsd:sequence minOccurs="0" maxOccurs="1">
146					<xsd:element minOccurs="0" name="connectiontimea" type="xsd:int" />
147					<xsd:element minOccurs="0" name="connectiontimeb" type="xsd:int" />
148					<xsd:element minOccurs="0" name="descriptiona"
149						nillable="true" type="xsd:string" />
150					<xsd:element minOccurs="0" name="descriptionb"
151						nillable="true" type="xsd:string" />
152					<xsd:element minOccurs="0" name="reasona" type="xsd:int" />
153					<xsd:element minOccurs="0" name="reasonb" type="xsd:int" />
154					<xsd:element minOccurs="0" name="statea" type="xsd:string" />
155					<xsd:element minOccurs="0" name="stateb" type="xsd:string" />
156				</xsd:sequence>
157			</xsd:extension>
158		</xsd:complexContent>
159	</xsd:complexType>
160
161    <xsd:element name="callStatus2Response">
162      <xsd:complexType>
163        <xsd:sequence>
164          <xsd:element minOccurs="0" name="return" nillable="false"
165            type="VoiceButlerCallStatus2Result" />
166        </xsd:sequence>
167      </xsd:complexType>
168    </xsd:element>
169    <xsd:complexType name="VoiceButlerCallStatus2Result">
170      <xsd:complexContent>
171        <xsd:extension base="VoiceButlerResult">
172          <xsd:sequence minOccurs="0" maxOccurs="1">
173            <xsd:element minOccurs="0" name="connectiontimea" type="xsd:int" />
174            <xsd:element minOccurs="0" name="connectiontimeb" type="xsd:int" />
175            <xsd:element minOccurs="0" name="descriptiona"
176              nillable="true" type="xsd:string" />
177            <xsd:element minOccurs="0" name="descriptionb"
178              nillable="true" type="xsd:string" />
179            <xsd:element minOccurs="0" name="reasona" type="xsd:int" />
180            <xsd:element minOccurs="0" name="reasonb" type="xsd:int" />
181            <xsd:element minOccurs="0" name="statea" type="xsd:string" />
182            <xsd:element minOccurs="0" name="stateb" type="xsd:string" />
183            
184            <xsd:element minOccurs="0" name="be164" type="xsd:string" 
185              nillable="true"/>
186            <xsd:element minOccurs="0" name="bindex" type="xsd:int" 
187              nillable="true"/>
188          </xsd:sequence>
189        </xsd:extension>
190      </xsd:complexContent>
191    </xsd:complexType>
192	<xsd:element name="newCallResponse">
193		<xsd:complexType>
194			<xsd:sequence>
195				<xsd:element minOccurs="0" name="return" nillable="false"
196					type="VoiceButlerResult" />
197			</xsd:sequence>
198		</xsd:complexType>
199	</xsd:element>
200
201	<xsd:element name="tearDownCallResponse">
202		<xsd:complexType>
203			<xsd:sequence>
204				<xsd:element minOccurs="1" name="return" nillable="false"
205					type="VoiceButlerResult" />
206			</xsd:sequence>
207		</xsd:complexType>
208	</xsd:element>
209
210	<xsd:complexType name="VoiceButlerRequest">
211		<xsd:sequence>
212			<xsd:element minOccurs="1" maxOccurs="1" name="environment"
213				nillable="false" type="EnvironmentType" />
214		</xsd:sequence>
215	</xsd:complexType>
216	<xsd:complexType name="VoiceButlerResult">
217		<xsd:sequence>
218			<xsd:element minOccurs="0" name="err_msg" nillable="true"
219				type="xsd:string" />
220			<xsd:element minOccurs="0" name="sessionId" nillable="true"
221				type="xsd:string" />
222			<xsd:element minOccurs="1" name="status" type="xsd:string" />
223		</xsd:sequence>
224	</xsd:complexType>
225
226
227	<xsd:complexType name="VoiceButlerNewCallSequencedRequest">
228		<xsd:complexContent>
229			<xsd:extension base="VoiceButlerNewCallRequestBase">
230				<xsd:sequence>
231					<xsd:element minOccurs="1" maxOccurs="unbounded"
232						name="bNumber" nillable="false" type="NumberType" />
233					<xsd:element name="maxWait" type="xsd:int" maxOccurs="1" minOccurs="1"></xsd:element>
234				</xsd:sequence>
235			</xsd:extension>
236		</xsd:complexContent>
237	</xsd:complexType>
238
239	<xsd:complexType name="VoiceButlerNewCallRequestBase">
240		<xsd:complexContent>
241			<xsd:extension base="VoiceButlerRequest">
242				<xsd:sequence>
243					<xsd:element minOccurs="1" maxOccurs="1"
244						name="aNumber" nillable="false" type="NumberType" />
245					<xsd:element minOccurs="1" maxOccurs="1"
246						name="expiration" nillable="false" type="ExpirationType" />
247					<xsd:element minOccurs="1" maxOccurs="1"
248						name="maxDuration" nillable="false" type="MaxDurationType" />
249					<xsd:element name="account" type="xsd:string"
250						maxOccurs="1" minOccurs="0">
251					</xsd:element>
252					<xsd:element name="privacyA" type="xsd:boolean"
253						maxOccurs="1" minOccurs="0">
254					</xsd:element>
255                    <xsd:element name="privacyB" type="xsd:boolean" maxOccurs="1" minOccurs="0"></xsd:element>
256                    <xsd:element name="greeter" type="xsd:string"
257						maxOccurs="1" minOccurs="0">
258					</xsd:element>
259
260				</xsd:sequence>
261			</xsd:extension>
262		</xsd:complexContent>
263	</xsd:complexType>
264</xsd:schema>