2 * ============LICENSE_START====================================================
4 * ===========================================================================
5 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END====================================================
22 xmlns:xs="http://www.w3.org/2001/XMLSchema"
23 xmlns:locate_local="urn:locate_local:v1_0"
24 targetNamespace="urn:locate_local:v1_0"
25 elementFormDefault="qualified">
31 <xs:complexType name="Request">
39 <xs:element name="inRequest">
42 <xs:extension base="locate_local:Request">
44 <xs:element name="name" type="xs:string"/>
45 <xs:element name="action" type="xs:string"/>
56 <xs:element name="out">
59 <xs:element name="name" type="xs:string"/>
64 <!-- **************** STANDARD ELEMENTS ******************* -->
67 Note: This Error Structure has been made to conform to the AT&T TSS Policies
69 <xs:element name="error">
73 Unique message identifier of the format ‘ABCnnnn’ where ‘ABC’ is
74 either ‘SVC’ for Service Exceptions or ‘POL’ for Policy Exception.
75 Exception numbers may be in the range of 0001 to 9999 where :
76 * 0001 to 0199 are reserved for common exception messages
77 * 0200 to 0999 are reserved for Parlay Web Services specification use
78 * 1000-9999 are available for exceptions
80 <xs:element name="messageId" type="xs:string" minOccurs="1" maxOccurs="1"/>
83 Message text, with replacement
84 variables marked with %n, where n is
85 an index into the list of <variables>
86 elements, starting at 1
88 <xs:element name="text" type="xs:string" minOccurs="1" maxOccurs="1"/>
91 List of zero or more strings that
92 represent the contents of the variables
93 used by the message text. -->
94 <xs:element name="variables" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
102 <xs:element name="api">
105 <xs:element name="route" minOccurs="0" maxOccurs="unbounded">
108 <xs:element name="meth" type="xs:string" minOccurs="1" maxOccurs="1"/>
109 <xs:element name="path" type="xs:string" minOccurs="1" maxOccurs="1"/>
110 <xs:element name="param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
111 <xs:element name="desc" type="xs:string" minOccurs="1" maxOccurs="1"/>
112 <xs:element name="comments" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
113 <xs:element name="contentType" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
114 <xs:element name="expected" type="xs:int" minOccurs="1" maxOccurs="1"/>
115 <xs:element name="explicitErr" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>