1 <?xml version="1.0" encoding="UTF-8"?>
\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
8 <!-- C A L L I N G P L A N S E R V I C E -->
\r
10 <!-- This file defines the XML Schema for the BroadSoft Application Server -->
\r
11 <!-- Open Client Interface (OCI). -->
\r
12 <!-- ********************************************************************** -->
\r
14 <xs:schema xmlns:xs = "http://www.w3.org/2001/XMLSchema"
\r
17 attributeFormDefault = "qualified"
\r
18 elementFormDefault = "qualified">
\r
20 <xs:import namespace = "C"
\r
21 schemaLocation = "../OCISchemaBASE.xsd"/>
\r
23 <xs:include schemaLocation="../OCISchemaDataTypes.xsd"/>
\r
25 <!-- ********************************************************************************** -->
\r
26 <!-- C A L L I N G P L A N R E Q U E S T S A N D R E S P O N S E S -->
\r
27 <!-- ********************************************************************************** -->
\r
29 Requests and responses are listed here in alphabetical order.
\r
30 The non-primitive attributes inside the commands are defined in another
\r
31 section of the schema.
\r
33 Requests in this schema file:
\r
34 GroupCallingPlanAddDigitPatternRequest
\r
35 GroupCallingPlanDeleteDigitPatternListRequest
\r
36 GroupCallingPlanGetDigitPatternListRequest
\r
37 GroupCallingPlanModifyDigitPatternRequest
\r
41 <xs:complexType name="GroupCallingPlanAddDigitPatternRequest">
\r
44 Add a new calling plan digit string.
\r
45 The response is either a SuccessResponse or an ErrorResponse.
\r
49 <xs:extension base="core:OCIRequest">
\r
51 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
52 <xs:element name="groupId" type="GroupId"/>
\r
53 <xs:element name="name" type="CallingPlanDigitPatternName"/>
\r
54 <xs:element name="digitPattern" type="CallingPlanDigitPattern"/>
\r
57 </xs:complexContent>
\r
60 <xs:complexType name="GroupCallingPlanDeleteDigitPatternListRequest">
\r
63 Delete one or more calling plan digit strings.
\r
64 The response is either a SuccessResponse or an ErrorResponse.
\r
68 <xs:extension base="core:OCIRequest">
\r
70 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
71 <xs:element name="groupId" type="GroupId"/>
\r
72 <xs:element name="name" type="CallingPlanDigitPatternName" minOccurs="1" maxOccurs="unbounded"/>
\r
75 </xs:complexContent>
\r
78 <xs:complexType name="GroupCallingPlanGetDigitPatternListRequest">
\r
81 Get the list of calling plan digit strings for a group.
\r
82 The response is either a GroupCallingPlanGetDigitPatternListResponse or an ErrorResponse.
\r
86 <xs:extension base="core:OCIRequest">
\r
88 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
89 <xs:element name="groupId" type="GroupId"/>
\r
92 </xs:complexContent>
\r
95 <xs:complexType name="GroupCallingPlanGetDigitPatternListResponse">
\r
98 Response to GroupCallingPlanGetDigitPatternListRequest.
\r
99 Contains a table with column headings: "Name", "Digit Pattern".
\r
100 </xs:documentation>
\r
102 <xs:complexContent>
\r
103 <xs:extension base="core:OCIDataResponse">
\r
105 <xs:element name="digitPatternTable" type="core:OCITable"/>
\r
108 </xs:complexContent>
\r
111 <xs:complexType name="GroupCallingPlanModifyDigitPatternRequest">
\r
114 Modify a calling plan digit string. The name is a key; it cannot be changed.
\r
115 The response is either a SuccessResponse or an ErrorResponse.
\r
116 </xs:documentation>
\r
118 <xs:complexContent>
\r
119 <xs:extension base="core:OCIRequest">
\r
121 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
122 <xs:element name="groupId" type="GroupId"/>
\r
123 <xs:element name="name" type="CallingPlanDigitPatternName"/>
\r
124 <xs:element name="digitPattern" type="CallingPlanDigitPattern" minOccurs="0"/>
\r
127 </xs:complexContent>
\r
130 <xs:simpleType name="CallingPlanDigitPattern">
\r
133 Digit patterns that are used to restrict calls in the Incoming Calling Plan and Outgoing Calling Plan.
\r
134 The digit pattern may contain digits 0-9,+,?, and trailing * digit.
\r
135 Starting in Rel.14.sp4 digit patterns can also contain '#', and '*' digits anywhere in the string. To distinguish between a '*' as a digit from '*' as a wildcard character, a back-slash character shall be used as an escape in front of '*' being a digit. Note that '*' as a wildcard is still only allowed at the end of string.
\r
136 Starting in Rel.17.sp3, the range syntax [n1-n2] is also supported, where n1 and n2 denotes a digit in the range 0 to 9. Also the maximum length is increased to 160.
\r
137 </xs:documentation>
\r
139 <xs:restriction base="xs:token">
\r
140 <xs:minLength value="1"/>
\r
141 <xs:maxLength value="160"/>
\r