forked from ty6368/com.att.schemas.v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ErrorNumber.xsd
executable file
·40 lines (40 loc) · 1.45 KB
/
ErrorNumber.xsd
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
<?xml version="1.0"?>
<xs:schema id="ErrorDataSet" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://developer.att.com/ErrorNumber" elementFormDefault="qualified">
<xs:complexType name="ErrorNumberType">
<xs:sequence>
<xs:element name="errorType" minOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="POL" />
<xs:enumeration value="SVC" />
<xs:enumeration value="SDK" />
<xs:enumeration value="INT" /> <!-- Additional items TBD -->
<xs:enumeration value="CON" /> <!-- Additional items TBD -->
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- restricted list -->
<xs:element name="api" minOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:enumeration value="01" /> <!-- SMS -->
<xs:enumeration value="02" /> <!-- MMS -->
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- restricted list to follow -->
<xs:element name="operation_id" type="xs:int" minOccurs="1" />
<!-- restricted list -->
<xs:element name="version" minOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:enumeration value="1" />
<xs:enumeration value="2" />
<xs:enumeration value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="errorNumber" type="xs:int" minOccurs="1" />
</xs:sequence>
</xs:complexType>
</xs:schema>