summaryrefslogtreecommitdiffstats
path: root/authz-gw/src/main/xsd/gw_1_0.xsd
blob: d5716dd9ed14cd684a0eb112fac58cf6f1238906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!-- Used by gw (ATT 2015) -->
<xs:schema 
	xmlns:xs="http://www.w3.org/2001/XMLSchema" 
	xmlns:gw="urn:gw:v1_0" 
	targetNamespace="urn:gw:v1_0" 
	elementFormDefault="qualified">
	

<!-- 
	Requests
 -->
	<xs:complexType name="Request">
		<xs:sequence>
		</xs:sequence>
	</xs:complexType>

<!-- 
	In 
-->	
	<xs:element name="inRequest">
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="gw:Request">
					<xs:sequence>
						<xs:element name="name" type="xs:string"/>
						<xs:element name="action" type="xs:string"/>
					</xs:sequence>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>


<!-- 
	Out 
-->	
	<xs:element name="out">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="name" type="xs:string"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

<!--  **************** STANDARD ELEMENTS ******************* -->
<!--
	Errors
	Note: This Error Structure has been made to conform to the AT&T TSS Policies
 -->
	<xs:element name="error">
		<xs:complexType>
			<xs:sequence>
				<!--
				Unique message identifier of the format ‘ABCnnnn’ where ‘ABC’ is
					either ‘SVC’ for Service Exceptions or ‘POL’ for Policy Exception.
					Exception numbers may be in the	range of 0001 to 9999 where :
					* 0001 to 0199 are reserved for	common exception messages
					* 0200 to 0999 are reserved for Parlay Web Services specification use
					* 1000-9999 are available for exceptions 
				 -->
				<xs:element name="messageId" type="xs:string" minOccurs="1" maxOccurs="1"/>
				
				<!-- 
				Message text, with replacement
					variables marked with %n, where n is
					an index into the list of <variables>
					elements, starting at 1
				 -->
				<xs:element name="text" type="xs:string" minOccurs="1" maxOccurs="1"/>
				
				<!-- 
				List of zero or more strings that
					represent the contents of the variables
					used by the message text. -->
				<xs:element name="variables" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	
<!-- 
	API 
-->	
	<xs:element name="api">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="route" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="meth" type="xs:string" minOccurs="1" maxOccurs="1"/>
							<xs:element name="path" type="xs:string" minOccurs="1" maxOccurs="1"/>
							<xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
							<xs:element name="desc" type="xs:string" minOccurs="1" maxOccurs="1"/>
							<xs:element name="comments" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
							<xs:element name="contentType" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
							<xs:element name="expected" type="xs:int" minOccurs="1" maxOccurs="1"/>
							<xs:element name="explicitErr" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>
						</xs:sequence>	
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>