initial commit
[BroadWorks-OCI.git] / share / OCISchemaAS / Services / OCISchemaServiceFindMeFollowMe.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 <!-- F I N D   M E   F O L L O W   M E  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   <xs:include schemaLocation="../OCISchemaSearchCriteria.xsd"/>\r
25   \r
26   <!-- ********************************************************************************** -->\r
27   <!-- F I N D   M E   F O L L O W   M E    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     GroupFindMeFollowMeAddAlertingGroupRequest    \r
36     GroupFindMeFollowMeAddAlertingGroupSelectiveCriteriaRequest    \r
37     GroupFindMeFollowMeAddInstanceRequest    \r
38     GroupFindMeFollowMeAlertingGroupGetAvailableUserListRequest    \r
39     GroupFindMeFollowMeDeleteAlertingGroupRequest    \r
40     GroupFindMeFollowMeDeleteAlertingGroupSelectiveCriteriaRequest    \r
41     GroupFindMeFollowMeDeleteInstanceRequest    \r
42     GroupFindMeFollowMeGetAlertingGroupListRequest    \r
43     GroupFindMeFollowMeGetAlertingGroupRequest    \r
44     GroupFindMeFollowMeGetAlertingGroupSelectiveCriteriaRequest21    \r
45     GroupFindMeFollowMeGetInstanceListRequest    \r
46     GroupFindMeFollowMeGetInstanceRequest19sp1    \r
47     GroupFindMeFollowMeModifyActiveInstanceListRequest    \r
48     GroupFindMeFollowMeModifyAlertingGroupListRequest    \r
49     GroupFindMeFollowMeModifyAlertingGroupRequest    \r
50     GroupFindMeFollowMeModifyAlertingGroupSelectiveCriteriaRequest    \r
51     GroupFindMeFollowMeModifyInstanceRequest    \r
52     \r
53   --> \r
54   \r
55   <xs:complexType name="GroupFindMeFollowMeAddAlertingGroupRequest">\r
56     <xs:annotation>\r
57       <xs:documentation>\r
58         Add an alerting group to a Find-me/Follow-me instance.\r
59         The response is either SuccessResponse or ErrorResponse.\r
60       </xs:documentation>\r
61     </xs:annotation>\r
62     <xs:complexContent>\r
63       <xs:extension base="core:OCIRequest">\r
64         <xs:sequence>\r
65           <xs:element name="serviceUserId" type="UserId"/>\r
66           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName"/>\r
67           <xs:element name="alertingGroupDescription" type="FindMeFollowMeAlertingGroupDescription" minOccurs="0"/>\r
68           <xs:element name="useDiversionInhibitor" type="xs:boolean"/>\r
69           <xs:element name="answerConfirmationRequired" type="xs:boolean"/>\r
70           <xs:element name="numberOfRings" type="FindMeFollowMeAlertingGroupNumberOfRings"/>\r
71           <xs:choice minOccurs="0" maxOccurs="10">\r
72             <xs:element name="phoneNumber" type="OutgoingDNorSIPURI"/>\r
73             <xs:element name="userId" type="UserId"/>\r
74           </xs:choice>\r
75         </xs:sequence>\r
76       </xs:extension>\r
77     </xs:complexContent>\r
78   </xs:complexType>    \r
79     \r
80   <xs:complexType name="GroupFindMeFollowMeAddAlertingGroupSelectiveCriteriaRequest">\r
81     <xs:annotation>\r
82       <xs:documentation>\r
83         Add a criteria to the Find-me/Follow-me alerting group.\r
84         For the callToNumber, the extension and number elements are not used and the only types accepted for each number are Primary and Alternates. If other type is specified the command fails.\r
85         The response is either a SuccessResponse or an ErrorResponse.\r
86       </xs:documentation>\r
87     </xs:annotation>\r
88     <xs:complexContent>\r
89       <xs:extension base="core:OCIRequest">\r
90         <xs:sequence>\r
91           <xs:element name="serviceUserId" type="UserId"/>\r
92           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName"/>\r
93           <xs:element name="criteriaName" type="CriteriaName"/>\r
94           <xs:element name="timeSchedule" type="TimeSchedule" minOccurs="0"/>\r
95           <xs:element name="holidaySchedule" type="HolidaySchedule" minOccurs="0"/>\r
96           <xs:element name="blacklisted" type="xs:boolean"/>\r
97           <xs:element name="fromDnCriteria" type="CriteriaFromDn"/>\r
98           <xs:element name="callToNumber" type="CallToNumber" minOccurs="0" maxOccurs="unbounded"/>\r
99         </xs:sequence>\r
100       </xs:extension>\r
101     </xs:complexContent>\r
102   </xs:complexType>    \r
103     \r
104   <xs:complexType name="GroupFindMeFollowMeAddInstanceRequest">\r
105     <xs:annotation>\r
106       <xs:documentation>\r
107         Add a Find-me/Follow-me instance to a group.\r
108         The domain is required in the serviceUserId.\r
109         The response is either SuccessResponse or ErrorResponse.\r
110       </xs:documentation>\r
111     </xs:annotation>\r
112     <xs:complexContent>\r
113       <xs:extension base="core:OCIRequest">\r
114         <xs:sequence>\r
115           <xs:element name="serviceProviderId" type="ServiceProviderId"/>\r
116           <xs:element name="groupId" type="GroupId"/>\r
117           <xs:element name="serviceUserId" type="UserId"/>\r
118           <xs:element name="serviceInstanceProfile" type="ServiceInstanceAddProfile"/>\r
119           <xs:element name="networkClassOfService" type="NetworkClassOfServiceName" minOccurs="0"/>\r
120         </xs:sequence>\r
121       </xs:extension>\r
122     </xs:complexContent>\r
123   </xs:complexType>    \r
124     \r
125   <xs:complexType name="GroupFindMeFollowMeAlertingGroupGetAvailableUserListRequest">\r
126     <xs:annotation>\r
127       <xs:documentation>\r
128         Get a list of users that can be assigned to a Find-me/Follow-me alerting group.\r
129         The response is either GroupFindMeFollowMeAlertingGroupGetAvailableUserListResponse or ErrorResponse.\r
130       </xs:documentation>\r
131     </xs:annotation>\r
132     <xs:complexContent>\r
133       <xs:extension base="core:OCIRequest">\r
134         <xs:sequence>\r
135           <xs:element name="serviceProviderId" type="ServiceProviderId"/>\r
136           <xs:element name="groupId" type="GroupId"/>\r
137           <xs:element name="responseSizeLimit" type="ResponseSizeLimit" minOccurs="0"/>\r
138           <xs:element name="searchCriteriaUserLastName" type="SearchCriteriaUserLastName" minOccurs="0" maxOccurs="unbounded"/>\r
139           <xs:element name="searchCriteriaUserFirstName" type="SearchCriteriaUserFirstName" minOccurs="0" maxOccurs="unbounded"/>\r
140           <xs:element name="searchCriteriaExactUserDepartment" type="SearchCriteriaExactUserDepartment" minOccurs="0"/>\r
141           <xs:element name="searchCriteriaUserId" type="SearchCriteriaUserId" minOccurs="0" maxOccurs="unbounded"/>\r
142           <xs:element name="searchCriteriaDn" type="SearchCriteriaDn" minOccurs="0" maxOccurs="unbounded"/>\r
143           <xs:element name="searchCriteriaExtension" type="SearchCriteriaExtension" minOccurs="0" maxOccurs="unbounded"/>\r
144         </xs:sequence>\r
145       </xs:extension>\r
146     </xs:complexContent>\r
147   </xs:complexType>    \r
148     \r
149   <xs:complexType name="GroupFindMeFollowMeAlertingGroupGetAvailableUserListResponse">\r
150     <xs:annotation>\r
151       <xs:documentation>\r
152         Response to the GroupFindMeFollowMeAlertingGroupGetAvailableUserListRequest.\r
153         Contains a table with column headings: "User Id", "Last Name", "First Name", "Hiragana Last Name", \r
154         "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address".\r
155       </xs:documentation>\r
156     </xs:annotation>\r
157     <xs:complexContent>\r
158       <xs:extension base="core:OCIDataResponse">\r
159         <xs:sequence>\r
160           <xs:element name="userTable" type="core:OCITable"/>\r
161         </xs:sequence>\r
162       </xs:extension>\r
163     </xs:complexContent>\r
164   </xs:complexType>    \r
165     \r
166   <xs:complexType name="GroupFindMeFollowMeDeleteAlertingGroupRequest">\r
167     <xs:annotation>\r
168       <xs:documentation>\r
169         Delete an alerting group from a Find-me/Follow-me instance.\r
170         The response is either SuccessResponse or ErrorResponse.\r
171       </xs:documentation>\r
172     </xs:annotation>\r
173     <xs:complexContent>\r
174       <xs:extension base="core:OCIRequest">\r
175         <xs:sequence>\r
176           <xs:element name="serviceUserId" type="UserId"/>\r
177           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName"/>\r
178         </xs:sequence>\r
179       </xs:extension>\r
180     </xs:complexContent>\r
181   </xs:complexType>    \r
182     \r
183   <xs:complexType name="GroupFindMeFollowMeDeleteAlertingGroupSelectiveCriteriaRequest">\r
184     <xs:annotation>\r
185       <xs:documentation>\r
186         Delete a criteria from the Find-me/Follow-me alerting group.\r
187         The response is either a SuccessResponse or an ErrorResponse.\r
188       </xs:documentation>\r
189     </xs:annotation>\r
190     <xs:complexContent>\r
191       <xs:extension base="core:OCIRequest">\r
192         <xs:sequence>\r
193           <xs:element name="serviceUserId" type="UserId"/>\r
194           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName"/>\r
195           <xs:element name="criteriaName" type="CriteriaName"/>\r
196         </xs:sequence>\r
197       </xs:extension>\r
198     </xs:complexContent>\r
199   </xs:complexType>    \r
200     \r
201   <xs:complexType name="GroupFindMeFollowMeDeleteInstanceRequest">\r
202     <xs:annotation>\r
203       <xs:documentation>\r
204         Delete a Find-me/Follow-me instance from a group.\r
205         The response is either SuccessResponse or ErrorResponse.\r
206       </xs:documentation>\r
207     </xs:annotation>\r
208     <xs:complexContent>\r
209       <xs:extension base="core:OCIRequest">\r
210         <xs:sequence>\r
211           <xs:element name="serviceUserId" type="UserId"/>\r
212         </xs:sequence>\r
213       </xs:extension>\r
214     </xs:complexContent>\r
215   </xs:complexType>    \r
216     \r
217   <xs:complexType name="GroupFindMeFollowMeGetAlertingGroupListRequest">\r
218     <xs:annotation>\r
219       <xs:documentation>\r
220         Get a list of Find-me/Follow-me alerting groups within a group.\r
221         The response is either GroupFindMeFollowMeGetAlertingGroupListResponse or ErrorResponse.\r
222       </xs:documentation>\r
223     </xs:annotation>\r
224     <xs:complexContent>\r
225       <xs:extension base="core:OCIRequest">\r
226         <xs:sequence>\r
227           <xs:element name="serviceUserId" type="UserId"/>\r
228         </xs:sequence>\r
229       </xs:extension>\r
230     </xs:complexContent>\r
231   </xs:complexType>    \r
232     \r
233   <xs:complexType name="GroupFindMeFollowMeGetAlertingGroupListResponse">\r
234     <xs:annotation>\r
235       <xs:documentation>\r
236         Response to the GroupFindMeFollowMeGetAlertingGroupListRequest.\r
237         Contains a table with column headings:\r
238         "Name", "Priority".\r
239       </xs:documentation>\r
240     </xs:annotation>\r
241     <xs:complexContent>\r
242       <xs:extension base="core:OCIDataResponse">\r
243         <xs:sequence>\r
244           <xs:element name="alertingGroupTable" type="core:OCITable"/>\r
245         </xs:sequence>\r
246       </xs:extension>\r
247     </xs:complexContent>\r
248   </xs:complexType>    \r
249     \r
250   <xs:complexType name="GroupFindMeFollowMeGetAlertingGroupRequest">\r
251     <xs:annotation>\r
252       <xs:documentation>\r
253         Request to get all the information of a Find-me/Follow-me alerting group.\r
254         The response is either GroupFindMeFollowMeGetAlertingGroupResponse or ErrorResponse.\r
255       </xs:documentation>\r
256     </xs:annotation>\r
257     <xs:complexContent>\r
258       <xs:extension base="core:OCIRequest">\r
259         <xs:sequence>\r
260           <xs:element name="serviceUserId" type="UserId"/>\r
261           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName"/>\r
262         </xs:sequence>\r
263       </xs:extension>\r
264     </xs:complexContent>\r
265   </xs:complexType>    \r
266     \r
267   <xs:complexType name="GroupFindMeFollowMeGetAlertingGroupResponse">\r
268     <xs:annotation>\r
269       <xs:documentation>\r
270         Response to GroupFindMeFollowMeGetAlertingGroupRequest.\r
271         Contains the alerting group information.\r
272               The user table’s column headings are: "User Id", "Last Name", "First Name", "Hiragana Last Name" and "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address".\r
273         The criteria table's column headings are: "Is Active", "Criteria Name", "Time Schedule", "Calls From", "Blacklisted", "Holiday Schedule"", "Calls To Type", "Calls To Number" and "Calls To Extension".\r
274         The possible values for the "Calls To Type" column are the following or a combination of them separated by comma:\r
275           - Primary\r
276           - Alternate X (where x is a number between 1 and 10)\r
277           The possible values for the "Calls To Number" column are the following or a combination of them separated by comma:\r
278           - The value of the phone number for the corresponding Calls To Type, when the number is available. i.e. Alternate 1 may have extension, but no number.\r
279           - When no number is available a blank space is provided instead.\r
280         The possible values for the "Calls To Extension" column are the following or a combination of them separated by comma:\r
281           - The value of the extension for the corresponding Calls To Type, when the extension is available. i.e. Primary may have number, but no extension.\r
282           - When no extension is available a blank space is provided instead.\r
283       </xs:documentation>\r
284     </xs:annotation>\r
285     <xs:complexContent>\r
286       <xs:extension base="core:OCIDataResponse">\r
287         <xs:sequence>\r
288           <xs:element name="alertingGroupDescription" type="FindMeFollowMeAlertingGroupDescription" minOccurs="0"/>\r
289           <xs:element name="useDiversionInhibitor" type="xs:boolean"/>\r
290           <xs:element name="answerConfirmationRequired" type="xs:boolean"/>\r
291           <xs:element name="numberOfRings" type="FindMeFollowMeAlertingGroupNumberOfRings"/>\r
292           <xs:element name="phoneNumber" type="OutgoingDNorSIPURI" minOccurs="0" maxOccurs="unbounded"/>\r
293           <xs:element name="userTable" type="core:OCITable"/>\r
294           <xs:element name="criteriaTable" type="core:OCITable"/>\r
295         </xs:sequence>\r
296       </xs:extension>\r
297     </xs:complexContent>\r
298   </xs:complexType>    \r
299     \r
300   <xs:complexType name="GroupFindMeFollowMeGetAlertingGroupSelectiveCriteriaRequest21">\r
301     <xs:annotation>\r
302       <xs:documentation>\r
303         Request to get all the information of a specific Find-me/Follow-me alerting group selective criteria.\r
304         The response is either GroupFindMeFollowMeGetAlertingGroupResponse21 or ErrorResponse.\r
305       </xs:documentation>\r
306     </xs:annotation>\r
307     <xs:complexContent>\r
308       <xs:extension base="core:OCIRequest">\r
309         <xs:sequence>\r
310           <xs:element name="serviceUserId" type="UserId"/>\r
311           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName"/>\r
312           <xs:element name="criteriaName" type="CriteriaName"/>\r
313         </xs:sequence>\r
314       </xs:extension>\r
315     </xs:complexContent>\r
316   </xs:complexType>    \r
317     \r
318   <xs:complexType name="GroupFindMeFollowMeGetAlertingGroupSelectiveCriteriaResponse21">\r
319     <xs:annotation>\r
320       <xs:documentation>\r
321         Response to GroupFindMeFollowMeGetAlertingGroupSelectiveCriteriaRequest21.\r
322         Contains the alerting group selective criteria information.\r
323       </xs:documentation>\r
324     </xs:annotation>\r
325     <xs:complexContent>\r
326       <xs:extension base="core:OCIDataResponse">\r
327         <xs:sequence>\r
328           <xs:element name="timeSchedule" type="TimeSchedule" minOccurs="0"/>\r
329           <xs:element name="holidaySchedule" type="HolidaySchedule" minOccurs="0"/>\r
330           <xs:element name="blacklisted" type="xs:boolean"/>\r
331           <xs:element name="fromDnCriteria" type="CriteriaFromDn"/>\r
332           <xs:element name="callToNumber" type="CallToNumber" minOccurs="0" maxOccurs="unbounded"/>\r
333         </xs:sequence>\r
334       </xs:extension>\r
335     </xs:complexContent>\r
336   </xs:complexType>    \r
337     \r
338   <xs:complexType name="GroupFindMeFollowMeGetInstanceListRequest">\r
339     <xs:annotation>\r
340       <xs:documentation>\r
341         Get a list of Find-me/Follow-me instances within a group.\r
342         The response is either GroupFindMeFollowMeGetInstanceListResponse or ErrorResponse.\r
343         It is possible to get the instances within a specified department.\r
344       </xs:documentation>\r
345     </xs:annotation>\r
346     <xs:complexContent>\r
347       <xs:extension base="core:OCIRequest">\r
348         <xs:sequence>\r
349           <xs:element name="serviceProviderId" type="ServiceProviderId"/>\r
350           <xs:element name="groupId" type="GroupId"/>\r
351           <xs:element name="groupDepartmentName" type="DepartmentName" minOccurs="0"/>\r
352         </xs:sequence>\r
353       </xs:extension>\r
354     </xs:complexContent>\r
355   </xs:complexType>    \r
356     \r
357   <xs:complexType name="GroupFindMeFollowMeGetInstanceListResponse">\r
358     <xs:annotation>\r
359       <xs:documentation>\r
360         Response to the GroupFindMeFollowMeGetInstanceListRequest.\r
361         Contains a table with column headings:\r
362         "Service User Id", "Name", "Phone Number", "Extension", "Department", "Is Active".\r
363         The column value for "Is Active" can either be true, or false.\r
364       </xs:documentation>\r
365     </xs:annotation>\r
366     <xs:complexContent>\r
367       <xs:extension base="core:OCIDataResponse">\r
368         <xs:sequence>\r
369           <xs:element name="findMeFollowMeTable" type="core:OCITable"/>\r
370         </xs:sequence>\r
371       </xs:extension>\r
372     </xs:complexContent>\r
373   </xs:complexType>    \r
374     \r
375   <xs:complexType name="GroupFindMeFollowMeGetInstanceRequest19sp1">\r
376     <xs:annotation>\r
377       <xs:documentation>\r
378         Request to get all the information of a Find-me/Follow-me instance.\r
379         The response is either GroupFindMeFollowMeGetInstanceResponse19sp1 or ErrorResponse.\r
380       </xs:documentation>\r
381     </xs:annotation>\r
382     <xs:complexContent>\r
383       <xs:extension base="core:OCIRequest">\r
384         <xs:sequence>\r
385           <xs:element name="serviceUserId" type="UserId"/>\r
386         </xs:sequence>\r
387       </xs:extension>\r
388     </xs:complexContent>\r
389   </xs:complexType>    \r
390     \r
391   <xs:complexType name="GroupFindMeFollowMeGetInstanceResponse19sp1">\r
392     <xs:annotation>\r
393       <xs:documentation>\r
394         Response to GroupFindMeFollowMeGetInstanceRequest19sp1.\r
395         Contains the service profile information.\r
396       </xs:documentation>\r
397     </xs:annotation>\r
398     <xs:complexContent>\r
399       <xs:extension base="core:OCIDataResponse">\r
400         <xs:sequence>\r
401           <xs:element name="serviceInstanceProfile" type="ServiceInstanceReadProfile19sp1"/>\r
402           <xs:element name="networkClassOfService" type="NetworkClassOfServiceName" minOccurs="0"/>\r
403         </xs:sequence>\r
404       </xs:extension>\r
405     </xs:complexContent>\r
406   </xs:complexType>    \r
407     \r
408   <xs:complexType name="GroupFindMeFollowMeModifyActiveInstanceListRequest">\r
409     <xs:annotation>\r
410       <xs:documentation>\r
411         Request to set the active status of Find-me/Follow-me instances.\r
412         The response is either SuccessResponse or ErrorResponse.\r
413       </xs:documentation>\r
414     </xs:annotation>\r
415     <xs:complexContent>\r
416       <xs:extension base="core:OCIRequest">\r
417         <xs:sequence>\r
418           <xs:element name="serviceActivation" type="ServiceActivation" minOccurs="0" maxOccurs="unbounded"/>\r
419         </xs:sequence>\r
420       </xs:extension>\r
421     </xs:complexContent>\r
422   </xs:complexType>    \r
423     \r
424   <xs:complexType name="GroupFindMeFollowMeModifyAlertingGroupListRequest">\r
425     <xs:annotation>\r
426       <xs:documentation>\r
427         Modify the priorities assigned to alerting groups\r
428         The response is either a SuccessResponse or an ErrorResponse.\r
429         NOTE: The command fails if all the alerting groups defined for the user are not provided.\r
430       </xs:documentation>\r
431     </xs:annotation>\r
432     <xs:complexContent>\r
433       <xs:extension base="core:OCIRequest">\r
434         <xs:sequence>\r
435           <xs:element name="serviceUserId" type="UserId"/>\r
436           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName" minOccurs="0" maxOccurs="5"/>\r
437         </xs:sequence>\r
438       </xs:extension>\r
439     </xs:complexContent>\r
440   </xs:complexType>    \r
441     \r
442   <xs:complexType name="GroupFindMeFollowMeModifyAlertingGroupRequest">\r
443     <xs:annotation>\r
444       <xs:documentation>\r
445         Modify a Find-me/Follow-me alerting group.\r
446         The response is either SuccessResponse or ErrorResponse.\r
447       </xs:documentation>\r
448     </xs:annotation>\r
449     <xs:complexContent>\r
450       <xs:extension base="core:OCIRequest">\r
451         <xs:sequence>\r
452           <xs:element name="serviceUserId" type="UserId"/>\r
453           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName"/>\r
454           <xs:element name="newAlertingGroupName" type="FindMeFollowMeAlertingGroupName" minOccurs="0"/>\r
455           <xs:element name="alertingGroupDescription" type="FindMeFollowMeAlertingGroupDescription" minOccurs="0" nillable="true"/>\r
456           <xs:element name="useDiversionInhibitor" type="xs:boolean" minOccurs="0"/>\r
457           <xs:element name="answerConfirmationRequired" type="xs:boolean" minOccurs="0"/>\r
458           <xs:element name="numberOfRings" type="FindMeFollowMeAlertingGroupNumberOfRings" minOccurs="0"/>\r
459           <xs:element name="phoneNumberOrUserList" type="FindMeFollowMeAlertingGroupReplacementOutgoingDNSIPURIorUserIdList" nillable="true" minOccurs="0"/>\r
460           <xs:element name="criteriaActivation" type="CriteriaActivation" minOccurs="0" maxOccurs="unbounded"/>\r
461         </xs:sequence>\r
462       </xs:extension>\r
463     </xs:complexContent>\r
464   </xs:complexType>    \r
465     \r
466   <xs:complexType name="GroupFindMeFollowMeModifyAlertingGroupSelectiveCriteriaRequest">\r
467     <xs:annotation>\r
468       <xs:documentation>\r
469         Modify a Find-me/Follow-me alerting group criteria.\r
470         For the callToNumbers in the callToNumberList, the extension and number elements are not used and the only types accepted for each number are Primary and Alternates. If other type is specified the command fails.\r
471         The response is either a SuccessResponse or an ErrorResponse.\r
472       </xs:documentation>\r
473     </xs:annotation>\r
474     <xs:complexContent>\r
475       <xs:extension base="core:OCIRequest">\r
476         <xs:sequence>\r
477           <xs:element name="serviceUserId" type="UserId"/>\r
478           <xs:element name="alertingGroupName" type="FindMeFollowMeAlertingGroupName"/>\r
479           <xs:element name="criteriaName" type="CriteriaName"/>\r
480           <xs:element name="newCriteriaName" type="CriteriaName" minOccurs="0"/>\r
481           <xs:element name="timeSchedule" type="TimeSchedule" nillable="true" minOccurs="0"/>\r
482           <xs:element name="fromDnCriteria" type="CriteriaFromDnModify" minOccurs="0"/>\r
483           <xs:element name="holidaySchedule" type="HolidaySchedule" nillable="true" minOccurs="0"/>\r
484           <xs:element name="blacklisted" type="xs:boolean" minOccurs="0"/>\r
485           <xs:element name="callToNumberList" type="ReplacementCallToNumberList" nillable="true" minOccurs="0"/>\r
486         </xs:sequence>\r
487       </xs:extension>\r
488     </xs:complexContent>\r
489   </xs:complexType>    \r
490     \r
491   <xs:complexType name="GroupFindMeFollowMeModifyInstanceRequest">\r
492     <xs:annotation>\r
493       <xs:documentation>\r
494         Request to modify a Find-me/Follow-me instance.\r
495         The response is either SuccessResponse or ErrorResponse.\r
496       </xs:documentation>\r
497     </xs:annotation>\r
498     <xs:complexContent>\r
499       <xs:extension base="core:OCIRequest">\r
500         <xs:sequence>\r
501           <xs:element name="serviceUserId" type="UserId"/>\r
502           <xs:element name="serviceInstanceProfile" type="ServiceInstanceModifyProfile" minOccurs="0"/>\r
503           <xs:element name="networkClassOfService" type="NetworkClassOfServiceName" minOccurs="0"/>\r
504         </xs:sequence>\r
505       </xs:extension>\r
506     </xs:complexContent>\r
507   </xs:complexType>    \r
508     \r
509   <xs:simpleType name="FindMeFollowMeAlertingGroupDescription">\r
510     <xs:annotation>\r
511       <xs:documentation>\r
512         Find-me/Follow-me alerting group description.\r
513       </xs:documentation>\r
514     </xs:annotation>\r
515     <xs:restriction base="xs:token">\r
516       <xs:minLength value="1"/>\r
517       <xs:maxLength value="80"/>\r
518     </xs:restriction>\r
519   </xs:simpleType>    \r
520     \r
521   <xs:simpleType name="FindMeFollowMeAlertingGroupName">\r
522     <xs:annotation>\r
523       <xs:documentation>\r
524         Find-me/Follow-me alerting group name.\r
525       </xs:documentation>\r
526     </xs:annotation>\r
527     <xs:restriction base="xs:token">\r
528       <xs:minLength value="1"/>\r
529       <xs:maxLength value="40"/>\r
530     </xs:restriction>\r
531   </xs:simpleType>    \r
532     \r
533   <xs:simpleType name="FindMeFollowMeAlertingGroupNumberOfRings">\r
534     <xs:annotation>\r
535       <xs:documentation>\r
536         Number of rings to wait for the current alerting group to answer before attempting the next alerting group.\r
537       </xs:documentation>\r
538     </xs:annotation>\r
539     <xs:restriction base="xs:int">\r
540       <xs:minInclusive value="2"/>\r
541       <xs:maxInclusive value="20"/>\r
542     </xs:restriction>\r
543   </xs:simpleType>    \r
544     \r
545   <xs:complexType name="FindMeFollowMeAlertingGroupReplacementOutgoingDNSIPURIorUserIdList">\r
546     <xs:annotation>\r
547       <xs:documentation>\r
548         A list of phone numbers/sipuris or user ids that replaces a previously configured list.\r
549         By convention, an element of this type may be set nill to clear the list.\r
550       </xs:documentation>\r
551     </xs:annotation>\r
552     <xs:sequence>\r
553       <xs:choice minOccurs="0" maxOccurs="10">\r
554         <xs:element name="phoneNumber" type="OutgoingDNorSIPURI"/>\r
555         <xs:element name="userId" type="UserId"/>\r
556       </xs:choice>\r
557     </xs:sequence>\r
558   </xs:complexType>    \r
559     \r
560 </xs:schema>\r