initial commit
[BroadWorks-OCI.git] / share / OCISchemaAS / Services / OCISchemaServiceCallForwardingAlways.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 <!-- C A L L   F O R W A R D I N G   A L W A Y S  S E R V I C E             -->\r
9 <!--                                                                        -->\r
10 <!-- This file defines the XML Schema for the BroadSoft Application Server  -->\r
11 <!-- Open Client Interface (OCI).                                           -->\r
12 <!-- ********************************************************************** -->\r
13 \r
14 <xs:schema xmlns:xs             = "http://www.w3.org/2001/XMLSchema"\r
15            xmlns:core           = "C"\r
16            xmlns                = ""\r
17            attributeFormDefault = "qualified"\r
18            elementFormDefault   = "qualified">\r
19   \r
20   <xs:import namespace      = "C"\r
21              schemaLocation = "../OCISchemaBASE.xsd"/>\r
22   \r
23   <xs:include schemaLocation="../OCISchemaDataTypes.xsd"/>\r
24   \r
25   <!-- ********************************************************************************** -->\r
26   <!-- C A L L   F O R W A R D I N G   A L W A Y S                                        -->\r
27   <!-- R E Q U E S T S  A N D  R E S P O N S E S                                          -->\r
28   <!-- ********************************************************************************** -->\r
29   <!--\r
30   Requests and responses are listed here in alphabetical order.\r
31   The non-primitive attributes inside the commands are defined in another\r
32   section of the schema.\r
33 \r
34   Requests in this schema file:\r
35     UserCallForwardingAlwaysGetRequest    \r
36     UserCallForwardingAlwaysModifyRequest    \r
37     \r
38   --> \r
39   \r
40   <xs:complexType name="UserCallForwardingAlwaysGetRequest">\r
41     <xs:annotation>\r
42       <xs:documentation>\r
43         Request the user level data associated with Call Forwarding Always.\r
44         The response is either a UserCallForwardingAlwaysGetResponse or an\r
45         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:element name="userId" type="UserId"/>\r
52         </xs:sequence>\r
53       </xs:extension>\r
54     </xs:complexContent>\r
55   </xs:complexType>    \r
56     \r
57   <xs:complexType name="UserCallForwardingAlwaysGetResponse">\r
58     <xs:annotation>\r
59       <xs:documentation>\r
60         Response to UserCallForwardingAlwaysGetRequest.\r
61       </xs:documentation>\r
62     </xs:annotation>\r
63     <xs:complexContent>\r
64       <xs:extension base="core:OCIDataResponse">\r
65         <xs:sequence>\r
66           <xs:element name="isActive" type="xs:boolean"/>\r
67           <xs:element name="forwardToPhoneNumber" type="OutgoingDNorSIPURI" minOccurs="0"/>\r
68           <xs:element name="isRingSplashActive" type="xs:boolean"/>\r
69         </xs:sequence>\r
70       </xs:extension>\r
71     </xs:complexContent>\r
72   </xs:complexType>    \r
73     \r
74   <xs:complexType name="UserCallForwardingAlwaysModifyRequest">\r
75     <xs:annotation>\r
76       <xs:documentation>\r
77         Modify the user level data associated with Call Forwarding Always.\r
78         The response is either a SuccessResponse or an ErrorResponse.\r
79         Engineering Note: This command is used internally by Call Processing.\r
80       </xs:documentation>\r
81     </xs:annotation>\r
82     <xs:complexContent>\r
83       <xs:extension base="core:OCIRequest">\r
84         <xs:sequence>\r
85           <xs:element name="userId" type="UserId"/>\r
86           <xs:element name="isActive" type="xs:boolean" minOccurs="0"/>\r
87           <xs:element name="forwardToPhoneNumber" type="OutgoingDNorSIPURI" nillable="true" minOccurs="0"/>\r
88           <xs:element name="isRingSplashActive" type="xs:boolean" minOccurs="0"/>\r
89         </xs:sequence>\r
90       </xs:extension>\r
91     </xs:complexContent>\r
92   </xs:complexType>    \r
93     \r
94 </xs:schema>\r