initial commit
[BroadWorks-OCI.git] / share / OCISchemaAS / Services / OCISchemaServiceLocationBasedCallingRestrictions.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 \r
3 <!-- ********************************************************************** -->\r
4 <!-- Copyright (c) 2000-2012 BroadSoft, Inc.  All rights reserved.          -->\r
5 <!-- ********************************************************************** -->\r
6 <!-- O C I   X M L   S C H E M A  :  S E R V I C E  P A R T                 -->\r
7 <!--                                                                        -->\r
8 <!-- L O C A T I O N   B A S E D   C A L L I N G                            -->\r
9 <!-- R E S T R I C T I O N S  S E R V I C E                                 -->\r
10 <!--                                                                        -->\r
11 <!-- This file defines the XML Schema for the BroadSoft Application Server  -->\r
12 <!-- Open Client Interface (OCI).                                           -->\r
13 <!-- ********************************************************************** -->\r
14 \r
15 <xs:schema xmlns:xs             = "http://www.w3.org/2001/XMLSchema"\r
16            xmlns:core           = "C"\r
17            xmlns                = ""\r
18            attributeFormDefault = "qualified"\r
19            elementFormDefault   = "qualified">\r
20   \r
21   <xs:import namespace      = "C"\r
22              schemaLocation = "../OCISchemaBASE.xsd"/>\r
23   \r
24   <xs:include schemaLocation="../OCISchemaDataTypes.xsd"/>\r
25   \r
26   <!-- ********************************************************************************** -->\r
27   <!-- L O C A T I O N   B A S E D   C A L L I N G   R E S T R I C T I O N S              -->\r
28   <!-- R E Q U E S T S  A N D  R E S P O N S E S                                          -->\r
29   <!-- ********************************************************************************** -->\r
30   <!--\r
31   Requests and responses are listed here in alphabetical order.\r
32   The non-primitive attributes inside the commands are defined in another\r
33   section of the schema.\r
34 \r
35   Requests in this schema file:\r
36     SystemLocationBasedCallingRestrictionsGetRequest17sp3    \r
37     SystemLocationBasedCallingRestrictionsModifyRequest    \r
38     \r
39   --> \r
40   \r
41   <xs:complexType name="SystemLocationBasedCallingRestrictionsGetRequest17sp3">\r
42     <xs:annotation>\r
43       <xs:documentation>\r
44         Gets system level the Location Based Calling Restrictions attributes.\r
45         The response is either a SystemLocationBasedCallingRestrictionsGetResponse17sp3 or an ErrorResponse.\r
46       </xs:documentation>\r
47     </xs:annotation>\r
48     <xs:complexContent>\r
49       <xs:extension base="core:OCIRequest">\r
50         <xs:sequence/>\r
51       </xs:extension>\r
52     </xs:complexContent>\r
53   </xs:complexType>    \r
54     \r
55   <xs:complexType name="SystemLocationBasedCallingRestrictionsGetResponse17sp3">\r
56     <xs:annotation>\r
57       <xs:documentation>\r
58         Response to SystemLocationBasedCallingRestrictionsGetRequest17sp3.\r
59       </xs:documentation>\r
60     </xs:annotation>\r
61     <xs:complexContent>\r
62       <xs:extension base="core:OCIDataResponse">\r
63         <xs:sequence>\r
64           <xs:element name="physicalLocationIndicator" type="PhysicalLocationIndicator"/>\r
65           <xs:element name="enforceMscValidation" type="xs:boolean"/>\r
66           <xs:element name="enableOfficeZoneAnnouncement" type="xs:boolean"/>\r
67           <xs:element name="enhanceOfficeZone" type="xs:boolean"/>\r
68         </xs:sequence>\r
69       </xs:extension>\r
70     </xs:complexContent>\r
71   </xs:complexType>    \r
72     \r
73   <xs:complexType name="SystemLocationBasedCallingRestrictionsModifyRequest">\r
74     <xs:annotation>\r
75       <xs:documentation>\r
76         Modifies the system level Location Based Calling Restriction attributes.\r
77         The response is either a SuccessResponse or an ErrorResponse.\r
78       </xs:documentation>\r
79     </xs:annotation>\r
80     <xs:complexContent>\r
81       <xs:extension base="core:OCIRequest">\r
82         <xs:sequence>\r
83           <xs:element name="physicalLocationIndicator" type="PhysicalLocationIndicator" minOccurs="0"/>\r
84           <xs:element name="enforceMscValidation" type="xs:boolean" minOccurs="0"/>\r
85           <xs:element name="enableOfficeZoneAnnouncement" type="xs:boolean" minOccurs="0"/>\r
86           <xs:element name="enhanceOfficeZone" type="xs:boolean" minOccurs="0"/>\r
87         </xs:sequence>\r
88       </xs:extension>\r
89     </xs:complexContent>\r
90   </xs:complexType>    \r
91     \r
92   <xs:simpleType name="PhysicalLocationIndicator">\r
93     <xs:annotation>\r
94       <xs:documentation>\r
95         Choices for how to extract the physical location from the P-Camel-CellDorLAI or P-Access-Network-Info header.\r
96         CI indicates that the physical location comes from the Cell Identification (CI) field (5 digits) of the P-Camel-CellDorLAI header (5 digits).\r
97         LAC-CI indicates that the physical location comes from the Location Area Code + Cell Identification (LAC+CI) fields of the P CAMEL CellIDorLAI header (10 digits).\r
98         PANI indicates that the physical location comes from the P Network Address Info (PANI) header.  See RFC 3455.\r
99       </xs:documentation>\r
100     </xs:annotation>\r
101     <xs:restriction base="xs:token">\r
102       <xs:enumeration value="CI"/>\r
103       <xs:enumeration value="LAC-CI"/>\r
104       <xs:enumeration value="PANI"/>\r
105       <xs:enumeration value="Disregard Zones"/>\r
106     </xs:restriction>\r
107   </xs:simpleType>    \r
108     \r
109 </xs:schema>\r