List of XML Schema Definitions and sample XMLs for bulk import

Last Updated : Oct 03, 2025 |

The section contains the XML Schema Definition and sample XML snippets for bulk import of users, global setting records, elements, endpoint profiles, Messaging profiles, CS 1000 profiles, IP Office profiles, agent profiles, Session Manager profiles, Presence profiles, Avaya Breeze® platform, Work Assignment, Avaya Messaging, and Avaya Meetings Server profiles.

Note:

You cannot use the following characters as is in the XML file. To use the characters in the import of XML files, make the following modifications:

  • Less-than character (<) as &lt;

  • Ampersand character (&) as &amp;

  • Greater-than character (>) as &gt;

  • Double-quote character (") as &quot;

  • Apostrophe or single-quote character (') as &apos;

If you copy the XML schema from the document, take care of the line breaks.

If you are using the Import User operation and you want to edit buttons on the Communication Manager endpoint, ensure that the XML file for the buttons matches the configuration on the endpoint.

For example, for the J179 settype, the following are supported:
  • buttons tag: 8 main buttons

  • featureButtons tag: 16 feature buttons

  • expansionModuleButtons tag: 72 expansion module buttons (3 button modules and 24 buttons on each button module)

In this J179 scenario, you should only configure the following number of buttons for each button type:
  • <number> value for <buttons> tag can have a value between 1 to 8

  • <number> value for <featureButtons> tag can have a value between 1 to 16

  • <number> value for <expansionModuleButtons> tag can have a value between 1 to 72

XML Schema Definition for bulk import of users

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:tns="http://xml.avaya.com/schema/import" xmlns:ext="http://xml.avaya.com/schema/import" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.avaya.com/schema/import" version="2.0">
	<xs:element name="secureStore" type="tns:xmlSecureStore"/>
	<xs:element name="user" type="tns:xmlUser"/>
	<xs:element name="users">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="secureStore" type="tns:xmlSecureStore" minOccurs="0" maxOccurs="1"/>
				<xs:element name="user" type="tns:xmlUser" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="xmlUser">
		<xs:sequence>
			<xs:element name="UserOrganizationDetails"  type="tns:UserOrganizationDetailsType"
				maxOccurs="1" minOccurs="0" />
			<xs:element name="UserProvisionRules" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="UserProvisionRuleName" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>	
			<xs:element name="authenticationType" type="xs:string"
				minOccurs="1" maxOccurs="1" />
			<xs:element name="description" type="xs:string"
				minOccurs="0" />
			<xs:element name="displayName" type="xs:string"
				minOccurs="0" />
			<xs:element name="displayNameAscii" type="xs:string"
				minOccurs="0" />
			<xs:element name="dn" type="xs:string" minOccurs="0" />
			<xs:element name="isDuplicatedLoginAllowed"
				type="xs:boolean" minOccurs="0" />
			<xs:element name="isEnabled" type="xs:boolean" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="isVirtualUser" type="xs:boolean"
				minOccurs="0" />
			<xs:element name="givenName" type="xs:string" minOccurs="1"
				maxOccurs="1" />
			<xs:element name="givenNameAscii" type="xs:string" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="honorific" type="xs:string" minOccurs="0" />
			<xs:element name="loginName" minOccurs="1" maxOccurs="1">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="128" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="newLoginName" minOccurs="0" maxOccurs="1">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="128" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="employeeNo" type="xs:string"
				minOccurs="0" maxOccurs="1">
			</xs:element>
			<xs:element name="department" type="xs:string" minOccurs="0"
				maxOccurs="1">
			</xs:element>
			<xs:element name="organization" type="xs:string"
				minOccurs="0" maxOccurs="1">
			</xs:element>
			<xs:element name="middleName" type="xs:string"
				minOccurs="0" />
			<xs:element name="managerName" type="xs:string"
				minOccurs="0" />
			<xs:element name="preferredGivenName" type="xs:string"
				minOccurs="0" />
			<xs:element name="preferredLanguage" type="xs:string"
				minOccurs="0" />
			<xs:element name="source" type="xs:string" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="sourceUserKey" type="xs:string"
				minOccurs="0" maxOccurs="1" />
			<xs:element name="status" type="xs:string" minOccurs="0" />
			<xs:element name="suffix" type="xs:string" minOccurs="0" />
			<xs:element name="surname" type="xs:string" minOccurs="1"
				maxOccurs="1" />
			<xs:element name="surnameAscii" type="xs:string" minOccurs="0" 
				maxOccurs="1" />				
			<xs:element name="timeZone" type="xs:string" minOccurs="0" />
			<xs:element name="title" type="xs:string" minOccurs="0" />
			<xs:element name="userName" type="xs:string" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="userPassword" type="xs:string"
				minOccurs="0" />
			<xs:element name="commPassword" type="xs:string"
				minOccurs="0" />
			<xs:element name="userType" type="xs:string" minOccurs="0"
				maxOccurs="unbounded" />
			<xs:element name="roles" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="role" type="xs:string"
							minOccurs="0" maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		<xs:element name="localizedNames" type="tns:xmLocalizedNames" minOccurs="0" maxOccurs="1"></xs:element>
			<xs:element name="address" type="tns:xmlAddress"
				minOccurs="0" maxOccurs="unbounded" />
			<xs:element name="securityIdentity"
				type="tns:xmlSecurityIdentity" minOccurs="0" maxOccurs="unbounded" />
			<!-- Contact list Entries -->
			<xs:element name="ownedContactLists" minOccurs="0"
				maxOccurs="1">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="contactList"
							type="tns:xmlContactList" maxOccurs="1" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ownedContacts" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="contact" type="tns:xmlContact"
							maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<!-- Presence ACL User Entries -->
			<xs:element name="presenceUserDefault"
				type="tns:xmlPresUserDefaultType" minOccurs="0" />
			<xs:element name="presenceUserACL"
				type="tns:xmlPresUserACLEntryType" minOccurs="0"
				maxOccurs="unbounded" />
			<xs:element name="presenceUserCLDefault"
				type="tns:xmlPresUserCLDefaultType" minOccurs="0" maxOccurs="1" />
			<xs:element name="commProfileSet"
				type="tns:xmlCommProfileSetType" minOccurs="0"
				maxOccurs="unbounded" />

		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlSecurityIdentity">
		<xs:sequence>
			<xs:element name="identity" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="realm" type="xs:string" minOccurs="0"/>
			<xs:element name="type" type="xs:string" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlPresInfoTypeAccessType">
		<xs:sequence>
			<xs:element name="infoType" type="tns:xmlPresInfoTypeType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="access" type="xs:string" minOccurs="0" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlPresACRuleType">
		<xs:sequence>
			<xs:element name="infoTypeAccess" type="tns:xmlPresInfoTypeAccessType" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlPresUserDefaultType">
		<xs:complexContent>
			<xs:extension base="tns:xmlPresACRuleType"/>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="xmlPresUserCLDefaultType">
		<xs:complexContent>
			<xs:extension base="tns:xmlPresACRuleType"/>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="xmlPresUserACLEntryType">
		<xs:complexContent>
			<xs:extension base="tns:xmlPresACRuleType">
				<xs:sequence>
					<xs:choice>
						<xs:element name="watcherLoginName" type="xs:string" minOccurs="0"/>
						<xs:element name="watcherDisplayName" type="xs:string" minOccurs="0"/>
					</xs:choice>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="xmlPresInfoTypeType">
		<xs:sequence>
			<xs:element name="label" type="xs:string" maxOccurs="1"/>
			<xs:element name="filter" type="xs:string" maxOccurs="1"/>
			<xs:element name="specFlags" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<!-- Contact List entries -->
	<xs:complexType name="xmlContactList">
		<xs:sequence>
			<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="description" type="xs:string" minOccurs="0"/>
			<xs:element name="isPublic" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
			<xs:element name="members" type="tns:xmlContactListMember" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="contactListType" type="xs:string" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlContactListMember">
		<xs:sequence>
			<xs:choice>
				<xs:sequence>
					<xs:element name="memberContact" type="xs:string" minOccurs="0"/>
					<xs:element name="speedDialContactAddress" type="tns:xmlContactAddress" minOccurs="0"/>
				</xs:sequence>
				<xs:sequence>
					<xs:element name="memberUser" type="xs:string" minOccurs="0"/>
					<xs:element name="speedDialHandle" type="tns:xmlHandle" minOccurs="0"/>
				</xs:sequence>
			</xs:choice>
			<xs:element name="isFavorite" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
			<xs:element name="isSpeedDial" type="xs:boolean" minOccurs="1"/>
			<xs:element name="speedDialEntry" type="xs:int" minOccurs="0"/>
			<xs:element name="isPresenceBuddy" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
			<xs:element name="label" type="xs:string" minOccurs="0"/>
			<xs:element name="altLabel" type="xs:string" minOccurs="0"/>
			<xs:element name="description" type="xs:string" minOccurs="0"/>
			<xs:element name="priorityLevel" type="xs:int" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlContactAddress">
		<xs:sequence>
			<xs:element name="address" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="altLabel" type="xs:string" minOccurs="0"/>
			<xs:element name="contactCategory" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="contactType" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="label" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlAddress">
		<xs:sequence>
			<xs:element name="addressType" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="building" type="xs:string" minOccurs="0"/>
			<xs:element name="localityName" type="xs:string" minOccurs="0"/>
			<xs:element name="postalCode" type="xs:string" minOccurs="0"/>
			<!-- Additional Attribute Support - The attribute room will be mapped to cubical.-->
			<xs:element name="room" type="xs:string" minOccurs="0"/>
			<xs:element name="stateOrProvince" type="xs:string" minOccurs="0"/>
			<xs:element name="country" type="xs:string" minOccurs="0"/>
			<xs:element name="street" type="xs:string" minOccurs="0"/>
			<!-- Additional Attribute Support -->
			<xs:element name="businessphone" type="xs:string" minOccurs="0"/>
			<xs:element name="otherbusinessphone" type="xs:string" minOccurs="0"/>
			<xs:element name="fax" type="xs:string" minOccurs="0"/>
			<xs:element name="homephone" type="xs:string" minOccurs="0"/>
			<xs:element name="otherhomephone" type="xs:string" minOccurs="0"/>
			<xs:element name="mobilephone" type="xs:string" minOccurs="0"/>
			<xs:element name="othermobilephone" type="xs:string" minOccurs="0"/>
			<xs:element name="pager" type="xs:string" minOccurs="0"/>
			<xs:element name="pager2" type="xs:string" minOccurs="0"/>
			<!-- Additional Attribute Support - End -->
			<xs:element name="postalAddress" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="1024"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="isPrivate" type="xs:boolean" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlContact">
		<xs:sequence>
			<xs:element name="company" type="xs:string" minOccurs="0"/>
			<xs:element name="description" type="xs:string" minOccurs="0"/>
			<xs:element name="displayName" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="displayNameAscii" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="dn" type="xs:string" minOccurs="0"/>
			<xs:element name="givenName" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="givenNameAscii" type="xs:string" minOccurs="0" maxOccurs="1"/>
			<xs:element name="initials" type="xs:string" minOccurs="0"/>
			<xs:element name="middleName" type="xs:string" minOccurs="0"/>
			<xs:element name="preferredGivenName" type="xs:string" minOccurs="0" maxOccurs="1"/>
			<xs:element name="preferredLanguage" type="xs:string" minOccurs="0"/>
			<xs:element name="isPublic" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
			<xs:element name="source" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="sourceUserKey" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="suffix" type="xs:string" minOccurs="0"/>
			<xs:element name="surname" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="surnameAscii" type="xs:string" minOccurs="0" maxOccurs="1"/>
			<xs:element name="title" type="xs:string" minOccurs="0"/>
			<xs:element name="ContactAddress" type="tns:xmlContactAddress" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="addresses" type="tns:xmlAddress" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlHandle">
		<xs:sequence>
			<xs:element name="handleName" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="handleType" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="handleSubType" type="xs:string" minOccurs="0" maxOccurs="1"/>
			<xs:element name="domainName" type="xs:string" minOccurs="0" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlCommProfileType">
		<xs:sequence>
			<xs:element name="commProfileType" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="commProfileSubType" type="xs:string" minOccurs="0" maxOccurs="1"/>
			<xs:element name="jobId" type="xs:string" minOccurs="0" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlCommProfileSetType">
		<xs:sequence>
			<xs:element name="commProfileSetName" type="xs:string" minOccurs="1" maxOccurs="1"/>
			<xs:element name="isPrimary" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
			<xs:element name="handleList" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="handle" type="tns:xmlHandle" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="commProfileList" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="commProfile" type="tns:xmlCommProfileType" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ForgeinCommProfileType">
		<xs:complexContent>
			<xs:extension base="ext:xmlCommProfileType">
				<xs:sequence>
					<xs:element name="csEncryptionKeyId" type="xs:long" minOccurs="0" maxOccurs="1"/>
					<xs:element name="servicePassword" type="xs:string" minOccurs="0" maxOccurs="1"/>
					<xs:element name="serviceData" type="xs:string" minOccurs="0" maxOccurs="1"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="xmlSecureStore">
		<xs:sequence>
			<xs:element name="secureStoreData" type="xs:base64Binary" minOccurs="1" maxOccurs="1"/>
			<xs:element name="passwordEncrypted" type="xs:boolean"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlLocalizedName">
		<xs:sequence>
			<xs:element name="locale" type="xs:string" minOccurs="1"
				maxOccurs="1">
			</xs:element>
			<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmLocalizedNames">
		<xs:sequence>
			<xs:element name="localizedName" type="tns:xmlLocalizedName" minOccurs="0" maxOccurs="7"></xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="UserOrganizationDetailsType">
			<xs:sequence>
			<xs:element name="tenant" maxOccurs="1" minOccurs="1">
					<xs:complexType>
					<xs:attribute name="name" type="xs:string" use="required"/>
	       			<xs:attribute name="createTenantIfNotAlreadyPresent"
	               						type="xs:boolean"
	              							 use="required"/>
	    			</xs:complexType> 
				</xs:element>
				<xs:element name="organizationUnitLevelOne" type="xs:string"
					maxOccurs="1" minOccurs="0">
				</xs:element>
				<xs:element name="organizationUnitLevelTwo" type="xs:string"
					maxOccurs="1" minOccurs="0">
				</xs:element>
				<xs:element name="organizationUnitLevelThree" type="xs:string"
					maxOccurs="1" minOccurs="0">
				</xs:element>
			</xs:sequence>
	</xs:complexType>
	
</xs:schema>

Sample XML for bulk import of users with minimal attributes

<?xml version="1.0" encoding="UTF-8"?>
	<!--  Root Element 'Users' represent collection of  user (containing 1 or
	more users)-->
<tns:users xmlns:tns="http://xml.avaya.com/schema/import"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd" >
  
  <tns:user>
    <authenticationType>Basic</authenticationType>
    <givenName>John</givenName>
    <loginName>jmiller@avaya.com</loginName>
    <surname>Miller</surname>
    <userPassword>mypassword</userPassword>
  </tns:user>
</tns:users>

Sample XML for bulk import of users with all attributes

<?xml version="1.0" encoding="UTF-8"?>
<!--  Root Element 'Users' represent collection of  user (containing 1 or more 
         users)-->
<tns:users xmlns:tns="http://xml.avaya.com/schema/import"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd"> 
<!--	authenticationType: This defines the type of authentication that this user
        will undergo at runtime to obtain access to the system.
        Possible Values: BASIC,ENTERPRISE 
     ---description:A text description of the user. Human readable description of 
        this user instance.
     ---displayName:The localized name of a user to be used when displaying. It 
		will typically be the localized full name. This value may be provisioned 
		from the users enterprise directory entry. If it does not exist, 
		synchronization rules can be used to populate it for other fields 
		e.g. Surname, GivenName, or LoginName.
     ---displayNameAscii:This corresponds to the 
         Console attribute-Endpoint Display Name.
        The full text name of the user represented in ASCII. It is used to support 
        display (e.g. endpoints) that cannot handle localized text 
     ---dn:The distinguished name of the user. The DN is a sequence of relative 
        distinguished names (RDN) connected by commas. An RDN is an attribute with
        an associated value in the form of attribute=value, normally expressed in a
        UTF-8 string format.The dn can be used to identify the user and may be used
        for authentication subject mapping. Note the dn is changeable. 
     ---isDuplicatedLoginAllowed:A boolean indicator showing whether this user is 
        allowed a duplicate concurrent logins.A true stipulates that the user is 
		allow to have duplicate logins. Default value is true.
     ---isEnabled:A boolean indicator showing whether or not the user is active. 
        Users with AuthenticationType equals Basic will fail if this value is false.
        This attribute can be used to disable access between login attempts. 
        A running sessions login will not be revocable. Alternatively the 
        administrator can always modify the password to disable the user from 
        logging in. A true stipulates this is an active user, a false used for a 
        disabled  user. Default value is false.
     ---isVirtualUser:A boolean indicator showing whether or not the record is being
        used for a non-human entity such as an application, service, software agent, 
        etc. This is to be used where the entity will behave as a user and needs to 
        have subset of the user profile populated. If the entity does not behave as 
        a user and has a different trust relationship e.g. a trust certificate it 
        should not be treated as a virtual user. A virtual user can represent an 
        Avaya or external non-human entity. This attribute is provided as a 
        convenience to track such accounts.A true stipulates this is a virtual user, 
        a false is used for human users. Default value is false.
     ---givenName:The first name of the user.
     ---honorific:The personal title used to address a user. This is typically a 
        social title and not the work title which is contained in the title  
        attribute. This attribute can map to PersonalTitle.
     ---loginName:This is the unique system login name given to the user. It can 
        take the form of username@domain or just username.This may vary across 
        customers.It  can be used to help provision default user handles in the 
        CSHandle table. The username is an alphanumeric value that must comply  
        with the userinfo related portion of a URI as described in rfc3986.
........userinfo / loginname = *( unreserved / pct-encoded / sub-delims / ":")
        where <p>unreserved = ALPHA / DIGIT / "-" / "." / "_" / "˜"
........pct-encoded = "%" HEXDIG HEXDIG
        sub-delims = "!" / "$" / "&amp;" / "’" / "(" / ")" / "*" / "+" / "," / ";" / "="
     ---employeeNo:Employee number of user.
     ---department:Department of employee. 
     ---organization:Organization of employee. 
     ---middleName:The middle name of the user.
     ---managerName:Text name of the users manager. This is a free formed field and
        does not require the users manager to also be a user of the solution. 
        This attribute was requested to support reporting needs.
     ---preferredGivenName:The preferred first name of the user.
     ---preferredLanguage:The individuals preferred written or spoken language.
        Values will conform to rfc4646 and the reader should refer to rfc4646 for 
        syntax.This format uses the ISO standard Language ISO639 and region ISO3166
        codes In the absence of a value the clients locale should be used, 
        if no value is set, en-US should be defaulted.
     ---source:Free format text field that identifies the entity that created this 
        user record.  The format of this field will be either a IP Address/Port
        or a name representing an enterprise LDAP or Avaya.
     ---sourceUserKey:The key of the user from the source system. If the source is 
        an Enterprise Active Directory server, this value with be the objectGUID.
     ---status:This information is to help manage provisioning activities such as 
        correcting or completing the provisioning of a user instance. It can also 
        signify that approval is needed (PENDINGAUTHZ) before a user account is 
        sufficiently configured to be a valid user (PROVISIONED). 
        Possible Values: AUTHPENDING;PENDINGAUTHZ;PROVISIONED
     ---suffix:The text appended to a name e.g. Jr., III.				
     ---surname:The users last name, also called the family name. 
     ---timeZone:The preferred time zone of the user. 
        For example:  (-12:0)International Date Line West.
     ---title:The job function of a person in their organizational context.
     ---userName:This is the username portion of the loginName field. It is an 
        alphanumeric value that must comply with the userinfo related portion of a
        URI as described in rfc2396. However, it is further restricted as ASCII 
        characters with _ . - % ! ~ * ( ) = + $ , ; and ?special characters are supported.
        This is the rfc2798 uid attribute.
     ---userPassword:The encrypted password for this users account.A null password
        is used when the user is authenticated by the enterprise such as with a 
        separate source such as the enterprise LDAP. 
     ---commPassword:The encrypted subscriber or communication password with which 
        the user logs can use to authentication with on to any CommProfile SIP and 
        non SIP.  This attribute is meant to be a shared across different 
		communication profiles and thus different communication services.
     ---userType:This enumerates the possible primary user application types. 
        A User can be associated with multiple user types. Possible values are 
        ADMINISTRATOR; COMMUNICATION USER;AGENT;SUPERVISOR;RESIDENT EXPERT;SERVICE 
        TECHNICIAN;LOBBY PHONE
     ---roles:Text name of a role.This value needs to pre-exist in SMGR DB
     ---localizedNames:localized name of user.
     ---address:The address of the user.
     ---securityIdentity:The SecurityIdentity is used to hold any additional 
        identities for a user that can be used for authentication such as their 
        loginName, Kerberos account name, or their X509 certificate name.
     ---ownedContactLists:It is a collection of internal or external contacts. 
        ContactList is owned by a specific user and has a name that a unique name 
        within the context of its owner.
     ---ownedContacts:It represents a non Avaya application user (external) contact.
        Contacts can be collected together along with User entities into a contact 
        list. Contacts can be created by an administrator or an end user. 
     ---presenceUserDefault:These are personal rules that are set by presentities 
        to define how much presence information can be shown to watchers that are 
        not explicitly mentioned in an ACL. There may be one User Default rule per 
        presentity (User), or none.
     ---presenceUserACL:These are personal rules defined by presentities themselves 
        on who can monitor their presence information. There may be several entries
        in the list for a given presentity, each entry corresponding to one watcher.
     ---presenceUserCLDefault:This is a personal rule that is set by presentities
	    to define how much presence information can be shown to watchers that belong 
		to the userss contact list. There may be one User Contact List Default rule 
		per presentity (Person) or none.
     ---commProfileSet:A user will have a default commprofile set.A commprofile set 
        can exist without any handles or commprofiles referencing it. I.e. you can 
        create a commprofile set without needing to also create either a handle or 
        a commprofile.A commprofile set can contain multiple commprofiles, but only 
        one of each specific type. This is enforced by having the CSCommProfile 
        uniqueness constraint include type, cs_commprofile_set_id.
-->
  <tns:user>
    <authenticationType>BASIC</authenticationType>
    <description>this is description</description>
    <displayName> John Miller</displayName>
    <displayNameAscii></displayNameAscii>
    <dn>dc=acme,dc=org</dn>
    <isDuplicatedLoginAllowed>true</isDuplicatedLoginAllowed>
    <isEnabled>true</isEnabled>
    <isVirtualUser>false</isVirtualUser>
    <givenName>John</givenName>
    <honorific>Mr</honorific>
    <loginName>jmiller@avaya.com</loginName>
    <employeeNo>20060441</employeeNo>
	<department>UC</department>
	<organization>GCS</organization>
    <middleName></middleName>
    <managerName>Jay Smith</managerName>
    <preferredGivenName>John</preferredGivenName>
    <preferredLanguage>English</preferredLanguage>
    <source>LDAP</source>
    <sourceUserKey>18966</sourceUserKey>
    <status>AUTHPENDING</status>
    <suffix>Mr</suffix>
    <surname>Miller</surname>
    <timeZone>(-12:0)International Date Line West</timeZone>
    <title>Mr</title>
    <userName>jmiller</userName>
    <userPassword>password</userPassword>
    <commPassword>mycommPassword</commPassword>
    <userType>ADMINISTRATOR</userType>
    <roles>
      <role>End-User</role>
    </roles>
    <localizedNames>
    <localizedName>
    <locale>English</locale>
    <name>John</name>
    </localizedName>
    </localizedNames>
    <!--addressType:Specifies the role of the address. Examples:  Home, business.
     ---name:The Name property defines the unique label by which the address is 
        known. Default format for user specific address should include user name 
        place  address type.
     ---building:The name or other designation of a structure
     ---localityName:The name of a locality, such as a city, county or other 
        geographic region. 
     ---postalCode:A code used by postal services to route mail to a destination.
        In the United States this is the zip code.
     ---room:Name or designation of a room.
     ---stateOrProvince:The full name of a state or province. 
     ---country:A country.
     ---street:The physical address of the object such as an address for package 
        delivery
     ---postalAddress:A free formed text area for the complete physical delivery
        address. It may be used in place of the specific fields in this table.
     ---isPrivate:A boolean indicator to specify if this address could be shared 
        across multiple users.True is private, false is sharable. Default is false.
-->
    <address>
      <addressType>OFFICE</addressType>
      <name>Avaya Office</name>
      <building>building 11</building>
      <localityName>Magarpatta</localityName>
      <postalCode>411028</postalCode>
      <room>room 502</room>
      <stateOrProvince>Maharashtra</stateOrProvince>
      <country>India</country>
      <street>street</street>
      <postalAddress></postalAddress>
      <isPrivate>true</isPrivate>
    </address>
    <!--
     ---SecurityIdentity:Represents the possible external identities that a user 
			may have for the purpose of authentication. The type and format of an 
			identity depends on the external Identity Provider and can include 
			X.509 certificates or Kerberos user accounts
     ---identity:The unique external identity of the user. This is a free text 
			field and no format is enforced. The format will depend on the identity 
			type. Kerberos user account can take the form of:  username@domainName 
			e.g. jsmith@acme.org 
     ---realm:The name of the security domain that this identity is valid in.
     ---type:The text representation of the type of identity. 
			Possible values are: principalname,X509 and Kerberos
-->
    <securityIdentity>
      <identity>jmiller@acme.org </identity>
      <realm>acme</realm>
      <type>principalname</type>
    </securityIdentity>
    <!--
     ---ContactList:The ContactList is a collection of personal or public groups 
			containing external contacts and/or Avaya users. 
     ---name:The text name of the list. This in the context of the owner must be 
			unique.
     ---description:A free text description of this member.
     ---isPublic:Defines if the contact is public or personal. Default = false.
     ---members:Represents the list of users or contacts that belong to contact list
     ---contactListType:Specifies the type categorizing this list.
-->
    <ownedContactLists>
      <contactList>
        <name>MycontactList</name>
        <description>This is my contactList</description>
        <isPublic>false</isPublic>
        <!--	
		---memberContact:This represents the name of the Contact.
            A ContactListMember can either be a Contact or  User
        ---speedDialContactAddress:A Contact Address added as a favorite entry 
	    ---memberUser:This represents the loginname of the User.
	       A ContactListMember can either be a Contact or User
	    ---speedDialHandle:A handle added as a favorite entry 
	    ---isFavorite:A boolean indicator that reflects whether this contact is 
			a favorite entry. If true, the value of entryindex would show which 
			position to place this entry in any display. 
	    ---isSpeedDial:Each contact list member can also be flagged as a 
			favorite (a.k.a. speed dial)
	    ---speedDialEntry:For either a presence buddy or favorite entry, a 
			specific communication address to use can be pointed to. 
	    ---isPresenceBuddy:Each contact list member can also be flagged as a 
			presence buddy
	    ---label:A free text short word or phrase for classifying this contact 
			list member.
	    ---altLabel:A free text short word or phrase for classifying this 
			contact.This is similar to label, but it is used to store alternate
			language representations.
	    ---description:A free text description of this member.		
-->
    <members>
          <memberContact>Phil Bath</memberContact>
          <speedDialContactAddress>
				<address>+44-1234568</address>
				<altLabel>Phone</altLabel>
				<contactCategory>OFFICE</contactCategory>
				<contactType>PHONE</contactType>
				<label>Phone</label>
          </speedDialContactAddress.
          <isFavorite>true</isFavorite>
          <isSpeedDial>true</isSpeedDial>
		  <speedDialEntry>1234</speedDialEntry>
          <isPresence>Buddytrue</isPresenceBuddy>
          <label>My Contact in Dublin office</label>
          <altLabel>Phone Number for contacting Denver office</altLabel>
          <description>Contact Details</description>
          <priorityLevel>0</priorityLevel>
        </members>
        <contactListType>CONTACTCENTER</contactListType>
      </contactList>
    </ownedContactLists>
    <!--
	---Contact:An entity that represents a non Avaya application user (external)
        contact. Contacts can be collected together along with User entities into
        a contact list. Contacts can be created by an administrator or an end 
		user. Contacts have name attributes, and owner, and can be public or 
		personal. A contact also includes one or more contact addresses that can 
		be used for establishing an interaction with the contact. Contacts can be 
        designated as being a users presence buddy or added as a favorite entry 
        For example, speed dial.
	---company:The organization that the contact belongs to.
	---description:A free text field containing human readable text providing 
	    information on this entry.
	---displayName:The localized name of a contact to be used when displaying. 
	    It will typically be the localized full name. This value may be provisioned
	    from the users enterprise directory entry. If it does not exist, 
	    synchronization rules can be used to populate it for other fields 
	    e.g. Surname, GivenName, or LoginName.
	---displayNameAscii:The full text name of the contact represented in ASCII. 
		It is used to support display (e.g. endpoints) that cannot handle 
		localized text. 
	---dn:The distinguished name of the user. The DN is a sequence of relative
		distinguished names (RDN) connected by commas. An RDN is an attribute 
		with an associated value in the form of attribute=value, normally expressed
		in a UTF-8 string format.The dn can be used to uniquely identify this 
		record. Note the dn is changeable. 
	---givenName:The first name of the contact.
	---initials:Initials of the contact
	---middleName:The middle name of the contact.
	---preferredGivenName:The nick name of the contact.
	---preferredLanguage:The individuals preferred written or spoken language. 
		Values will conform to rfc4646 and the reader should refer to rfc4646  
		for syntax.This format uses the ISO standard Language ISO639 and region  
		ISO3166 codes. In the absence of a value the clients locale should be  
		used, if no value is set, en-US should be defaulted. 
	---isPublic:Defines if the contact is public or personal. Default = false.
	---source:Free format text field that identifies the entity that created 
		this user record. The format of  this field will be either a 
		IP Address/Port or a name representing an enterprise LDAP or Avaya.
	---sourceUserKey:The key of the user from the source system. If the source is
		an Enterprise Active Directory server, this value with be the objectGUID.
	---suffix:The text appended to a name e.g. Jr., III.
	---surname:The users last name, also called the family name. 
	---title:The job function of a person in their organizational context.
		Examples: supervisor, manager
	---ContactAddress:Represents a contacts address. 
	---addresses:A fully qualified URI for interacting with this contact. Any 
		addresses added to this table should contain a qualifier e.g. sip, sips,  
		tel, mailto. The address should be syntactically valid based on the 
		qualifier. It must be possible to add via the GUI and Interface. 
		The application must do validation.

-->
    <ownedContacts>
      <contact>
		  <company>ABC</company>
		  <description>Company ABC description</description>
		  <displayName>Phil Bath</displayName>
		  <displayNameAscii></displayNameAscii>
		  <dn>dc=acme,dc=org</dn>
		  <givenName>John</givenName>
		  <initials>Mr</initials>
		  <middleName>M</middleName>
		  <preferredGivenName>Phil</preferredGivenName>
		  <preferredLanguage>English</preferredLanguage>
		  <isPublic>false</isPublic>
		  <source>ldap</source>
		  <sourceUserKey>123546</sourceUserKey>
		  <suffix>Jr.</suffix>
		  <surname>Bath</surname>
		  <title>Manager</title>
      <!--
	   ---type:The value reflecting the type of handle this is. Possible 
	       values are username, e164, and privatesubsystem
	   ---category:The value representing a further qualification to the contact 
	      address. Possible values inlcude Office, Home, Mobile.
	   ---handle:This is the name given to the user to allow communication to 
	      be established with the user. It is an alphanumeric value that must 
	      comply with the userinfo related portion of a URI as described in rfc2396. 
	      However, it is further restricted as ASCII characters with only the 
	      + prefix to signify this is an E.164 handle and _ and . special 
	      characters supported.The handle and type together are unique within a
	      specific domain. Note, the handle plus domain can be used to construct 
	      a users Address of Record.
	   ---label:A free text description for classifying this contact.
	   ---altLabel:A free text description for classifying this contact. This is 
	     similar to ContactLabel, but it is used to store alternate language 
	     representations.
		-->
      <ContactAddress>
            <address>+44-1234568</address>
			<altLabel>Phone</altLabel>
				<contactCategory>OFFICE</contactCategory>
				<contactType>PHONE</contactType>
				<label>Phone</label>
      </ContactAddress>
      <addresses>
      <!--
	    ---addressType:The unique text name of the address type. 
	       Possible values are: Home, business.
	    ---name: The Name property defines the unique label by which the address
	       is known. Default format for user specific address should include 
	       user name place address type.
	    ---building:The name or other designation of a structure.
	    ---localityName:The name of a locality, such as a city, county or other
	       geographic region. 
	    ---postalCode:A code used by postal services to route mail to a 
	       destination. In the United States this is the zip code.
	    ---room:Name or designation of a room.
	    ---stateOrProvince:The full name of a state or province. 
            ---country:A country.
	    ---street:The physical address of the object such as an address for 
	       package delivery
	    ---postalAddress:A free formed text area for the complete physical delivery
	       address. It may be used in place of the specific fields in this table.
-->
        
          <addressType>office</addressType>
          <name>Phil Bath</name>
          <building>building A</building>
          <localityName>Magarpatta</localityName>
          <postalCode>411048</postalCode>
          <room>room 123</room>
          <stateOrProvince>MH</stateOrProvince>
          <country>India</country>
          <street>Hadapsar</street>               
          <isPrivate>true</isPrivate>
       
      </addresses>   
      </contact>
    </ownedContacts>
    <!--    
		---PresUserDefault:These are personal rules that are set by presentities to 
			define how much presence information can be shown to watchers that are 
			not explicitly mentioned in an ACL. There may be one User Default rule 
			per presentity (User), or none.presentity (User), or none.
	    ---label:A unique string that names this info type (e.g. Telephony Presence)
	    ---filter:Internal definition of which part of presence information is 
	       covered by this info type. The value of this field should be treated 
	       as opaque string; it is maintained and used only by Presence services.
	    ---specFlags:This field is empty for regular info types, but for special
	       info types it contains a comma separated list of keywords that identify
	       these types. In this version only FULL that represents full presence 
	       information is supported.
-->
    <presenceUserDefault>
      <infoTypeAccess>
        <infoType>
          <label>Telephony Presence</label>
          <filter>filter</filter>
          <specFlags>FULL</specFlags>
        </infoType>
        <access>BLOCK</access>
      </infoTypeAccess>
    </presenceUserDefault>
    <!--    
		---UserACLEntry:These are personal rules defined by presentities 
			themselves on who can monitor their presence information. There may be 
			several entries in the list for a given presentity, each entry 
			corresponding to one watcher.
	    ---label:A unique string that names this info type (e.g. Telephony Presence).
	    ---filter:Internal definition of which part of presence information is
	       covered by this info type. The value of this field should be treated 
	       as opaque string; it is maintained and used only by Presence services.
	    ---specFlags:This field is empty for regular info types, but for special info
	       types it contains a comma separated list of keywords that identify these
	       types. In this version only FULL that represents full presence 
	       information is supported.
-->
    <presenceUserACL>
      <infoTypeAccess>
        <infoType>
          <label>ALL</label>
          <filter>filter</filter>
          <specFlags>FULL</specFlags>
        </infoType>
        <access>BLOCK</access>
      </infoTypeAccess>
      <watcherLoginName>admin</watcherLoginName>
    </presenceUserACL>
    <!--    
		PresUserCLDefault:This is a personal rule that is set by presentities
               to define how much presence information can be shown to watchers 
			   that belong to the users contact list. There may be one User 
			   Contact List Default rule per presentity (Person) or none.
	-->
    <presenceUserCLDefault>
      <infoTypeAccess>
        <infoType>
          <label>Telephony</label>
          <filter>filter</filter>
          <specFlags>FULL</specFlags>
        </infoType>
        <access>BLOCK</access>
      </infoTypeAccess>
    </presenceUserCLDefault>
<!--     commProfileSet:A user will have a default commprofile set.A commprofile 
            set can exist without any handles or commprofiles referencing it. I.e. 
            you can create a commprofile set without needing to also create either
            a handle or a commprofile.A commprofile set can contain multiple 
            commprofiles, but only one of each specific type. This is enforced by 
            having the  CommProfile uniqueness constraint include type, 
            commprofile_set_id.
	 ---HandleName:This is the name given to the user to allow communication to 
	    be established with the user. It is an alphanumeric value that must comply
	    with the userinfo related portion of a URI as described in rfc2396. 
	    However,it is further restricted as ASCII characters with only  
	    the + prefix to signify this is an E.164 handle and _ and . 
	    special characters supported. Note, the handle plus domain can be used 
	    to construct a users Address of Record.
	 ---handleType:The value reflecting the type of handle this is. Possible values 
	    are sip,smtp,ibm,and xmpp.
	 ---handleSubType:This is an additional qualify on the handle type to help  
	    specify which private subsystem this handle belongs to.Possible values are
	    e164,username,msrtc,googletalk,jabber,ibmsametime,lotousnotes,msexchageo.
	 ---domainName:The text name of the domain.
-->
   <commProfileSet>
      <commProfileSetName>Primary</commProfileSetName>
      <isPrimary>true</isPrimary>
      <handleList>
	 <handle>
          <handleName>sip:abc@yahoo.com</handleName>
          <handleType>sip</handleType>
          <handleSubType>msrtc</handleSubType>
        </handle>
      </handleList>
	  <!--The below is extended communication profile-->
<!--
      <commProfileList>
          <commProfile xsi:type="ns3:SessionManagerCommProfXML" xmlns:ns3="http://xml.avaya.com/schema/import_sessionmanager">
                 <commProfileType>SessionManager</commProfileType>
                 <ns3:primarySM>SIP Entity 1</ns3:primarySM>
                 <ns3:secondarySM>SIP Entity 2</ns3:secondarySM>
                 <ns3:survivabilityServer>SIP Entity 2</ns3:survivabilityServer>
                 <ns3:terminationAppSequence>AppSeq1</ns3:terminationAppSequence>
                 <ns3:originationAppSequence>AppSeq2</ns3:originationAppSequence>
                 <ns3:homeLocation>Denver</ns3:homeLocation>
                 <ns3:confFactorySet>Factory Set 1</ns3:confFactorySet>
           </commProfile>
      </commProfileList>
-->
    </commProfileSet>

  </tns:user>
</tns:users>     

XML Schema Definition for partial import of users

  
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<xs:schema xmlns:delta="http://xml.avaya.com/schema/deltaImport" xmlns:base="http://xml.avaya.com/schema/import" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.avaya.com/schema/deltaImport" version="1.0">

	<xs:import namespace="http://xml.avaya.com/schema/import" schemaLocation="userimport.xsd"/>


	<xs:element name="userDelta" type="delta:xmlUserDelta"/>
	<xs:element name="deltaUserList" type="delta:xmlDeltaUserList"/>

	<xs:complexType name="xmlDeltaUserList">
		<xs:sequence>
			<xs:element name="secureStore" type="base:xmlSecureStore"></xs:element>
			<xs:element name="userDelta" type="delta:xmlUserDelta" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlUserDelta">
		<xs:sequence>
			<xs:element name="authenticationType"
				type="xs:string" minOccurs="0" maxOccurs="1" />
			<xs:element name="description" type="xs:string"
				minOccurs="0" />
			<xs:element name="displayName" type="xs:string"
				minOccurs="0" />
			<xs:element name="displayNameAscii" type="xs:string"
				minOccurs="0" />
			<xs:element name="dn" type="xs:string" minOccurs="0" />
			<xs:element name="isDuplicatedLoginAllowed"
				type="xs:boolean" minOccurs="0" />
			<xs:element name="isEnabled" type="xs:boolean" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="isVirtualUser" type="xs:boolean"
				minOccurs="0" />
			<xs:element name="givenName" type="xs:string" maxOccurs="1"
				minOccurs="0" />
			<xs:element name="honorific" type="xs:string" minOccurs="0" />
			<xs:element name="loginName" type="xs:string" maxOccurs="1"
				minOccurs="1" />
			<xs:element name="middleName" type="xs:string"
				minOccurs="0" />
			<xs:element name="managerName" type="xs:string"
				minOccurs="0" />
			<xs:element name="preferredGivenName" type="xs:string"
				minOccurs="0" />
			<xs:element name="preferredLanguage" type="xs:string"
				minOccurs="0" />
			<xs:element name="source" type="xs:string" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="sourceUserKey" type="xs:string"
				minOccurs="0" maxOccurs="1" />
			<xs:element name="status" type="xs:string"
				minOccurs="0" />
			<xs:element name="suffix" type="xs:string" minOccurs="0" />
			<xs:element name="surname" type="xs:string" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="timeZone" type="xs:string" minOccurs="0" />
			<xs:element name="title" type="xs:string" minOccurs="0" />
			<xs:element name="userName" type="xs:string" maxOccurs="1"
				minOccurs="0" />
			<xs:element name="userPassword" type="xs:string"
				minOccurs="0" />
			<xs:element name="commPassword" type="xs:string"
				minOccurs="0" />
			<xs:element name="userType" type="xs:string"
				minOccurs="0" maxOccurs="unbounded" />
			<xs:element name="roles" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="role" type="xs:string"
							minOccurs="0" maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="address" type="base:xmlAddress"
				minOccurs="0" maxOccurs="unbounded" />
			<xs:element name="securityIdentity"
				type="base:xmlSecurityIdentity" minOccurs="0" maxOccurs="unbounded" />
			<!-- Contact list Entries -->
			<xs:element name="ownedContactLists" minOccurs="0"
				maxOccurs="1">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="contactList"
							type="base:xmlContactList" maxOccurs="1" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ownedContacts" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="contact" type="base:xmlContact"
							maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<!-- Presence ACL User Entries -->
			<xs:element name="presenceUserDefault"
				type="base:xmlPresUserDefaultType" minOccurs="0" />
			<xs:element name="presenceUserACL"
				type="base:xmlPresUserACLEntryType" minOccurs="0"
				maxOccurs="unbounded" />
			<xs:element name="presenceUserCLDefault"
				type="base:xmlPresUserCLDefaultType" minOccurs="0" maxOccurs="1" />
			<xs:element name="commProfileSet"
				type="base:xmlCommProfileSetType" maxOccurs="unbounded" minOccurs="0">
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
    

Sample XML for partial import of users

<?xml version="1.0" encoding="UTF-8"?>
<delta:deltaUserList xmlns:delta="http://xml.avaya.com/schema/deltaImport" xmlns:tns="http://xml.avaya.com/schema/import" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/deltaImport userdeltaimport.xsd ">
  <delta:userDelta>
    <authenticationType>ENTERPRISE</authenticationType>
    <description>this is description</description>
    <displayName>John Miller</displayName>
    <displayNameAscii></displayNameAscii>
    <dn>dc=acme,dc=org</dn>
    <isDuplicatedLoginAllowed>true</isDuplicatedLoginAllowed>
    <isEnabled>true</isEnabled>
    <isVirtualUser>true</isVirtualUser>
    <givenName>John</givenName>
    <honorific>Mr</honorific>
    <loginName>jmiller@avaya.com</loginName>
    <middleName></middleName>
    <managerName>Jay Smith</managerName>
    <preferredGivenName>John</preferredGivenName>
    <preferredLanguage>English</preferredLanguage>
    <source>LDAP</source>
    <sourceUserKey>18966</sourceUserKey>
    <status>AUTHPENDING</status>
    <suffix>Mr</suffix>
    <surname>Miller</surname>
    <timeZone>(-12:00) International Date Line West</timeZone>
    <title>Mr</title>
    <userName>jmiller</userName>
    <commPassword>mycommPassword</commPassword>
    <userType>ADMINISTRATOR</userType>
    <roles>
      <role>End-User</role>
    </roles>
    <address>
      <addressType>OFFICE</addressType>
      <name>Avaya Office</name>
      <building>building 11</building>
      <localityName>Magarpatta</localityName>
      <postalCode>411028</postalCode>
      <room>room 502</room>
      <stateOrProvince>Maharashtra</stateOrProvince>
      <country>India</country>
      <street>street</street>
      <postalAddress></postalAddress>
      <isPrivate>true</isPrivate>
    </address>
    <securityIdentity>
      <identity>jmiller@acme.org </identity>
      <realm>acme</realm>
      <type>principalname</type>
    </securityIdentity>
    <ownedContactLists>
      <contactList>
     	<name>MycontactList</name>
        <description>This is my contactList</description>
        <isPublic>false</isPublic>
        <members>
          <memberContact>Phil Bath</memberContact>
          <speedDialContactAddress>
	    <address>+44-1234568</address>
	    <altLabel>Phone</altLabel>
	    <contactCategory>OFFICE</contactCategory>
	    <contactType>PHONE</contactType>
	    <label>Phone</label>
          </speedDialContactAddress>
          <isFavorite>true</isFavorite>
          <isSpeedDial>true</isSpeedDial>
	    <speedDialEntry>1234</speedDialEntry>
          <isPresenceBuddy>true</isPresenceBuddy>
          <label>My Contact in Dublin office</label>
          <altLabel>Phone Number for contacting Denver office</altLabel>
          <description>Contact Details</description>
          <priorityLevel>0</priorityLevel>
        </members>
        <contactListType>CONTACTCENTER</contactListType>
      </contactList>
    </ownedContactLists>
    <ownedContacts>
      <contact>
		<company>ABC</company>
		<description>Company ABC description</description>
		<displayName>Phil Bath</displayName>
		<displayNameAscii></displayNameAscii>
		<dn>dc=acme,dc=org</dn>
		<givenName>John</givenName>
		<initials>Mr</initials>
		<middleName>M</middleName>
		<preferredGivenName>Phil</preferredGivenName>
		<preferredLanguage>English</preferredLanguage>
		<isPublic>false</isPublic>
		<source>ldap</source>
		<sourceUserKey>123546</sourceUserKey>
		<suffix>Jr.</suffix>
		<surname>Bath</surname>
		<title>Manager</title>
        <ContactAddress>          
            <address>+44-1234568</address>
		<altLabel>Phone</altLabel>
		<contactCategory>OFFICE</contactCategory>
		<contactType>PHONE</contactType>
		<label>Phone</label>
        </ContactAddress>
        <addresses>          
          <addressType>office</addressType>
          <name>Phil Bath</name>
          <building>building A</building>
          <localityName>Magarpatta</localityName>
          <postalCode>411048</postalCode>
          <room>room 123</room>
          <stateOrProvince>MH</stateOrProvince>
          <country>India</country>
          <street>Hadapsar</street>               
          <isPrivate>true</isPrivate>
        </addresses>
      </contact>
    </ownedContacts>
    <presenceUserDefault>
      <infoTypeAccess>
        <infoType>
          <label>Telephony Presence</label>
          <filter>filter</filter>
          <specFlags>FULL</specFlags>
        </infoType>
        <access>BLOCK</access>
      </infoTypeAccess>
    </presenceUserDefault>
    <presenceUserACL>
      <infoTypeAccess>
        <infoType>
          <label>ALL</label>
          <filter>filter</filter>
          <specFlags>FULL</specFlags>
        </infoType>
        <access>BLOCK</access>
      </infoTypeAccess>
      <watcherLoginName>admin</watcherLoginName>
    </presenceUserACL>
    <presenceUserCLDefault>
      <infoTypeAccess>
        <infoType>
          <label>Telephony</label>
          <filter>filter</filter>
          <specFlags>FULL</specFlags>
        </infoType>
        <access>BLOCK</access>
      </infoTypeAccess>
    </presenceUserCLDefault>

  </delta:userDelta>
</delta:deltaUserList>

XML Schema Definition for bulk deletion of users

  <xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:tns="http://xml.avaya.com/schema/bulkdelete" targetNamespace="http://xml.avaya.com/schema/bulkdelete" 
			elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" >
			
   <xs:element name="user" type="tns:xmlUserDelete" />
   <xs:element name="deleteType" type="tns:xmlDeleteType" />
   
   <xs:element name="deleteUsers">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="deleteType" type="tns:xmlDeleteType" maxOccurs="1" minOccurs="1"/>
			<xs:element minOccurs="1" maxOccurs="unbounded" name="user" type="tns:xmlUserDelete" />
		</xs:sequence>
	</xs:complexType>
   </xs:element>
   
   
   <xs:complexType name="xmlUserDelete">
   	<xs:sequence>
   		<xs:element name="loginName" minOccurs="1" maxOccurs="1">
   			<xs:simpleType>
   				<xs:restriction base="xs:string">
   					<xs:maxLength value="128"></xs:maxLength>
   				</xs:restriction>
   			</xs:simpleType>
   		</xs:element>
   		<xs:element name="id" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
   	</xs:sequence>
   </xs:complexType>

  <xs:simpleType name="xmlDeleteType">
  	<xs:restriction base="xs:string"></xs:restriction>
  </xs:simpleType>
</xs:schema>
    

Sample XML for bulk deletion of users

<?xml version="1.0" encoding="UTF-8"?>
<tns:deleteUsers xmlns:tns="http://xml.avaya.com/schema/bulkdelete" xmlns:ns2="http://xml.avaya.com/schema/import" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/bulkdelete UserProfileSchemaDefinitionForBulkDelete.xsd">
<tns:deleteType>permanent</tns:deleteType>
	<tns:user>
	<tns:loginName>jmiller@avaya.com</tns:loginName>
	</tns:user>
	<tns:user>
	<tns:loginName>david@avaya.com</tns:loginName>
	</tns:user>
</tns:deleteUsers>

XML Schema Definition for bulk import of elements

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.avaya.com/rts"
	xmlns="http://www.avaya.com/rts"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified" attributeFormDefault="unqualified">

	<!-- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> -->
	<xs:element name="RTSElements">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="ApplicationSystems" minOccurs="0"
					maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>
							Application System Types
						</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ApplicationSystem"
								type="ApplicationSystem" maxOccurs="unbounded">
							</xs:element>

						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="ApplicationSystemAssigns"
					minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Source" type="Source"
								minOccurs="1" maxOccurs="unbounded" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>

	<xs:complexType name="ApplicationSystem">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>

		<xs:sequence>
			<xs:element name="Host" type="Host" minOccurs="1"
				maxOccurs="1">
			</xs:element>
			<xs:element name="ApplicationSystemType"
				type="ApplicationSystemType" minOccurs="1" maxOccurs="1">
			</xs:element>
			
			<xs:element name="SecureStoreData" type="SecureStoreData" minOccurs="0" maxOccurs="1"/>

			<xs:element name="AccessPoints" minOccurs="0"
				maxOccurs="unbounded">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="AccessPoint"
							type="AccessPoint" minOccurs="1" maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>

			<xs:element name="Ports" minOccurs="0"
				maxOccurs="unbounded">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Port" type="Port"
							minOccurs="1" maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>

			<xs:element name="SNMPAttributes" type="SNMPAttributes" minOccurs="0"
				maxOccurs="1">
			</xs:element>
			
			<xs:element name="Attributes" minOccurs="0"
				maxOccurs="unbounded">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Attribute" type="Attribute"
							minOccurs="1" maxOccurs="unbounded" />
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			
		</xs:sequence>

		<xs:attribute name="name" type="xs:string" use="required">
		</xs:attribute>

		<xs:attribute name="description" type="xs:string">
		</xs:attribute>

		<xs:attribute name="displaykey" type="xs:string"></xs:attribute>

		<xs:attribute name="isTrusted" type="xs:boolean"></xs:attribute>

	</xs:complexType>
	<xs:complexType name="SNMPAttributes">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>
		<xs:attribute name="snmpVersion" type="snmpVersionType" use="required">
		</xs:attribute>

		<xs:attribute name="readCommunity" type="xs:string">
		</xs:attribute>

		<xs:attribute name="writeCommunity" type="xs:string">
		</xs:attribute>

		<xs:attribute name="userName" type="xs:string">
		</xs:attribute>

		<xs:attribute name="authenticationProtocol" type="authenticationProtocolType">
		</xs:attribute>

		<xs:attribute name="authenticationPassword" type="xs:string">
		</xs:attribute>

		<xs:attribute name="privacyProtocol" type="privacyProtocolType">
		</xs:attribute>

		<xs:attribute name="privacyPassword" type="xs:string">
		</xs:attribute>

		<xs:attribute name="snmpRetries" type="xs:int" use="required">
		</xs:attribute>

		<xs:attribute name="snmpTimeout" type="xs:long" use="required">
		</xs:attribute>

		<xs:attribute name="deviceTypeName" type="xs:string"> </xs:attribute>

		<xs:attribute name="sysOid" type="xs:string">
		</xs:attribute>
	</xs:complexType>
	
	<xs:complexType name="Host">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>

		<xs:attribute name="ipaddress" type="xs:string"
			use="required">
		</xs:attribute>

		<xs:attribute name="description" type="xs:string">
		</xs:attribute>

		<xs:attribute name="ostype" type="xs:string"></xs:attribute>
	</xs:complexType>

	<xs:complexType name="ApplicationSystemType">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>

		<xs:attribute name="name" type="xs:string" use="required">
		</xs:attribute>

		<xs:attribute name="version" type="xs:string" use="required">
		</xs:attribute>

	</xs:complexType>

	<xs:complexType name="AccessPoint">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>

		<xs:attribute name="name" type="xs:string" use="required">
		</xs:attribute>

		<xs:attribute name="description" type="xs:string">
		</xs:attribute>

		<xs:attribute name="displaykey" type="xs:string"></xs:attribute>

		<xs:attribute name="type" type="AccessPointType"
			use="required">
		</xs:attribute>

		<xs:attribute name="uri" type="xs:string"></xs:attribute>

		<xs:attribute name="host" type="xs:string" use="required">
		</xs:attribute>

		<xs:attribute name="port" type="xs:string"></xs:attribute>

		<xs:attribute name="protocol" type="xs:string"></xs:attribute>

		<xs:attribute name="loginid" type="xs:string"></xs:attribute>

		<xs:attribute name="password" type="xs:string"></xs:attribute>

		<xs:attribute name="containerType" type="ContainerType"></xs:attribute>

		<xs:attribute name="order" type="xs:int" use="required">
		</xs:attribute>

	</xs:complexType>

	<xs:complexType name="Port">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>

		<xs:attribute name="name" type="xs:string" use="required">
		</xs:attribute>

		<xs:attribute name="description" type="xs:string">
		</xs:attribute>

		<xs:attribute name="protocol" type="xs:string" use="required"></xs:attribute>

		<xs:attribute name="port" type="xs:int" use="required"></xs:attribute>
	</xs:complexType>

	<xs:complexType name="Source">
		<xs:sequence>
			<xs:element name="Assignment" minOccurs="1"
				maxOccurs="unbounded">
				<xs:complexType>
					<xs:attribute name="name" type="xs:string">
					</xs:attribute>

					<xs:attribute name="targetAppSystemName"
						type="xs:string" use="required">
					</xs:attribute>

					<xs:attribute name="targetAppSystemTypeName"
						type="xs:string" use="required">
					</xs:attribute>

					<xs:attribute name="targetAppSystemTypeVersion"
						type="xs:string" use="required">
					</xs:attribute>
					
					<xs:attribute name="targetAppSystemHost"
						type="xs:string" use="required">
					</xs:attribute>

					<xs:attribute name="priority" type="xs:int"></xs:attribute>
				</xs:complexType>
			</xs:element>
		</xs:sequence>

		<xs:attribute name="sourceApplicationSystemName"
			type="xs:string" use="required">
		</xs:attribute>

		<xs:attribute name="sourceAppSystemTypeName" type="xs:string"
			use="required">
		</xs:attribute>

		<xs:attribute name="sourceAppSystemTypeVersion" type="xs:string"
			use="required">
		</xs:attribute>
		
		<xs:attribute name="sourceAppSystemHost" type="xs:string"
			use="required">
		</xs:attribute>
	</xs:complexType>

	<xs:complexType name="Attribute">
		<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
		<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>
		<!--  added for secure store integration. -->
		<xs:attribute name="isencrypted" type="xs:boolean" use="optional" default="false"></xs:attribute>
	</xs:complexType>
	
	<xs:complexType name="SecureStoreData">
		<xs:attribute name="name" type="xs:string" use="required"></xs:attribute>
		<xs:attribute name="value" type="xs:string" use="required"></xs:attribute>		
	</xs:complexType>

	<xs:simpleType name="AccessPointType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="TrustManagement" />
			<xs:enumeration value="EMURL" />
			<xs:enumeration value="WS" />
			<xs:enumeration value="GUI" />
			<xs:enumeration value="Other" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="ContainerType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="JBOSS" />
			<xs:enumeration value="SIPAS" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="authenticationProtocolType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="MD5" />
			<xs:enumeration value="SHA" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="privacyProtocolType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="DES"/>
			<xs:enumeration value="3DES"/>
			<xs:enumeration value="AES128"/>
			<xs:enumeration value="AES192"/>
			<xs:enumeration value="AES256"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="snmpVersionType">
		<xs:restriction base="xs:int">
			<xs:enumeration value="1"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType> 
	
</xs:schema>

Sample XML for bulk import of elements

<?xml version="1.0" encoding="UTF-8"?>
<RTSElements xsi:schemaLocation="http://www.avaya.com/rts ApplicationSystems.xsd " xmlns="http://www.avaya.com/rts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<ApplicationSystems>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test1">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test2">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test3">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test4">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test5">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test6">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test7">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test8">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test9">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test10">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Tes11t">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test12">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test13">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>
		<ApplicationSystem description="Test" displaykey="NewGateway1" isTrusted="false" name="Test14">
			<Host description="Host" ipaddress="localhost" ostype="Host"/>
			<ApplicationSystemType name="Other Applications" version="0"/>
		</ApplicationSystem>		
	</ApplicationSystems>
</RTSElements>

XML Schema Definition for bulk import of Session Manager profiles

<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
			xmlns:smgr="http://xml.avaya.com/schema/import" 
			targetNamespace="http://xml.avaya.com/schema/import_sessionmanager" 
			elementFormDefault="qualified">

<!-- This is the XML schema for the "Session Manager Profile".  It 
     defines this profile inside of an XML document that defines 
     a user record (see userimport.xsd) -->

<xsd:import namespace="http://xml.avaya.com/schema/import"
            schemaLocation="userimport.xsd"/>
                        
<xsd:complexType name="SessionManagerCommProfXML">
	
    <xsd:complexContent>
        <xsd:extension base="smgr:xmlCommProfileType" >
            
	<xsd:sequence>
	  <!-- 
	   The following attributes are the names of objects that must
	   already be administered in System Manager before performing
  	   the user import.
		 	  	   
  	   The relative order here cannot be changed because it would
  	   break backwards compatibility with existing XML documents
  	   that could be used for an import.
	  -->		
	  
	  <!-- Name of the primary Session Manager (required) -->
	  <xsd:element name="primarySM" type="xsd:string" minOccurs="0" />
			  
	  <!--  Name of the secondary Session Manager (optional) -->
          <xsd:element name="secondarySM" type="xsd:string" minOccurs="0" />
              
          <!-- Name of the Termination Application Sequence (optional)
               - administered under 
              	Session Manager / Application Configuration / Application Sequences --> 
          <xsd:element name="terminationAppSequence" type="xsd:string"  minOccurs="0" />
              
          <!-- Name of the Origination Application Sequence (optional)
               - administered under 
                 Session Manager / Application Configuration / Application Sequences -->              
          <xsd:element name="originationAppSequence" type="xsd:string" minOccurs="0" />
              
          <!-- Name of the Conference Factory Set (optional)
              - administered under 
                Session Manager / Application Configuration / Conference Factories  -->
          <xsd:element name="confFactorySet" type="xsd:string" minOccurs="0" />
              
          <!-- Name of the Survivability Server (optional) 
             - usually the name of a Branch Session Manager, but can be
               any non-CM SIP Entity -->
          <xsd:element name="survivabilityServer" type="xsd:string" minOccurs="0" />
              
          <!-- Name of the Home Location (required)
      	      - administered under Routing / Locations -->
          <xsd:element name="homeLocation" type="xsd:string"  minOccurs="1" />
              
          <!-- The maximum number of endpoints that can be simultaneously registered
               using this Session Manager Profile. (optional)  
               - The value is an integer between 1 and 10 and 
                 defaults to 1 if not specified.  -->
          <xsd:element name="maxSimultaneousDevices" minOccurs="0">
        	<xsd:simpleType>
              		<xsd:restriction base="xsd:integer">
              			<xsd:minInclusive value="1" />
             			<xsd:maxInclusive value="10" />
              		</xsd:restriction>
              </xsd:simpleType>
          </xsd:element>
              
  	  <!-- 
	    If true, new registrations will be blocked for this Session Manager
	    Profile if the maximum number of simultaneously registered endpoints
	    (see "maxSimultaneousDevices" above) is currently registered.  If
  	    false, an existing registration will be terminated to allow a new
  	    registration for this Session Manager Profile. (optional)
 	     - the value defaults to false if not specified
			  	   -->
          <xsd:element name="blockNewRegistrationWhenMaxActive" minOccurs="0">
            	<xsd:simpleType>
              		<xsd:restriction base="xsd:boolean" />
              	</xsd:simpleType>
          </xsd:element>              
                <!-- 
			  Flag to enable/disable the offline Call Logging feature for the SIP users
			  	   -->
          <xsd:element name="enabledisablecalllog" minOccurs="0">
            	<xsd:simpleType>
              		<xsd:restriction base="xsd:boolean" />
              	</xsd:simpleType>
          </xsd:element>
          
          <!-- Name of the Emergency Termination Application Sequence (optional)
               - administered under 
              	Session Manager / Application Configuration / Emergency Application Sequences --> 
          <xsd:element name="emergencyTerminationAppSequence" type="xsd:string"  minOccurs="0" />
              
          <!-- Name of the Emergency Origination Application Sequence (optional)
               - administered under 
                 Session Manager / Application Configuration / Emergency Application Sequences -->              
          <xsd:element name="emergencyOriginationAppSequence" type="xsd:string" minOccurs="0" /> 
          
            <!-- Policy Type (required only when policy based SM assignment global settings is enabled) -->
	  <xsd:element name="policyType" type="xsd:string" default="fixed" minOccurs="0" />
	  
	   <!-- Name of the third Session Manager -->
	  <xsd:element name="thirdSM" type="xsd:string" minOccurs="0" />
	  
	   <!-- Name of the fourth Session Manager -->
	  <xsd:element name="fourthSM" type="xsd:string" minOccurs="0" />
	  
	    <!-- Name of the primary fixed-region (mandatory only in case of fixed-region policy type minimum occurance is kept zero but is validated in AsmComProfDataRules, as this field is not applicable in case of fixed policy type ) -->
	  <xsd:element name="primaryFixedRegion" type="xsd:string" minOccurs="0" />
	  
	    <!-- Name of the secondary fixed-region (applicable only in case of fixed-region policy type, optional) -->
	  <xsd:element name="secondaryFixedRegion" type="xsd:string" minOccurs="0" />
	  
	  <!-- Name of the third fixed-region (applicable only in case of fixed-region policy type, optional) -->
	  <xsd:element name="thirdFixedRegion" type="xsd:string" minOccurs="0" />
	  
	   <!-- Name of the fourth fixed-region (applicable only in case of fixed-region policy type, optional) -->
	  <xsd:element name="fourthFixedRegion" type="xsd:string" minOccurs="0" />
	  <xsd:element name="thirdPartyClient" type="xsd:string" minOccurs="0" />
	</xsd:sequence>
  		
        </xsd:extension>
    </xsd:complexContent>   
 </xsd:complexType>


</xsd:schema>

Sample XML for bulk import of Session Manager profiles

<?xml version="1.0" encoding="UTF-8"?>
<tns:users xmlns:tns="http://xml.avaya.com/schema/import"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd ">

    <!-- User Record for: 5555555@domain.com -->
    <tns:user> 

	(Other user elements are required here - consult the main user record 
	XML schema reference)

	<!-- 
		This is the password for any SIP endpoints (phones) associated with the 
		user’s Session Manager Profile 
	-->
    	<commPassword>123456</commPassword> 
	<!--
	(Other user elements may be required here - consult the main user record 
	XML schema reference)
	-->
    <!-- Here, a Communication Profile is defined for the user -->
       <commProfileSet> 
       	<commProfileSetName>Primary</commProfileSetName> 
            	<isPrimary>true</isPrimary> 

		<!-- The user must be given one or more handles of type “SIP” to associate SIP
			devices with the Session Manager Profile.  In this case, a SIP phone will 
			be registered with a Session Manager as 5555555@domain.com -->
            	<handleList> 
            	<handle> 
            	<handleName>5555555</handleName> 
            	<handleType>sip</handleType> 
            	<handleSubType>username</handleSubType> 
            	<domainName>domain.com</domainName> 
            	</handle> 
            	</handleList> 

		<!-- Here, one or more product-specific profiles may be defined -->
		<!-- A Session Manager Profile is defined to associate a maximum of two 
			SIP phones,having the SIP handle, 5555555@domain.com, with...
			“Primary Session Manager” (‘Primary SM’)
			“Secondary Session Mananger” instance (‘Secondary SM’)
			“Termination Sequence” (‘Sequence to My CM’),
			“Origination Sequence” (‘Sequence to My CM’),    
			“Conference Factory Set” (‘EngeeringDepartmentConferenceSet’) 
			“Survivability Server” (“BSM” value below),
			“Home Location” (‘My Home’).  
			If both phones are registered and a third phone tries to register
			using the same SIP handle, one of the two phones will have its 
			registration terminated to allow the third phone to register. 
		-->
<commProfileList> 
                 <commProfile xsi:type="ns3:SessionManagerCommProfXML" xmlns:ns3="http://xml.avaya.com/schema/import_sessionmanager"> 
                     <commProfileType>SessionManager</commProfileType> 
                     <ns3:primarySM>Primary SM</ns3:primarySM>
                     <ns3:secondarySM>Secondary SM</ns3:secondarySM> 
                     <ns3:terminationAppSequence>Sequence to My CM</ns3:terminationAppSequence> 
                     <ns3:originationAppSequence>Sequence to My CM</ns3:originationAppSequence>
								 <ns3:confFactorySet>EngeeringDepartmentConferenceSet</ns3:confFactorySet>
                     <ns3:survivabilityServer>BSM</ns3:survivabilityServer>
                     <ns3:homeLocation>My Home</ns3:homeLocation> 
                     <ns3:maxSimultaneousDevices>3</ns3:maxSimultaneousDevices> 
                     <ns3:blockNewRegistrationWhenMaxActive>false</ns3:blockNewRegistrationWhenMaxActive>
                 </commProfile> 
                           
		<!-- 
			A CM Station Profile is associated with this Communication Profile.
			The application sequence, “Sequence to My CM”, invoked by Session 
			Manager for calls to and from 5555555@domain.com, sequences calls to 
			the CM, “My CM”. 
			SIP devices associated with this Communication Profile are associated 
			with the CM Station that has number 555-5555. The CM Station, 555-5555,
			already exists on the CM, so the “useExistingExtension” element has 
			value “true”. 
		-->

                 <commProfile xsi:type="ipt:xmlStationProfile" xmlns:ipt="http://xml.avaya.com/schema/import_csm_cm"> 
                     <commProfileType>CM</commProfileType> 
                     <ipt:cmName>My CM</ipt:cmName> 
                     <ipt:useExistingExtension>true</ipt:useExistingExtension> 
                     <ipt:extension>5555555</ipt:extension> 
                 </commProfile>

            </commProfileList> 
        </commProfileSet> 
    </tns:user> 
</tns:users>

XML Schema Definition for bulk import of endpoint profiles

<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:one="http://xml.avaya.com/schema/import" elementFormDefault="qualified"
targetNamespace="http://xml.avaya.com/schema/import_csm_cm" xmlns:csm="http://xml.avaya.com/schema/import_csm_cm">
<xs:import namespace="http://xml.avaya.com/schema/import" schemaLocation="userimport.xsd"/>

<!--Changes in xsd file need to generate jaxb src using this xsd-->
<xs:complexType name="xmlStationProfile">
	<xs:complexContent>
       	<xs:extension base="one:xmlCommProfileType" >
			<xs:sequence>	
				
				<!-- CM Name as it appears under 'Applications/Application Management/Entities -->
				<xs:element name="cmName" type="xs:string" maxOccurs="1" minOccurs="1"/>
				<xs:element name="prefHandleId" type="xs:string" maxOccurs="1" minOccurs="0"/>
				<!-- 'true' if already created extension is to be used.  'false' if available extension is to be used. -->
				<xs:element name="useExistingExtension" type="xs:boolean" maxOccurs="1" minOccurs="0"/>
				
				<!-- Extension Range which will be used to create Station using available extension within given range -->
				<xs:element name="extensionRange" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="([0-9]+([\.\-][0-9]+)*)|([0-9]+([\.\-][0-9]+)*:[0-9]+([\.\-][0-9]+)*)"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- Station extension number that need to be assigned to the user. -->
				<xs:element name="extension" maxOccurs="1" minOccurs="1">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="([0-9]+([\.\-][0-9]+)*)|[nN][eE][xX][tT]"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- Template name to be used to create station. Values defined in Template will be used if not provided. -->
				<xs:element name="template" type="xs:string" maxOccurs="1" minOccurs="0"/>
				
				<!-- Specifies the set type of the station  -->
				<xs:element name="setType" type="xs:string" maxOccurs="1" minOccurs="0"/>
				
				<!-- Security code for station. Value can be digit only.  -->
				<xs:element name="securityCode" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]*"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>		
				
				
				<!-- Valid values for port   -->	
				<!--01 to 64  First and second numbers are the cabinet number  -->
				<!--A to E  Third character is the carrier  -->
				<!--01 to 20  Fourth and fifth characters are the slot number  -->
				<!--01 to 32  Sixth and seventh characters are the circuit number  -->
				<!--x or X  Indicates that there is no hardware associated with the port assignment since the switch was set up, and the administrator expects that the extension would have a non-IP set. Or, the extension had a non-IP set, and it dissociated. Use x for Administered WithOut Hardware (AWOH) and Computer Telephony (CTI) stations, as well as for SBS Extensions.  -->
				<!--IP  Indicates that there is no hardware associated with the port assignment since the switch was set up, and the administrator expects that the extension would have an IP set. This is automatically entered for certain IP station set types, but you can enter for a DCP set with softphone permissions. This changes to the s00000 type when the set registers.  -->
				<xs:element name="port" type="xs:string" maxOccurs="1" minOccurs="0" />
				
				<!-- Whether the station should be deleted if it unassigned from the user. -->
				<xs:element name="deleteOnUnassign" type="xs:boolean" maxOccurs="1" minOccurs="0"/>
				
				<!-- Whether the endpoint name on CM should be overridden with the value in User. -->
				<xs:element name="overRideEndpointName" type="xs:boolean" maxOccurs="1" minOccurs="0"/>
				
				<!-- true/false for Enhanced Callr-Info display for 1-line phones -->
				<xs:element name="enhCallrInfodisplay" type="xs:boolean" maxOccurs="1" minOccurs="0"/>
				
				<!-- true/false to enable/disable lock messages feature. -->
				<xs:element name="lockMessages" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- A coverage path is a prioritized sequence of extensions to which your voice system will route an unanswered call. -->
				<!-- Valid values: CM 5.2 - Path Number between 1-2000, time of day table, t1-t999, or blank. -->
				<!-- Valid values: CM 6.0 - Path Number between 1-9999, time of day table, t1-t999, or blank. -->
				<xs:element name="coveragePath1" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="([1-9]{0})|(t[1-9][0-9]{0,2})|([1-9][0-9]{0,3})"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- A coverage path is a prioritized sequence of extensions to which your voice system will route an unanswered call. -->
				<!-- Valid values: CM 5.2 - Path Number between 1-2000, time of day table, t1-t999, or blank. -->
				<!-- Valid values: CM 6.0 - Path Number between 1-9999, time of day table, t1-t999, or blank. -->
				<xs:element name="coveragePath2" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="([1-9]{0})|(t[1-9][0-9]{0,2})|([1-9][0-9]{0,3})"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- The extension the system should hunt to for this telephone when the telephone is busy. A station hunting chain can be created by assigning a hunt-to station to a series of telephones.  -->
				<xs:element name="huntToStation" type="xs:string" maxOccurs="1" minOccurs="0" />
				
				<!-- Provides for partitioning of attendant groups and/or stations and trunk groups. -->
				<!-- Typically this is used for multiple tenants in a building or multiple departments within a company or organization. -->
				<!-- Valid values: 1 to 250 when TN is ON in special application and 1 to 100 o.w. -->
				<xs:element name="tn" maxOccurs="1" minOccurs="0">
				<xs:simpleType>
						<xs:restriction base="xs:int">
							<xs:minInclusive value="1" />
							<xs:maxInclusive value="250" />
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- Typically this is used for multiple tenants in a building or multiple departments within a company or organization. -->
				<!-- Typically this is used for multiple tenants in a building or multiple departments within a company or organization. -->
				<!-- Valid values: 0 to 995 -->
				<xs:element name="cor" maxOccurs="1" minOccurs="0">
  					<xs:simpleType>
    					<xs:restriction base="xs:int">
      						<xs:minInclusive value="0"/>
      						<xs:maxInclusive value="995"/>
    					</xs:restriction>
  					</xs:simpleType>
				</xs:element>

				<!-- Class of Service lets you define groups of users and control those groups' access to features -->
				<!-- Valid values: 1 to 15 -->
				<xs:element name="cos" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
						<xs:restriction base="xs:int">
							<xs:minInclusive value="0" />
							<xs:maxInclusive value="15" />
						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="xmobileType" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="EC500"/>
    						<xs:enumeration value="DECT"/>
    						<xs:enumeration value="IPDECT"/>
    						<xs:enumeration value="PHS"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="mappingMode" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="termination"/>
    						<xs:enumeration value="origination"/>
    						<xs:enumeration value="both"/>
    						<xs:enumeration value="none"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="configurationSet" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
  							<xs:pattern value="|[1-9]|[0-9][1-9]"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="mobilityTrunkGroup" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
  							<xs:pattern value="aar|ars|[1-9]|[1-9][0-9]|[1-9]([0-9]){2}|[1]([0-9]){3}|2000"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="dialPrefix" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
  							<xs:pattern value="([0-9]*#){0,4}"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="cellPhoneNumber" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
  							<xs:pattern value="[0-9]{0,15}"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="musicSource" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:int">
							<xs:minInclusive value="1" />
							<xs:maxInclusive value="250" />
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="tests" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="dataModule" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- Controls the behavior of speakerphones. -->
				<xs:element name="speakerphone" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="none"/>
							<xs:enumeration value="1-way"/>
							<xs:enumeration value="2-way"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- The language that displays on stations -->
				<!-- Time of day is displayed in 24-hour format (00:00 - 23:59) for all languages except English, which is displayed in 12-hour format (12:00 a.m. to 11:59 p.m.). -->
				<!-- unicode: Displays English messages in a 24-hour format . If no Unicode file is installed, displays messages in English by default. -->
				<xs:element name="displayLanguage" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="english"/>
							<xs:enumeration value="french"/>
							<xs:enumeration value="italian"/>
							<xs:enumeration value="spanish"/>
							<xs:enumeration value="unicode"/>
							<xs:enumeration value="unicode2"/>
							<xs:enumeration value="unicode3"/>
							<xs:enumeration value="unicode4"/>
							<xs:enumeration value="user-defined"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- Defines the personalized ringing pattern for the station. 
					Personalized Ringing allows users of some telephones to have one of 8 ringing patterns for incoming calls. 
					For virtual stations, this field dictates the ringing pattern on its mapped-to physical telephone. 
				-->
				<!-- L = 530 Hz, M = 750 Hz, and H = 1060 Hz -->
				<!-- Valid Entries  Usage  
					1  MMM (standard ringing)  
					2  HHH  
					3  LLL  
					4  LHH  
					5  HHL  
					6  HLL  
					7  HLH  
					8  LHL  
				 -->
				<xs:element name="personalizedRingingPattern" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:int">
							<xs:minInclusive value="1" />
							<xs:maxInclusive value="8" />
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				
				<!-- The Message Lamp Extension associated with the current extension -->
				<xs:element name="messageLampExt" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]+([\.\-][0-9]+)*"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<!-- Enables or disables the mute button on the station. -->
				<xs:element name="muteButtonEnabled" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<!--
					When used with Multi-media Call Handling, indicates which extension is
					assigned to the data module of the multimedia complex. Users can dial
					this extension to place either a voice or a data call, and voice
					conversion, coverage, and forwarding apply as if the call were made to
					the 1-number.
				-->
				<!--
					Valid Entry Usage A valid BRI data extension For MMCH, enter the
					extension of the data module that is part of this multimedia complex.
					H.323 station extension For 4600 series IP Telephones, enter the
					corresponding H.323 station. For IP Softphone, enter the corresponding
					H.323 station. If you enter a value in this field, you can register
					this station for either a road-warrior or telecommuter/Avaya IP Agent
					application. blank Leave this field blank for single-connect IP
					applications.
				-->
				<xs:element name="mediaComplexExt" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="([1-9]{0})|[0-9]+([\.\-][0-9]+)*"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- Whether this is IP soft phone. -->
				<xs:element name="ipSoftphone" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<!--
					Survivable GK Node Name Identifies the existence of other H.323
					gatekeepers located within gateway products that offer survivable call
					features. For example, the MultiTech MVPxxx-AV H.323 gateway family
					and the SLS function within the H.248 gateways. When a valid IP node
					name is entered into this field, Communication Manager adds the IP
					address of this gateway to the bottom of the Alternate Gatekeeper List
					for this IP network region. As H.323 IP stations register with
					Communication Manager, this list is sent down in the registration
					confirm message. This allows the IP station to use the IP address of
					this Survivable Gatekeeper as the call controller of last resort to
					register with. Available only if the station type is an H.323 station
					(46xxor 96xx models). 
					Valid Entry 			Usage 
					Valid IP node name 		Any valid previously-administered IP node name. 
					blank 					There are no external gatekeeper nodes within a customer's network. This is the default value.
				-->
				<xs:element name="survivableGkNodeName" type="xs:string" maxOccurs="1" minOccurs="0" />

				<!--
					Sets a level of restriction for stations to be used with the
					survivable dial plan to limit certain users to only to certain types
					of calls. You can list the restriction levels in order from the most
					restrictive to least restrictive. Each level assumes the calling
					ability of the ones above it. This field is used by PIM module of the
					Integrated Management to communicate with the Communication Manager
					administration tables and obtain the class of service information. PIM
					module builds a managed database to send for Standard Local
					Survivability (SLS) on the H.248 gateways. Available for all analog
					and IP station types.
					
					Valid Entries 		Usage 
					emergency 			This station can only be used to place emergency calls. 
					internal 			This station can only make intra-switch calls. This is the default. 
					local 				This station can only make calls that are defined as locl, op, svc, or hnpa in the Survivable Gateway Call Controller's routing tables. 
					toll 				This station can place any national toll calls that are defined as fnpa or natl on the Survivable Gateway Call Controller's routing tables. 
					unrestricted 		This station can place a call to any number defined in the Survivable Gateway Call Controller's routing tables. Those strings marked as deny are also denied to these users. 
				-->
				<xs:element name="survivableCOR" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="emergency"/>
							<xs:enumeration value="internal"/>
							<xs:enumeration value="local"/>
							<xs:enumeration value="toll"/>
							<xs:enumeration value="unrestricted"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<!--
					Designates certain telephones as not being allowed to receive incoming
					trunk calls when the Media Gateway is in survivable mode. This field
					is used by the PIM module of the Integrated Management to successfully
					interrogate the Communication Manager administration tables and obtain
					the class of service information. PIM module builds a managed database
					to send for SLS on the H.248 gateways. Available for all analog and IP
					station types.
					
					Valid Entry 		Usage 
						true 			Allows this station to be an incoming trunk destination while the Media Gateway is running in survivability mode. This is the default. 
						false 			Prevents this station from receiving incoming trunk calls when in survivable mode. 
					
				-->	
				<xs:element name="survivableTrunkDest" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<!-- Enter the complete Voice Mail Dial Up number. -->
				<xs:element name="voiceMailNumber" maxOccurs="1" minOccurs="0" >

					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[(0-9)(*)(#)(~mwWps)]{0,24}"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
			
				<!-- Analog telephones only. -->
				<!--
				Valid entries 		Usage
						true 		Enter true if this telephone is not located in the same building with the system. If you enter true, you must complete R Balance Network.
						false 		Enter false if the telephone is located in the same building with the system.
				 -->
				<xs:element name="offPremisesStation" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<!-- If a second line on the telephone is administered on the I-2 channel, enter analog. Otherwise, enter data module if applicable or none. -->
				<xs:element name="dataOption" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="analog"/>
							<xs:enumeration value="data-module"/>
							<xs:enumeration value="none"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>				
				
				
				<xs:element name="displayModule" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- if led or neon then messageLampExt should be enable otherwise its blank -->
				<xs:element name="messageWaitingIndicator" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="led"/>       
							<xs:enumeration value="neon"/>
							<xs:enumeration value="none"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>				
				
				<!-- Enter true to use this station as an endpoint in a remote office configuration. -->
				<xs:element name="remoteOfficePhone" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- Defines the source for Leave Word Calling (LWC) messages. -->
				<!-- 
				Valid entries 			Usage
					audix 				If LWC is attempted, the messages are stored in AUDIX.
					spe 				If LWC is attempted, the messages are stored in the system processing element (spe).
					none 				If LWC is attempted, the messages are not stored.
				
				 -->
				<xs:element name="lwcReception" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="audix"/>
							<xs:enumeration value="msa"/>
							<xs:enumeration value="spe"/>
							<xs:enumeration value="none"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<!--
					Enter true to allow internal telephone users to leave short LWC messages
					for this extension. If the system has hospitality, enter true for
					guest-room telephones if the extension designated to receive failed
					wakeup messages should receive LWC messages that indicate the wakeup
					calls failed. Enter true if LWC Reception is audix.
				-->
				<xs:element name="lwcActivation" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<xs:element name="lwcLogExternalCalls" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="cdrPrivacy" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="redirectNotification" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="perButtonRingControl" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="bridgedCallAlerting" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="bridgedIdleLinePreference" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="confTransOnPrimaryAppearance" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="customizableLabels" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="expansionModule" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="ipVideoSoftphone" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="activeStationRinging" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="single"/>
    						<xs:enumeration value="continuous"/>
    						<xs:enumeration value="if-busy-single"/>
    						<xs:enumeration value="silent"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>				
				
				<!-- Defines how call rings to the telephone when it is on-hook.-->
				<!--
					Valid entries 			Usage 
					continuous 				Enter continuous to cause all calls to this telephone to ring continuously.
					if-busy-single 			Enter if-busy-single to cause calls to this telephone to ring continuously when the telephone is off-hook and idle and calls to this telephone to
											receive one ring cycle and then ring silently when the telephone is off-hook and active.
					silent-if-busy 			Enter silent-if-busy to cause calls to ring silently when this station is busy.
					single 					Enter single to cause calls to this telephone to receive one ring cycle and then ring silently.
				-->
				<xs:element name="idleActiveRinging" type="xs:string" maxOccurs="1" minOccurs="0" /> <!-- not found in xhtml -->
				
				<!-- Must be set to true when the Type field is set to H.323. -->
				<xs:element name="switchhookFlash" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- If this field is true, the short switch-hook flash (50 to 150) from a 2500-type set is ignored. -->
				<xs:element name="ignoreRotaryDigits" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<!--
					H.320 Conversion - Valid entries are true and false (default). This field is
					optional for non-multimedia complex voice stations and for Basic
					multimedia complex voice stations. It is mandatory for Enhanced
					multimedia complex voice stations. Because the system can only handle
					a limited number of conversion calls, you might need to limit the
					number of telephones with H.320 conversion. Enhanced multimedia
					complexes must have this flag set to true.
				-->
							<xs:element name="h320Conversion" type="xs:boolean" maxOccurs="1" minOccurs="0" />
			
				<!--
					The service link is the combined hardware and software multimedia
					connection between an Enhanced mode complex's H.320 DVC system and the
					Avaya DEFINITY Server which terminates the H.320 protocol. A service
					link is never used by a Basic mode complex H.320 DVC system.
					Connecting a service link will take several seconds. When the service
					link is connected, it uses MMI, VC and system timeslot resources. When
					the service link is disconnected it does not tie up any resources. 
					The
					Service Link Mode can be administered as either 'as-needed' or
					'permanent' as described below: - As-Needed - Most non-call center
					multimedia users will be administered with this service link mode. The
					as-needed mode provides the Enhanced multimedia complex with a
					connected service link whenever a multimedia call is answered by the
					station and for a period of 10 seconds after the last multimedia call
					on the station has been disconnected. Having the service link stay
					connected for 10 seconds allows a user to disconnect a multimedia call
					and then make another multimedia call without having to wait for the
					service link to disconnect and re-establish. - Permanent - Multimedia
					call center agents and other users who are constantly making or
					receiving multimedia calls might want to be administered with this
					service link mode. The permanent mode service link will be connected
					during the station's first multimedia call and will remain in a
					connected state until the user disconnects from their PC's multimedia
					application or the Avaya DEFINITY Server restarts. This provides a
					multimedia user with a much quicker video cut-through when answering a
					multimedia call from another permanent mode station or a multimedia
call that has been early answered. ● Multimedia Mode - There are two
					multimedia modes, Basic and Enhanced, as
				-->
				<xs:element name="serviceLinkMode" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="as-needed"/>
    						<xs:enumeration value="permanent"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<!--
					There are two multimedia modes, Basic and Enhanced, as described
					below: 
					Basic - A Basic multimedia complex consists of a
					BRI-connected multimedia-equipped PC and a non-BRI-connected
					multifunction telephone set. When in Basic mode, users place voice
					calls at the multifunction telephone and multimedia calls from the
					multimedia equipped PC. Voice calls will be answered at the
					multifunction telephone and multimedia calls will alert first at the
					PC and if unanswered will next alert at the voice station if it is
					administered with H.320 enabled. A Basic mode complex has limited
					multimedia feature capability.
					Enhanced - An Enhanced multimedia complex consists of a
					BRI-connected multimedia-equipped PC and a non-BRI-connected
					multifunction telephone. The Enhanced mode station acts as though the
					PC were directly connected to the multifunction telephone; the service
					link provides the actual connection between the Avaya DEFINITY Server
					and the PC. Thus, voice and multimedia calls are originated and
					received at the telephone set. Voice and multimedia call status are
					also displayed at the telephone set. An Enhanced mode station allows
					multimedia calls to take full advantage of most call control features
				-->
				<xs:element name="multimediaMode" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="basic"/>
    						<xs:enumeration value="enhanced"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>				
				
				<!-- Controls the auditing or interrogation of a served user's message waiting indicator (MWI).
				Valid entries 			Usage
					fp-mwi 				Use if the station is a served user of an fp-mwi message center.
					qsig-mwi 			Use if the station is a served user of a qsig-mwi message center. 
					blank 				Leave blank if you do not want to audit the served user's MWI or 
										if the user is not a served user of either an fp-mwi or qsig-mwi message center.
				 -->
				<xs:element name="mwiServedUserType" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="fp-mwi"/>
    						<xs:enumeration value="qsig-mwi"/>
    						<xs:enumeration value="sip-adjunct"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>				
				
				<!-- The AUDIX associated with the station.
					Must contain a user-defined adjunct name that was previously administered. 
				-->
							<xs:element name="audixName" type="xs:string" maxOccurs="1" minOccurs="0" />
			
				<!--
					Automatic Moves allows a DCP telephone to be unplugged from one
					location and moved to a new location without additional Communication
					Manager administration. Communication Manager automatically associates
					the extension to the new port.
				
					**********CAUTION**********
					When a DCP telephone is unplugged and
					moved to another physical location, the Emergency Location Extension
					field must be changed for that extension or the USA Automatic Location
					Identification data base must be manually updated. If the Emergency
					Location Extension field is not changed or if the USA Automatic
					Location Identification data base is not updated, the DID number sent
					to the Public Safety Network could send emergency response personnel
					to the wrong location.
				Valid entries 			Usage
					always 			Enter always and the DCP telephone can be moved anytime without
									additional administration by unplugging from one location and plugging
									into a new location.
					once 			Enter once and the DCP telephone can be unplugged and plugged into a
									new location once. After a move, the field is set to done the next time that
									routine maintenance runs on the DCP telephone.
									Use once when moving a large number of DCP telephones so each
									extension is removed from the move list. Use once to prevent automatic
									maintenance replacement.
					no 				Enter no to require administration in order to move the DCP telephone.
					done 			Done is a display-only value. Communication Manager sets the field to
									done after the telephone is moved and routine maintenance runs on the
									DCP telephone.
					error 			Error is a display-only value. Communication Manager sets the field to
									error, after routine maintenance runs on the DCP telephone, when a
									non-serialized telephone is set as a movable telephone.
				-->
				<xs:element name="automaticMoves" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="always"/>
    						<xs:enumeration value="no"/>
    						<xs:enumeration value="once"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>


				<!--
					Tells Communication Manager how to handle emergency calls from the IP
					telephone. 
									**********CAUTION********** 
															An Avaya IP endpoint can dial
					emergency calls (for example, 911 calls in the U.S.). It only reaches
					the local emergency service in the Public Safety Answering Point area
					where the telephone system has local trunks. Please be advised that an
					Avaya IP endpoint cannot dial to and connect with local emergency
					service when dialing from remote locations that do not have local
					trunks. Do not use an Avaya IP endpoint to dial emergency numbers for
					emergency services when dialing from remote locations. Avaya LLC is
					not responsible or liable for any damages resulting from misplaced
					emergency calls made from an Avaya endpoint. Your use of this product
					indicates that you have read this advisory and agree to use an
					alternative telephone to dial all emergency calls from remote
					locations. Please contact your Avaya representative if you have
					questions about emergency calls from IP telephones. Available only if
					the station is an IP Softphone or a remote office station.
					
					Valid entries 				Usage
					as-on-local				Type as-on-local to achieve the following results:
											If the administrator chooses to leave the Emergency Location
											Extension fields (that correspond to this station's IP address) on
											the IP Address Mapping screen blank, the value as-on-local
											sends the extension entered in the Emergency Location
											Extension field in the Station screen to the Public Safety
											Answering Point (PSAP).
											If the administrator populates the IP Address Mapping screen with
											emergency numbers, the value as-on-local functions as follows:
											- If the Emergency Location Extension field in the Station screen
											is the same as the Emergency Location Extension field in the
											IP Address Mapping screen, the value as-on-local sends the
											extension to the Public Safety Answering Point (PSAP).
											- If the Emergency Location Extension field in the Station screen
											is different from the Emergency Location Extension field in the
											IP Address Mapping screen, the value as-on-local sends the
											extension in the IP Address Mapping screen to the Public Safety
											Answering Point (PSAP).
											
					block					Enter block to prevent the completion of emergency calls. Use this entry
											for users who move around but always have a circuit-switched telephone
											nearby, and for users who are farther away from the Avaya S8XXX Server
											than an adjacent area code served by the same 911 Tandem office.
											When users attempt to dial an emergency call from an IP Telephone and
											the call is blocked, they can dial 911 from a nearby circuit-switched
											telephone instead.
													
					cesid					Enter cesid to allow Communication Manager to send the CESID
											information supplied by the IP Softphone to the PSAP. The end user
											enters the emergency information into the IP Softphone.
											Use this entry for IP Softphones with road warrior service that are near
											enough to the Avaya S8XXX Server that an emergency call routed over
											the it's trunk reaches the PSAP that covers the server or switch.
											If the server uses ISDN trunks for emergency calls, the digit string is the
											telephone number, provided that the number is a local direct-dial number
											with the local area code, at the physical location of the IP Softphone. If the
											server uses CAMA trunks for emergency calls, the end user enters a
											specific digit string for each IP Softphone location, based on advice from
											the local emergency response personnel.	
											
					option					Enter option to allow the user to select the option (extension, block, or
											cesid) that the user selected during registration and the IP Softphone
											reported. Use this entry for extensions that can be swapped back and
											forth between IP Softphones and a telephone with a fixed location.
											The user chooses between block and cesid on the softphone. A DCP or
											IP telephone in the office automatically selects extension.										
				-->
				<xs:element name="remoteSoftphoneEmergencyCalls" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="as-on-local"/>
    						<xs:enumeration value="block"/>
    						<xs:enumeration value="cesid"/>
    						<xs:enumeration value="option"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>


				<!--
					This field allows the system to properly identify the location of a
					caller who dials a 911 emergency call from this station. An entry in
					this field must be of an extension type included in the dial plan, but
					does not have to be an extension on the local system. It can be a UDP
					extension. The entry defaults to blank. A blank entry typically would
					be used for an IP softphone dialing in through PPP from somewhere
					outside your network. If you populate the IP Address Mapping screen
					with emergency numbers, the feature functions as follows: If the
					Emergency Location Extension field in the Station screen is the same
					as the Emergency Location Extension field in the IP Address Mapping
					screen, the feature sends the extension to the Public Safety Answering
					Point (PSAP). If the Emergency Location Extension field in the Station
					screen is different from the Emergency Location Extension field in the
					IP Address Mapping screen, the feature sends the extension in the IP
					Address Mapping screen to the Public Safety Answering Point (PSAP).
				-->
				<xs:element name="emergencyLocationExt" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]+([\.\-][0-9]+)*"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<!--
					A softphone can register no matter what emergency call handling settings
					the user has entered into the softphone. If a softphone dials 911, the
					administered Emergency Location Extension is used. The softphone's
					user-entered settings are ignored. If an IP telephone dials 911, the
					administered Emergency Location Extension is used. If a call center
					agent dials 911, the physical station extension is displayed,
					overriding the administered LoginID for ISDN Display . Does not apply
					to SCCAN wireless telephones, or to extensions administered as type
					h.323.
				-->				
				<xs:element name="alwaysUse" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- Activates or deactivates Precedence Call Waiting for this station -->
				<xs:element name="precedenceCallWaiting" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<!--
					Enables or disables automatic selection of any idle appearance for
					transferred or conferenced calls. Communication Manager first attempts
					to find an idle appearance that has the same extension number as the
					call being transferred or conferenced has. If that attempt fails,
					Communication Manager selects the first idle appearance.
				-->
							<xs:element name="autoSelectAnyIdleAppearance" type="xs:boolean" maxOccurs="1" minOccurs="0" />
			
				<!--
					Allows or denies users in the telephone's Coverage Path to retrieve
					Leave Word Calling (LWC) messages for this telephone. Applies only if
					the telephone is enabled for LWC Reception.
				-->
							
				<xs:element name="coverageMsgRetrieval" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<!--
					In EAS environments, the auto answer setting for the Agent LoginID can
					override a station's setting when an agent logs in.
					Valid Entry			Usage 
					all 				All ACD and non-ACD calls terminated to an idle station cut through immediately. 
										Does not allow automatic hands-free answer for intercom calls. With non-ACD calls, 
										the set is also rung while the call is cut through. The ring can be prevented by activating 
										the ringer-off feature button when the Allow Ringer-off with Auto-Answer is enabled for the system.   
					acd 				Only ACD split /skill calls and direct agent calls to auto answer. Non-ACD calls terminated to a station ring audibly. 
										For analog stations, the station is off-hook and idle, only the ACD split/skill calls and direct agent calls 
										auto answer; non-ACD calls receive busy treatment. If the station is active on an ACD call and 
										a non-ACD call arrives, the Agent receives call-waiting tone.
					none 				All calls terminated to this station receive an audible ringing treatment. 
					icom 				Allows a telephone user to answer an intercom call from the same intercom group without pressing the intercom button.					
				-->
				<xs:element name="autoAnswer" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="acd"/>
    						<xs:enumeration value="all"/>
    						<xs:enumeration value="icom"/>
    						<xs:enumeration value="none"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- 
					Enables or disables data restriction that is used to prevent tones, such as call-waiting tones, from interrupting data calls. 
					Data restriction provides permanent protection and cannot be changed by the telephone user. Cannot be assigned if Auto Answer 
					is administered as all or acd. If enabled, whisper page to this station is denied.
				 -->
				<xs:element name="dataRestriction" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!--
					Indicates which call appearance is selected when the user lifts the handset and there is an incoming call.
					Valid Entry  				Usage    
					true						The user connects to an idle call appearance instead of the ringing call. 
					false						The Alerting Appearance Preference is set and the user connects to the ringing call appearance.
				 -->
				<xs:element name="idleAppearancePreference" type="xs:boolean" maxOccurs="1" minOccurs="0" />
		
				<!-- 
					enable/disable call waiting for this station
				-->
				<xs:element name="callWaitingIndication" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- 
					 Attendant call waiting allows attendant-originated or attendant-extended calls to a busy
					 single-line telephone to wait and sends distinctive call-waiting tone to the single-line user.
					 Enable/disable attendant call waiting
				 -->
				<xs:element name="attCallWaitingIndication" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- 
					Enter true so the telephone can receive the 3 different types of ringing patterns which identify the type of incoming calls.
					 Distinctive ringing might not work properly for off-premises telephones. -->
				<xs:element name="distinctiveAudibleAlert" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- 
					Valid Entries 			Usage 
					true					Restricts the last idle call appearance used for incoming priority calls and outgoing call originations only.
					false					Last idle call appearance is used for incoming priority calls and outgoing call originations. 
				 -->
				<xs:element name="restrictLastAppearance" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- 
					Valid entries			Usage
					true					Analog disconnect signal is sent automatically to the port after a call terminates. Analog devices 
											(such as answering machines and speakerphones) use this signal to turn the devices off after a call terminates.
					false					Hunt group agents are alerted to incoming calls. In a hunt group environment, the disconnect 
											signal blocks the reception of zip tone and incoming call notification by an auto-answer station when a call
											is queued for the station.
				 -->
				<xs:element name="adjunctSupervision" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!--
						Send Calling Number. 
						Valid Entries 		Usage 
						y					All outgoing calls from the station will deliver the Calling Party Number
											(CPN) information as "Presentation Allowed."
						n					No CPN information is sent for the call	
						r					Outgoing non-DCS network calls from the station will deliver the Calling
											Party Number information as "Presentation Restricted."
				 -->
				<xs:element name="perStationCpnSendCallingNumber" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="r"/>
    						<xs:enumeration value="n"/>
    						<xs:enumeration value="y"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!--
					Appears on the Station screen for analog telephones, only if the Without Flash field in the
					ANALOG BUSY AUTO CALLBACK section of the Feature-Related System Parameters
					screen is set to true. The Busy Auto Callback without Flash field then defaults to true for all analog
					telephones that allow Analog Automatic Callback.
					Set true to provide automatic callback for a calling analog station without flashing the hook. 
				 -->
				<xs:element name="busyAutoCallbackWithoutFlash" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- Provides audible message waiting. -->
				<xs:element name="audibleMessageWaiting" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<!-- Provides extended local calls / imsFeatureSequencing
				Extended Local Calls (ELC) /imsFeatureSequencing allows DCP and H.323 stations to use SIP sequenced applications.  The feature works by routing calls 
				involving those stations over SIP IMS trunks.  In other words, CM is applying the half-call model to those stations.  
				That also has the side effect that features which work differently under the half-call model than under the usual (full-call) model 
				also work differently for ELC stations. 
				The Extended Local Calls feature is administrable per station.  We're allowing stations that always use SIP IMS trunks to coexist on 
				the same server with stations that don’t always use SIP IMS trunks.  In other words, ELC is changing a previous marketing rule that 
				the full-call model (CM-ES) and the half-call model (CM-FS) functions can't co-exist on the same server.  As noted above, that also 
				has the side effect that features which work differently under the half-call model than under the full-call model now also can work 
				differently for two different SIP stations on the same CM server. 				
				 -->
				<xs:element name="imsFeatureSequencing" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<!--
					Only administrable if Hospitality is enabled on the System Parameters
					Customer-Options (Optional Features) screen. This field affects the
					telephone display on calls that originated from a station with Client
					Room Class of Service. Note: For stations with an audix station
					type, AUDIX Voice Power ports, or ports for any other type of
					messaging that needs display information, Display Client Redirection
					must be enabled.
					Set true to redirect information for a call originating from a Client Room and terminating to this station displays.				
				-->
				<xs:element name="displayClientRedirection" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- 
					Valid Entries 		Usage 
						true			Indicates that a station's line selection is not to be moved from the currently selected line button 
										to a different, non-alerting line button. If you enter true, the line selection on an on-hook station only moves from the last
										used line button to a line button with an audibly alerting call. If there are no alerting calls, the line selection 
										remains on the button last used for a call.
						false			The line selection on an on-hook station with no alerting calls can be moved to a different line button, which might be serving a different
										extension.
				 -->
				<xs:element name="selectLastUsedAppearance" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- Whether an unanswered forwarded call is provided coverage treatment. -->
				<xs:element name="coverageAfterForwarding" type="xs:string" maxOccurs="1" minOccurs="0" />
				
				<!-- Allow/disallow direct audio connections between IP endpoints. -->
				<xs:element name="directIpIpAudioConnections" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<!-- Allows IP endpoints to be connected through the server's IP circuit pack. -->
				<xs:element name="ipAudioHairpinning" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				
				<xs:element name="primeAppearancePreference" type="xs:string" maxOccurs="1" minOccurs="0" />
				
				<!-- Elements with complex data type. Please refer the appropriate elements for more details. -->
				<xs:element name="stationSiteData" type="csm:xmlStationSiteData" maxOccurs="1" minOccurs="0" />
				<xs:element name="abbrList" type="csm:xmlStationAbbreviatedDialingData" maxOccurs="unbounded" minOccurs="0" />
				<xs:element name="buttons" type="csm:xmlButtonData" maxOccurs="24" minOccurs="0" />
				<xs:element name="featureButtons" type="csm:xmlButtonData" maxOccurs="24" minOccurs="0" />
				<xs:element name="expansionModuleButtons" type="csm:xmlButtonData" maxOccurs="72" minOccurs="0" />
				<xs:element name="softKeys" type="csm:xmlButtonData" maxOccurs="15" minOccurs="0" />
				<xs:element name="displayButtons" type="csm:xmlButtonData" maxOccurs="unbounded" minOccurs="0" />
				<xs:element name="stationDataModule" type="csm:xmlStationDataModule" maxOccurs="1" minOccurs="0" />
				<xs:element name="hotLineData" type="csm:xmlStationHotLineData" maxOccurs="1" minOccurs="0" />
				<xs:element  name="nativeName" type="csm:xmlNativeNameData" maxOccurs="1" minOccurs="0"/>
				
				<!-- Number of button modules 0-3-->
				<xs:element name="buttonModules" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:int">
							<xs:minInclusive value="0" />
							<xs:maxInclusive value="3" />
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				
				<xs:element name="unconditionalInternalDest" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[*][0-9]{1,16}[#]|[0123456789]{1,17}[#]|[*][0-9]{1,17}|[0-9]{1,18}|[*][#]|"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				
				<xs:element name="unconditionalInternalActive" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="unconditionalExternalDest" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[*][0-9]{1,16}[#]|[0123456789]{1,17}[#]|[*][0-9]{1,17}|[0-9]{1,18}|[*][#]|"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				
				<xs:element name="unconditionalExternalActive" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="busyInternalDest" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[*][0-9]{1,16}[#]|[0123456789]{1,17}[#]|[*][0-9]{1,17}|[0-9]{1,18}|[*][#]|"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="busyInternalActive" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="busyExternalDest" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[*][0-9]{1,16}[#]|[0123456789]{1,17}[#]|[*][0-9]{1,17}|[0-9]{1,18}|[*][#]|"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="busyExternalActive" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="noReplyInternalDest" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[*][0-9]{1,16}[#]|[0123456789]{1,17}[#]|[*][0-9]{1,17}|[0-9]{1,18}|[*][#]|"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="noReplyInternalActive" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<xs:element name="noReplyExternalDest" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[*][0-9]{1,16}[#]|[0123456789]{1,17}[#]|[*][0-9]{1,17}|[0-9]{1,18}|[*][#]|"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="noReplyExternalActive" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="sacCfOverride" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="a"/>
    						<xs:enumeration value="n"/>
    						<xs:enumeration value="y"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="lossGroup" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:int">
							<xs:minInclusive value="1" />
							<xs:maxInclusive value="19" />
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="timeOfDayLockTable" maxOccurs="1" minOccurs="0">								
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="[1-5]|[0-9]{0}"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="emuLoginAllowed" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="ec500State" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="enabled"/>
    						<xs:enumeration value="disabled"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<!-- true/false to enable/disable Mute on Off Hook in Shared Control Mode feature. -->
				<xs:element name="muteOnOffHookInSCMode" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="type3pccEnabled" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="None"/>
    						<xs:enumeration value="Avaya"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="sipTrunk" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="aar|ars|[1-9]|[1-9][0-9]|[1-9]([0-9]){2}|[1]([0-9]){3}|2000"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="multimediaEarlyAnswer" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="bridgedApprOrigRestr" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="callApprDispFormat" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="inter-location"/>
    						<xs:enumeration value="intra-location"/>
    						<xs:enumeration value="disp-param-default"/>
    					</xs:restriction>    						
					</xs:simpleType>
				</xs:element>
				
				<!-- Enter a Group ID between 0-999, or blank -->
				<xs:element name="ipPhoneGroupId" maxOccurs="1" minOccurs="0">
				<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]|[0-9][0-9]|[0-9][0-9][0-9]|[0-9]{0}"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="xoipEndPointType" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="auto"/>
    						<xs:enumeration value="fax"/>
    						<xs:enumeration value="modem"/>
    						<xs:enumeration value="tty"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
							
				<xs:element name="xid" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="stepClearing" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="fixedTei" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="tei" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
  							<xs:pattern value="[0-6][0-3]"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="countryProtocol" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="1"/>
    						<xs:enumeration value="2"/>
    						<xs:enumeration value="3"/>
    						<xs:enumeration value="6"/>
    						<xs:enumeration value="etsi"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="endptInit" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="spid" maxOccurs="1" minOccurs="0"  >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
  							<xs:pattern value="[0-9]{1,10}"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				
				<xs:element name="endptId" maxOccurs="1" minOccurs="0" > <!-- 00 to 62 -->
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[0-6][0-2]"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="isMCTSignalling" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="isShortCallingPartyDisplay" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="passageWay" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="dtmfOverIp" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
    						<xs:enumeration value="in-band"/>
    						<xs:enumeration value="in-band-g711"/>
    						<xs:enumeration value="out-of-band"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>				
				<xs:element name="location" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="[1-9]{0}|[1-9]|[1-9][0-9]|[1-9]([0-9]){2}|[1]([0-9]){3}|2000"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
			</xs:sequence>
		</xs:extension>
   </xs:complexContent>
</xs:complexType>


<xs:complexType name="xmlStationSiteData">
	<xs:sequence>
		<xs:element name="room" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="jack" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:maxLength value="5"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element name="cable" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:maxLength value="5"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="floor" type="xs:string" maxOccurs="1" minOccurs="0" />
		<xs:element name="building" type="xs:string" maxOccurs="1" minOccurs="0" />
		<xs:element name="headset" type="xs:boolean" maxOccurs="1" minOccurs="0" />
		<xs:element name="speaker" type="xs:boolean" maxOccurs="1" minOccurs="0" />

		<xs:element name="mounting" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
    				<xs:enumeration value="d"/>
    				<xs:enumeration value="w"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Enter numeric cord length (0-99) -->	
		<xs:element name="cordLength" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:int">
					<xs:minInclusive value="0" />
					<xs:maxInclusive value="99" />
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="setColor" type="xs:string" maxOccurs="1" minOccurs="0" />
	</xs:sequence>
</xs:complexType>


<xs:complexType name="xmlStationAbbreviatedDialingData">
	<xs:sequence>
		<xs:element name="listType" maxOccurs="1" minOccurs="1" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
    				<xs:enumeration value="enhanced"/>
    				<xs:enumeration value="group"/>
    				<xs:enumeration value="personal"/>
    				<xs:enumeration value="system"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="number" type="xs:int" maxOccurs="1" minOccurs="1" />
		<xs:element name="listId" type="xs:int" maxOccurs="1" minOccurs="0" />
	</xs:sequence>
</xs:complexType>

<xs:complexType name="xmlButtonData">
	<xs:sequence>
		<xs:element name="number" type="xs:int" maxOccurs="1" minOccurs="1" /><!--  *******Must present******  -->
		<xs:element name="type" type="xs:string" maxOccurs="1" minOccurs="1" /><!--  *******Must present******  -->
		<xs:element name="data1" type="xs:string" maxOccurs="1" minOccurs="0" />
		<xs:element name="data2" type="xs:string" maxOccurs="1" minOccurs="0" />
		<xs:element name="data3" type="xs:string" maxOccurs="1" minOccurs="0" />
		<xs:element name="data4" type="xs:string" maxOccurs="1" minOccurs="0" />
		<xs:element name="data5" type="xs:string" maxOccurs="1" minOccurs="0" />
		<xs:element name="data6" type="xs:string" maxOccurs="1" minOccurs="0" />
	</xs:sequence>
</xs:complexType>
<xs:complexType name="xmlStationDataModule">
	<xs:sequence>
		<xs:element name="dataExtension" maxOccurs="1" minOccurs="1" ><!--  *******Must present******  -->
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:pattern value="[0-9]+([.-][0-9]+)*"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="name" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:maxLength value="29"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element name="cor" maxOccurs="1" minOccurs="1" ><!--  *******Must present******  -->
			<xs:simpleType>
  				<xs:restriction base="xs:int">
					<xs:minInclusive value="0" />
					<xs:maxInclusive value="995" />
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element name="cos" maxOccurs="1" minOccurs="1" ><!--  *******Must present******  -->
			<xs:simpleType>
  				<xs:restriction base="xs:int">
					<xs:minInclusive value="0" />
					<xs:maxInclusive value="15" />
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="itc" maxOccurs="1" minOccurs="1" ><!--  *******Must present******  -->
			<xs:simpleType>
  				<xs:restriction base="xs:string">
    				<xs:enumeration value="restricted"/>
    				<xs:enumeration value="unrestricted"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<!-- CM dependant field - 100 or 250 depends on system params -->
		<xs:element name="tn" maxOccurs="1" minOccurs="1" ><!--  *******Must present******  -->
			<xs:simpleType>
  				<xs:restriction base="xs:int">
					<xs:minInclusive value="1" />
					<xs:maxInclusive value="250" />
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element name="listType" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
    				<xs:enumeration value="enhanced"/>
    				<xs:enumeration value="group"/>
    				<xs:enumeration value="personal"/>
    				<xs:enumeration value="system"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="listId" type="xs:int" maxOccurs="1" minOccurs="0" />
			
		<xs:element name="specialDialingOption" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
    				<xs:enumeration value="default"/>
    				<xs:enumeration value="hot-line"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element name="specialDialingAbbrDialCode" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:maxLength value="4"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
	</xs:sequence>
</xs:complexType>
<xs:complexType name="xmlStationHotLineData">
	<xs:sequence>
		<xs:element name="hotLineDestAbbrevList" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:int">
					<xs:minInclusive value="1" />
					<xs:maxInclusive value="3" />
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element name="hotLineAbbrevDialCode" maxOccurs="1" minOccurs="0" >
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]*"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
	</xs:sequence>
</xs:complexType>

<!-- If displayName,givenName or surname contains characters of multiple scripts then locale tag should be present. 
  	 If displayName tag is present then it overwrites native name.
  	 If displayname is not present then combination of givenName and surname gets copied in native name.
  	 Please find below locale for multiscript language
  	 Language               Locale
  	 Japanese				       ja, ja-jp
  	 Simplified Chinese		 zh-cn
  	 Traditional Chinese	 zh-tw -->  
<xs:complexType name="xmlNativeNameData">
	<xs:sequence>
		<xs:element name="locale" maxOccurs="1" minOccurs="0">
		   <xs:simpleType>
  				<xs:restriction base="xs:string">
    				<xs:enumeration value="ja-jp"/>
    				<xs:enumeration value="ja"/>
    				<xs:enumeration value="zh-cn"/>
    				<xs:enumeration value="zh-tw"/>    				  				
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element name="name" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:maxLength value="27"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
	</xs:sequence>
</xs:complexType> 
<!-- Profile Settings for 96X1SIP & 96X1SIPCC Phones only -->
<xs:complexType name="xmlProfileSettings">
	<xs:sequence>
		<!-- Call Settings Options -->
		<!-- Phone Screen on Calling -->
		<xs:element name="phoneScreenCalling" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="No"/>
    				<xs:enumeration value="Yes"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Redial -->
		<xs:element name="profileRedial" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="List"/>
    				<xs:enumeration value="One Number"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Dialing Option -->
		<xs:element name="dialingOption" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="Editable"/>
    				<xs:enumeration value="On-hook"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Headset Signaling -->
		<xs:element name="headsetSignaling" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="Disabled"/>
    				<xs:enumeration value="Switchhook and Alerts"/>
    				<xs:enumeration value="Switchhook only"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Audio Path -->
		<xs:element name="audioPath" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="Speaker"/>
    				<xs:enumeration value="Headset"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Screen & Sound Options Section -->
		<!-- Button Clicks -->
		<xs:element name="buttonClicks" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="On"/>
    				<xs:enumeration value="Off"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Phone Screen -->
		<xs:element name="phoneScreen" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="Half"/>
    				<xs:enumeration value="Full"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Background Logo -->
		<xs:element name="backgroundLogo" type="xs:string" maxOccurs="1" minOccurs="0" />
		
		<!-- Personalized Ringing -->
		<xs:element name="personalizedRinging" type="xs:string" maxOccurs="1" minOccurs="0" />
		
		<!-- Call Pickup Indication -->
		<xs:element name="callPickUpIndication" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="None"/>
    				<xs:enumeration value="Audible"/>
    				<xs:enumeration value="Visual"/>
    				<xs:enumeration value="Both"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Show Quick Touch Panel -->
		<xs:element name="touchPanel" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="0"/>
    				<xs:enumeration value="1"/>
    				<xs:enumeration value="2"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		
		<!-- Language & Region Section -->		
		<!-- User Preferred Language -->
		<xs:element name="userPreferredLanguage" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="English"/>
    				<xs:enumeration value="Hebrew"/>
    				<xs:enumeration value="Brazilian Portuguese"/>
    				<xs:enumeration value="Canadian French"/>
    				<xs:enumeration value="German"/>
    				<xs:enumeration value="Parisian French"/>
    				<xs:enumeration value="Latin American Spanish"/>
    				<xs:enumeration value="Castilian Spanish"/>
    				<xs:enumeration value="Italian"/>
    				<xs:enumeration value="Dutch"/>
    				<xs:enumeration value="Russian"/>
    				<xs:enumeration value="Traditional Chinese"/>
    				<xs:enumeration value="Japanese"/>
    				<xs:enumeration value="Korean"/>
    				<xs:enumeration value="Arabic"/>
    				<xs:enumeration value="Polish"/>
					<xs:enumeration value="Turkish"/>
					<xs:enumeration value="Thai"/>
					<xs:enumeration value="Chinese"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Time Format -->
		<xs:element name="timeFormat" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="12 Hour"/>
    				<xs:enumeration value="24 Hour"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Advanced Options - Presence Integration Section -->
		<!-- Away Timer -->
		<xs:element name="awayTimer" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="On"/>
    				<xs:enumeration value="Off"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Away Timer Value -->
		<xs:element name="awayTimerValue" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:int">
					<xs:minInclusive value="5" />
					<xs:maxInclusive value="999" />
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
	</xs:sequence>
</xs:complexType>

<!--  GroupMembershipData to be set -->
<xs:complexType name="xmlStationGroupMememberShipData">
	<xs:sequence>
		<xs:element name="groupMemData" type="csm:xmlGroupMemData" maxOccurs="unbounded" minOccurs="0" />		
	</xs:sequence>
</xs:complexType>

<xs:complexType name="xmlGroupMemData">
	<xs:sequence>
		<xs:element name="groupType" type="xs:string" maxOccurs="1" minOccurs="1" />		
		<xs:element name="groupnumber" type="xs:string" maxOccurs="1" minOccurs="1" />
	</xs:sequence>
</xs:complexType>
<xs:complexType name="xmlStationdonotSharePortwithUnnamedRegistrationData">
	<xs:sequence>
       <xs:element name="donotSharePortwithUnnamedRegistration" type="xs:boolean" maxOccurs="1" minOccurs="0" />
    </xs:sequence>
</xs:complexType>
</xs:schema>

Sample XML for bulk import of endpoint profiles

<?xml version="1.0" encoding="UTF-8"?>
<tns:users xmlns:tns="http://xml.avaya.com/schema/import"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
	<tns:user>
		<authenticationType>BASIC</authenticationType>
		<description>description</description>
		<displayName>displayname</displayName>
		<displayNameAscii>displayNameAscii</displayNameAscii>
		<dn>dn</dn>
		<isDuplicatedLoginAllowed>true</isDuplicatedLoginAllowed>
		<isEnabled>true</isEnabled>
		<isVirtualUser>false</isVirtualUser>
		<givenName>givenName00</givenName>
		<honorific>honorific</honorific>
		<loginName>user00_00xyz@avaya.com</loginName>
		<middleName>middleName</middleName>
		<managerName>managerName</managerName>
		<preferredGivenName>preferredGivenName</preferredGivenName>
		<preferredLanguage>preferredLanguage</preferredLanguage>
		<source>local</source>
		<sourceUserKey>sourceUserKey</sourceUserKey>
		<status>AUTHPENDING</status>
		<suffix>suffix</suffix>
		<surname>surname</surname>
		<timeZone>timeZone</timeZone>
		<title>title</title>
		<userName>userName00</userName>
		<userPassword>userPassword</userPassword>
		<commPassword>commPassword</commPassword>
		<userType>ADMINISTRATOR</userType>
		<commProfileSet>
			<commProfileSetName>
				commProfileSetName00
			</commProfileSetName>
			<isPrimary>true</isPrimary>
			<commProfileList>
				<commProfile xsi:type="ipt:xmlStationProfile"
					xmlns:ipt="http://xml.avaya.com/schema/import_csm_cm">
					<commProfileType>CM</commProfileType>
					<ipt:cmName>PUIM81</ipt:cmName>
					<ipt:useExistingExtension>
						false
					</ipt:useExistingExtension>
					<ipt:extension>7100000</ipt:extension>
					<ipt:template>DEFAULT_4620_CM_6_0</ipt:template>
					<ipt:setType>4620</ipt:setType>
					<ipt:securityCode>78974231</ipt:securityCode>
					<ipt:port>IP</ipt:port>
					<ipt:coveragePath1>1</ipt:coveragePath1>
					<ipt:tn>1</ipt:tn>
					<ipt:cor>10</ipt:cor>
					<ipt:cos>4</ipt:cos>
					<ipt:dataModule>false</ipt:dataModule>
					<ipt:speakerphone>1-way</ipt:speakerphone>
					<ipt:displayLanguage>english</ipt:displayLanguage>
					<ipt:ipSoftphone>false</ipt:ipSoftphone>
					<ipt:survivableCOR>internal</ipt:survivableCOR>
					<ipt:survivableTrunkDest>
						true
					</ipt:survivableTrunkDest>
					<ipt:offPremisesStation>
						false
					</ipt:offPremisesStation>
					<ipt:dataOption>none</ipt:dataOption>
					<ipt:displayModule>false</ipt:displayModule>
					<ipt:lwcReception>spe</ipt:lwcReception>
					<ipt:lwcActivation>true</ipt:lwcActivation>
					<ipt:lwcLogExternalCalls>
						false
					</ipt:lwcLogExternalCalls>
					<ipt:cdrPrivacy>false</ipt:cdrPrivacy>
					<ipt:redirectNotification>
						true
					</ipt:redirectNotification>
					<ipt:perButtonRingControl>
						false
					</ipt:perButtonRingControl>
					<ipt:bridgedCallAlerting>
						false
					</ipt:bridgedCallAlerting>
					<ipt:bridgedIdleLinePreference>
						false
					</ipt:bridgedIdleLinePreference>
					<!-- 
						<ipt:confTransOnPrimaryAppearance>
						</ipt:confTransOnPrimaryAppearance>
						<ipt:customizableLabels>
						</ipt:customizableLabels>
					-->
					<ipt:expansionModule>true</ipt:expansionModule>
					<ipt:ipVideoSoftphone>false</ipt:ipVideoSoftphone>
					<ipt:activeStationRinging>
						single
					</ipt:activeStationRinging>
					<!-- 
						<ipt:idleActiveRinging></ipt:idleActiveRinging>
						<ipt:switchhookFlash></ipt:switchhookFlash>
						<ipt:ignoreRotaryDigits></ipt:ignoreRotaryDigits>
					-->
					<ipt:h320Conversion>false</ipt:h320Conversion>
					<ipt:serviceLinkMode>as-needed</ipt:serviceLinkMode>
					<ipt:multimediaMode>enhanced</ipt:multimediaMode>
					<!-- <ipt:mwiServedUserType>
						</ipt:mwiServedUserType>  -->
					<!-- <ipt:audixName></ipt:audixName>  -->
					<!-- <ipt:automaticMoves></ipt:automaticMoves>  -->
					<ipt:remoteSoftphoneEmergencyCalls>
						as-on-local
					</ipt:remoteSoftphoneEmergencyCalls>
					<!-- <ipt:alwaysUse></ipt:alwaysUse>  -->
					<ipt:precedenceCallWaiting>
						false
					</ipt:precedenceCallWaiting>
					<ipt:autoSelectAnyIdleAppearance>
						false
					</ipt:autoSelectAnyIdleAppearance>
					<ipt:coverageMsgRetrieval>
						true
					</ipt:coverageMsgRetrieval>
					<ipt:autoAnswer>none</ipt:autoAnswer>
					<ipt:dataRestriction>false</ipt:dataRestriction>
					<ipt:idleAppearancePreference>
						false
					</ipt:idleAppearancePreference>
					<!-- <ipt:attCallWaitingIndication>
						</ipt:attCallWaitingIndication>  -->
					<!-- <ipt:distinctiveAudibleAlert>
						</ipt:distinctiveAudibleAlert>  -->
					<ipt:restrictLastAppearance>
						true
					</ipt:restrictLastAppearance>
					<!-- <ipt:adjunctSupervision></ipt:adjunctSupervision>  -->
					<!-- <ipt:perStationCpnSendCallingNumber>
						</ipt:perStationCpnSendCallingNumber>  -->
					<!-- <ipt:busyAutoCallbackWithoutFlash>
						</ipt:busyAutoCallbackWithoutFlash>  -->
					<ipt:audibleMessageWaiting>
						false
					</ipt:audibleMessageWaiting>
					<ipt:displayClientRedirection>
						false
					</ipt:displayClientRedirection>
					<ipt:selectLastUsedAppearance>
						false
					</ipt:selectLastUsedAppearance>
					<ipt:coverageAfterForwarding>
						s
					</ipt:coverageAfterForwarding>
					<ipt:directIpIpAudioConnections>
						true
					</ipt:directIpIpAudioConnections>
					<ipt:ipAudioHairpinning>
						false
					</ipt:ipAudioHairpinning>
					<!-- <ipt:primeAppearancePreference>
						</ipt:primeAppearancePreference>  -->
				</commProfile>
			</commProfileList>
		</commProfileSet>
	</tns:user>
</tns:users>
</codeblock>

XML Schema Definition for bulk import of Avaya Breeze® platform profiles

<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
			xmlns:smgr="http://xml.avaya.com/schema/import" 
			targetNamespace="http://xml.avaya.com/schema/import_ce" 
			elementFormDefault="qualified">

<!-- This is the XML schema for the "CE Profile".  It 
     defines this profile inside of an XML document that defines 
     a user record (see userimport.xsd) -->

<xsd:import namespace="http://xml.avaya.com/schema/import"
            schemaLocation="userimport.xsd"/>
                        
<xsd:complexType name="CeCommProfXML">
    <xsd:complexContent>
        <xsd:extension base="smgr:xmlCommProfileType">
            
	<xsd:sequence>
	  <!-- 
	   The following attributes are the names of objects that must
	   already be administered in System Manager before performing
  	   the user import.
		 	  	   
  	   The relative order here cannot be changed because it would
  	   break backwards compatibility with existing XML documents
  	   that could be used for an import.
	  -->		

	  <!--  Name of the secondary Session Manager (optional) -->
          <xsd:element name="serviceProfile" type="xsd:string" minOccurs="1" />
                
	</xsd:sequence>
  		
        </xsd:extension>
    </xsd:complexContent>   
 </xsd:complexType>

</xsd:schema>

Sample XML for bulk import of Avaya Breeze® platform endpoint profiles

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tns:users xmlns:ns2="http://xml.avaya.com/schema/import_ce" xmlns:ns3="http://xml.avaya.com/schema/import_csm_b5800" xmlns:ns4="http://xml.avaya.com/schema/import1" xmlns:tns="http://xml.avaya.com/schema/import" xmlns:ns6="http://xml.avaya.com/schema/import_mmcs" xmlns:ns7="http://xml.avaya.com/schema/import_sessionmanager" xmlns:ns8="http://xml.avaya.com/schema/mock" xmlns:ns9="http://xml.avaya.com/schema/import_csm_mm" xmlns:ns10="http://xml.avaya.com/schema/import_csm_cm" xmlns:ns11="http://xml.avaya.com/schema/import_csm_agent" xmlns:ns12="http://xml.avaya.com/schema/deltaImport" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
    <tns:user>
        <authenticationType>basic</authenticationType>
        <description></description>
        <displayName>saurabh, tyagi</displayName>
        <displayNameAscii>saurabh, tyagi</displayNameAscii>
        <isDuplicatedLoginAllowed>false</isDuplicatedLoginAllowed>
        <isEnabled>true</isEnabled>
        <isVirtualUser>false</isVirtualUser>
        <givenName>tyagi</givenName>
        <givenNameAscii>tyagi</givenNameAscii>
        <honorific></honorific>
        <loginName>saurabhtyagi@avaya.com</loginName>
        <employeeNo></employeeNo>
        <department></department>
        <organization></organization>
        <middleName></middleName>
        <preferredLanguage>hu</preferredLanguage>
        <source>local</source>
        <status>provisioned</status>
        <surname>saurabh</surname>
        <surnameAscii>saurabh</surnameAscii>
        <userName>saurabhtyagi</userName>
        <userPassword></userPassword>
        <roles>
            <role>End-User</role>
        </roles>
        <ownedContactLists>
            <contactList>
                <name>list-saurabhtyagi_avaya.com</name>
                <isPublic>false</isPublic>
                <contactListType>general</contactListType>
            </contactList>
        </ownedContactLists>
        <commProfileSet>
            <commProfileSetName>Primary</commProfileSetName>
            <isPrimary>true</isPrimary>
            <commProfileList>
                <commProfile xsi:type="ns2:CeCommProfXML" xmlns:ns2="http://xml.avaya.com/schema/import_ce">
                    <commProfileType>AUS</commProfileType>
                    <ns2:serviceProfile>ce_service_profile</ns2:serviceProfile>
                </commProfile>
            </commProfileList>
        </commProfileSet>
    </tns:user>
</tns:users>

XML Schema for bulk import and export of Work Assignment profiles

<?xml version="1.0" encoding="UTF-8" ?>
                <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
                xmlns:smgr="http://xml.avaya.com/schema/import" 
                targetNamespace="http://xml.avaya.com/schema/import_workassignment" 
                elementFormDefault="qualified">
                 <!-- This is the XML schema for the "Work Assignment Profile".  It 
                 defines this profile inside of an XML document that defines 
                a user record (see userimport.xsd) -->
                <xsd:import namespace="http://xml.avaya.com/schema/import"
             schemaLocation="userimport.xsd" />
                <xsd:complexType name="WorkAssignmentCommProfXML">
                  <xsd:complexContent>
                  <xsd:extension base="smgr:xmlCommProfileType" >
                  <xsd:sequence>
                  <xsd:element name="strategyName" type="xsd:string" minOccurs="0" maxOccurs="1" />
                 <xsd:element name="workAssignmentResourceDetails" minOccurs="0" maxOccurs="unbounded">
                <xsd:complexType>
                <xsd:sequence>
                <xsd:element name="associatedHandleName" type="xsd:string" minOccurs="1" maxOccurs="1" />
        <xsd:element name="accountName" type="xsd:string" minOccurs="0" maxOccurs="1" />
             <xsd:element name="accountAddress" type="xsd:string" minOccurs="0" maxOccurs="1" />
           <xsd:element name="sourceName" type="xsd:string" minOccurs="0" maxOccurs="1" />
           <xsd:element name="sourceAddress" type="xsd:string" minOccurs="0" maxOccurs="1" />
        <xsd:element name="channelAttribute" type="xsd:string" minOccurs="0" maxOccurs="1" />
            </xsd:sequence>
          </xsd:complexType>
          </xsd:element>
          <xsd:element name="workAssignmentAgentAttributes" minOccurs="0" maxOccurs="unbounded">
           <xsd:complexType>
         <xsd:sequence>
         <xsd:element name="categoryName" type="xsd:string" minOccurs="1" maxOccurs="1" />
         <xsd:element name="attributeName" type="xsd:string" minOccurs="1" maxOccurs="1" />
         </xsd:sequence>
          </xsd:complexType>
          </xsd:element>               
       </xsd:sequence>      
       </xsd:extension>
       </xsd:complexContent>   
    </xsd:complexType>
 </xsd:schema>

Sample XML for bulk import of Work Assignment profiles

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tns:users xmlns:ns2="http://xml.avaya.com/schema/import_ce" xmlns:tns="http://xml.avaya.com/schema/import" xmlns:ns4="http://xml.avaya.com/schema/import_mem_officelinx" xmlns:ns5="http://xml.avaya.com/schema/import1" xmlns:ns6="http://xml.avaya.com/schema/import_csm_mm" xmlns:ns7="http://xml.avaya.com/schema/import_workassignment" xmlns:ns8="http://xml.avaya.com/schema/import_sessionmanager" xmlns:ns9="http://xml.avaya.com/schema/presence" xmlns:ns10="http://xml.avaya.com/schema/import_csm_cm" xmlns:ns11="http://xml.avaya.com/schema/import_mmcs" xmlns:ns12="http://xml.avaya.com/schema/import_csm_b5800" xmlns:ns13="http://xml.avaya.com/schema/deltaImport" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
    <tns:user>
        <UserProvisionRules>
            <UserProvisionRuleName>My UPR Equi</UserProvisionRuleName>
        </UserProvisionRules>
        <authenticationType>basic</authenticationType>
        <description></description>
        <displayName>bbb, aaa</displayName>
        <displayNameAscii>bbb, aaa</displayNameAscii>
        <isDuplicatedLoginAllowed>false</isDuplicatedLoginAllowed>
        <isEnabled>true</isEnabled>
        <isVirtualUser>false</isVirtualUser>
        <givenName>aaa</givenName>
        <givenNameAscii>aaa</givenNameAscii>
        <honorific></honorific>
        <loginName>aaa@avaya.com</loginName>
        <employeeNo></employeeNo>
        <department></department>
        <organization></organization>
        <middleName></middleName>
        <preferredLanguage>it_IT</preferredLanguage>
        <source>local</source>
        <status>provisioned</status>
        <surname>bbb</surname>
        <surnameAscii>bbb</surnameAscii>
        <timeZone>(-12:0)International Date Line West</timeZone>
        <userName>aaa</userName>
        <userPassword></userPassword>
        <commPassword></commPassword>
        <roles>
            <role>End-User</role>
        </roles>
        <ownedContactLists>
            <contactList>
                <name>list-aaa_avaya.com</name>
                <isPublic>false</isPublic>
                <contactListType>general</contactListType>
            </contactList>
        </ownedContactLists>
        <commProfileSet>
            <commProfileSetName>Primary</commProfileSetName>
            <isPrimary>true</isPrimary>
            <handleList>
                <handle>
                    <handleName>aaa@avaya.com</handleName>
                    <handleType>uca</handleType>
                </handle>
            </handleList>
            <commProfileList>
                <commProfile xsi:type="ns7:WorkAssignmentCommProfXML" xmlns:ns7="http://xml.avaya.com/schema/import_workassignment">
                    <commProfileType>UCA</commProfileType>
                    <ns7:strategyName>Skill Level</ns7:strategyName>
                    <ns7:workAssignmentResourceDetails>
                        <ns7:associatedHandleName>aaa@avaya.com</ns7:associatedHandleName>
                        <ns7:accountName>aaa</ns7:accountName>
                        <ns7:accountAddress>aaa@avaya.com</ns7:accountAddress>
                        <ns7:sourceName>avaya.com</ns7:sourceName>
                        <ns7:sourceAddress></ns7:sourceAddress>
                        <ns7:channelAttribute>Voice</ns7:channelAttribute>
                    </ns7:workAssignmentResourceDetails>
                </commProfile>
            </commProfileList>
        </commProfileSet>
    </tns:user>
</tns:users>

XML Schema Definition for bulk import of Avaya Messaging profiles

<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:smgr="http://xml.avaya.com/schema/import" elementFormDefault="qualified"
	targetNamespace="http://xml.avaya.com/schema/import_mem_officelinx">

	<xs:import namespace="http://xml.avaya.com/schema/import"
		schemaLocation="userimport.xsd" />

	<xs:complexType name="xmlOfficelinxProfile">
		<xs:complexContent>
			<xs:extension base="smgr:xmlCommProfileType">
				<xs:sequence>
					<xs:element type="xs:string" name="officelinxName" maxOccurs="1" />
					<xs:element type="xs:long" name="mailBoxNumber" maxOccurs="1" />
					<xs:element type="xs:string" name="numericPassword" maxOccurs="1" minOccurs="0" />
					<xs:element type="xs:string" name="applicationUserPassword" maxOccurs="1" minOccurs="0" />
					<xs:element type="xs:string" name="company" maxOccurs="1" minOccurs="0" />
					<xs:element type="xs:string" name="department" maxOccurs="1" minOccurs="0" />
					<xs:element type="xs:string" name="featureGroup" maxOccurs="1" minOccurs="0" />
					<xs:element type="xs:string" name="capability" maxOccurs="1" minOccurs="0" />
					<xs:element type="xs:string" name="domainAccountName" maxOccurs="1" minOccurs="0" />
					<xs:element type="xs:string" name="synchronizationUserName" maxOccurs="1" minOccurs="0" />
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>

</xs:schema>

Sample XML for bulk import of Avaya Messaging profiles

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tns:users xmlns:ns2="http://xml.avaya.com/schema/import_ce" xmlns:tns="http://xml.avaya.com/schema/import" xmlns:ns4="http://xml.avaya.com/schema/import_mem_officelinx" xmlns:ns5="http://xml.avaya.com/schema/import1" xmlns:ns6="http://xml.avaya.com/schema/import_csm_mm" xmlns:ns7="http://xml.avaya.com/schema/import_workassignment" xmlns:ns8="http://xml.avaya.com/schema/import_sessionmanager" xmlns:ns9="http://xml.avaya.com/schema/presence" xmlns:ns10="http://xml.avaya.com/schema/import_csm_cm" xmlns:ns11="http://xml.avaya.com/schema/import_mmcs" xmlns:ns12="http://xml.avaya.com/schema/import_csm_agent" xmlns:ns13="http://xml.avaya.com/schema/import_csm_b5800" xmlns:ns14="http://xml.avaya.com/schema/deltaImport" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
    <tns:user>
        <authenticationType>basic</authenticationType>
        <description></description>
        <displayName>pp7, pp7</displayName>
        <displayNameAscii>pp7, pp7</displayNameAscii>
        <isDuplicatedLoginAllowed>false</isDuplicatedLoginAllowed>
        <isEnabled>true</isEnabled>
        <isVirtualUser>false</isVirtualUser>
        <givenName>pp7</givenName>
        <givenNameAscii>pp7</givenNameAscii>
        <honorific></honorific>
        <loginName>pp7@avaya.com</loginName>
        <employeeNo></employeeNo>
        <department></department>
        <organization></organization>
        <middleName></middleName>
        <preferredLanguage>sv</preferredLanguage>
        <source>local</source>
        <status>provisioned</status>
        <surname>pp7</surname>
        <surnameAscii>pp7</surnameAscii>
        <userName>pp7</userName>
        <userPassword></userPassword>
        <commPassword></commPassword>
        <roles>
            <role>End-User</role>
        </roles>
        <ownedContactLists>
            <contactList>
                <name>list-pp7_avaya.com</name>
                <isPublic>false</isPublic>
                <contactListType>general</contactListType>
            </contactList>
        </ownedContactLists>
        <commProfileSet>
            <commProfileSetName>Primary</commProfileSetName>
            <isPrimary>true</isPrimary>
            <commProfileList>
                <commProfile xsi:type="ns4:xmlOfficelinxProfile" xmlns:ns4="http://xml.avaya.com/schema/import_mem_officelinx">
                    <commProfileType>officelinx</commProfileType>
                    <ns4:officelinxName>Officelinx-Pune</ns4:officelinxName>
                    <ns4:mailBoxNumber>198</ns4:mailBoxNumber>
					<ns4:numericPassword/>
                    <ns4:applicationUserPassword/>
                    <ns4:company>1</ns4:company>
                    <ns4:department>14</ns4:department>
                    <ns4:featureGroup>1</ns4:featureGroup>
                    <ns4:capability>1</ns4:capability>
                    <ns4:domainAccountName>pp7@avaya.com</ns4:domainAccountName>
                    <ns4:synchronizationUserName>pp7@avaya.com</ns4:synchronizationUserName>
                </commProfile>
            </commProfileList>
        </commProfileSet>
    </tns:user>
</tns:users>

XML Schema Definition for bulk import of Equinox profiles

<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:one="http://xml.avaya.com/schema/import" targetNamespace="http://xml.avaya.com/schema/import_scopia" elementFormDefault="qualified" xmlns:abc="http://xml.avaya.com/schema/import_scopia">
<xsd:import namespace="http://xml.avaya.com/schema/import"
            schemaLocation="userimport.xsd"/>
<xsd:complexType name="ScopiaCommProfileType">
    <xsd:complexContent>
        <xsd:extension base="one:xmlCommProfileType" >
            <xsd:sequence>
                <xsd:element name="scopiaUserId" type="xsd:string" minOccurs="0"/>
                <xsd:element name="password" type="xsd:string"/>
                <xsd:element name="vrNumber" type="xsd:string" minOccurs="0"/>
                <xsd:element name="needVR" type="xsd:boolean" minOccurs="0"/>
                <xsd:element name="virtualRoomId" type="xsd:string" minOccurs="0"/>
            </xsd:sequence>
        </xsd:extension>
    </xsd:complexContent>
 </xsd:complexType>
</xsd:schema>

Sample XML for bulk import of Equinox profiles

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tns:users xmlns:ns2="http://xml.avaya.com/schema/import_ce" xmlns:tns="http://xml.avaya.com/schema/import" xmlns:ns4="http://xml.avaya.com/schema/import_mem_officelinx" xmlns:ns5="http://xml.avaya.com/schema/import1" xmlns:ns15="http://xml.avaya.com/schema/import_scopia" xmlns:ns6="http://xml.avaya.com/schema/import_csm_mm" xmlns:ns7="http://xml.avaya.com/schema/import_workassignment" xmlns:ns8="http://xml.avaya.com/schema/import_sessionmanager" xmlns:ns9="http://xml.avaya.com/schema/presence" xmlns:ns10="http://xml.avaya.com/schema/import_csm_cm" xmlns:ns11="http://xml.avaya.com/schema/import_mmcs" xmlns:ns12="http://xml.avaya.com/schema/import_csm_b5800" xmlns:ns13="http://xml.avaya.com/schema/deltaImport" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
    <tns:user>
        <authenticationType>basic</authenticationType>
        <description></description>
        <displayName>Firstname, Lastname</displayName>
        <displayNameAscii>Firstname, Lastname</displayNameAscii>
        <isDuplicatedLoginAllowed>false</isDuplicatedLoginAllowed>
        <isEnabled>true</isEnabled>
        <isVirtualUser>false</isVirtualUser>
        <givenName>Lastname</givenName>
        <givenNameAscii>Lastname</givenNameAscii>
        <honorific></honorific>
        <loginName>abc@avaya.com</loginName>
        <employeeNo></employeeNo>
        <department></department>
        <organization></organization>
        <middleName></middleName>
        <preferredLanguage>pl</preferredLanguage>
        <source>local</source>
        <status>provisioned</status>
        <surname>Firstname</surname>
        <surnameAscii>Firstname</surnameAscii>
        <userName>abc</userName>
        <userPassword></userPassword>
        <commPassword>12345</commPassword>
        <roles>
            <role>End-User</role>
        </roles>
        <ownedContactLists>
            <contactList>
                <name>list-abc_avaya.com</name>
                <isPublic>false</isPublic>
                <contactListType>general</contactListType>
            </contactList>
        </ownedContactLists>
        <commProfileSet>
            <commProfileSetName>Primary</commProfileSetName>
            <isPrimary>true</isPrimary>           
            <commProfileList>
                <commProfile xsi:type="ns15:ScopiaCommProfileType" xmlns:ns15="http://xml.avaya.com/schema/import_scopia">
                    <commProfileType>scopiaProfile</commProfileType>
                    <ns15:scopiaUserId>1654</ns15:scopiaUserId>
					<ns15:password>1111</ns15:password>
					<ns15:vrNumber>6985001</ns15:vrNumber>
					<ns15:needVR>true</ns15:needVR>
                    <ns15:virtualRoomId>16582</ns15:virtualRoomId>
                </commProfile>
            </commProfileList>
        </commProfileSet>
    </tns:user>
</tns:users>

XML Schema Definition for bulk import of Messaging profiles

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:one="http://xml.avaya.com/schema/import" elementFormDefault="qualified"
	targetNamespace="http://xml.avaya.com/schema/import_csm_mm" xmlns:csm="http://xml.avaya.com/schema/import_csm_mm">

	<xs:import namespace="http://xml.avaya.com/schema/import"
		schemaLocation="userimport.xsd" />
	<!--Changes in xsd file need to generate jaxb src using this xsd-->
	<xs:complexType name="xmlMessagingProfile">
		<xs:complexContent>
			<xs:extension base="one:xmlCommProfileType">
				<xs:sequence>
					<!--
						Specifies the messaging system of the subscriber you
						want to add. Name as it appears under 
						'Applications/Application Management/Entities
					-->
					<xs:element name="messagingName" type="xs:string"
						maxOccurs="1" minOccurs="1" />
					<xs:element name="useExisting" type="xs:boolean"
						maxOccurs="1" minOccurs="0" /><!-- use existing -->

					<!-- Specifies the messaging template of a subscriber.  -->
					<xs:element name="messagingTemplate" type="xs:string"
						maxOccurs="1" minOccurs="0" />


					<xs:element name="mailboxNumber" maxOccurs="1"
						minOccurs="1">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:pattern value="[0-9]{1,50}" />
							</xs:restriction>
						</xs:simpleType>
					</xs:element>

					<!--
						Specifies the default password the subscriber must use
						to log in to his or her mailbox. The password can be 
						from one digit in length to a maximum of 15 digits.
					-->
					<xs:element name="password" maxOccurs="1" minOccurs="0">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:pattern value="[0-9]{0,15}" />
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="deleteOnUnassign" type="xs:boolean"
						maxOccurs="1" minOccurs="0" />

					<!-- follows overrriding  subscriber  data  -->

					<!--
						The class of service for this subscriber. The COS controls
						subscriber access to many features and provides general 
						settings, such as mailbox size.
					-->
					<xs:element name="cos" maxOccurs="1" minOccurs="0"> 
					<!-- MM/CMM field -->
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:pattern
									value="[0-9]|[0-9]{2}|[0-4][0-9]{2}|[5][0-4][0-9]|[5][5][0-1]" />
							</xs:restriction>
						</xs:simpleType>
					</xs:element>

					<!--
						Specifies the default community ID for the subscriber. 
						Community IDs are used to control message sending and 
						receiving among groups of subscribers. 
						The default value is 1.
					-->
					<xs:element name="communityID" maxOccurs="1" minOccurs="0"> 
					<!-- MM/CMM field -->
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:pattern value="[0-9]|[0-1][0-5]" />
							</xs:restriction>
						</xs:simpleType>
					</xs:element>

					<!--
						Specifies the name that appears before the machine name
						and domain in the subscriber's e-mail address. The machine
						name and domain are automatically added to the handle you 
						enter when the subscriber sends or receives an e-mail.
					-->
					<xs:element name="emailHandle" maxOccurs="1" minOccurs="0"> 
					<!-- MM/CMM field -->
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:pattern value="^[a-zA-Z0-9\w\.\-]*" />
							</xs:restriction>
						</xs:simpleType>
					</xs:element>

					<!--
						Specifies the display name of the subscriber in address book
						listings, such as those for e-mail client applications. 
						The name you enter can be 1 to 64 characters in length.
					-->
					<xs:element name="commonName" type="xs:string"
						maxOccurs="1" minOccurs="0" /> <!-- MM/CMM field -->

					<!--
						Specifies one or more alternate number to reach a 
						subscriber. You can use secondary extensions to specify
						a telephone number for direct reception of faxes, to 
						allow callers to use an existing Caller Application, or 
						to identify each line appearance on the subscriber's 
						telephone set if they have different telephone numbers.
					-->
					<xs:element name="secondaryExtension" maxOccurs="1"
						minOccurs="0"> <!-- MM/CMM field -->
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:pattern value="[0-9]{0,50}" />
							</xs:restriction>
						</xs:simpleType>
					</xs:element>

					<xs:element name="mmSpecific" type="csm:xmlMMSpecific"
						maxOccurs="1" minOccurs="0" />
					<xs:element name="cmmSpecific" type="csm:xmlCMMSpecific"
						maxOccurs="1" minOccurs="0" />
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>


	<xs:complexType name="xmlMMSpecific">
		<xs:sequence>
			<!--
				Specifies a unique address in the voice mail network. The numeric
				address can be from 1 to 50 digits and can contain the Mailbox
				Number.
			-->
			<xs:element name="numericAddress" maxOccurs="1" minOccurs="0">
			<!-- MM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="([0-9])*" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!-- The primary telephone extension of the subscriber. -->
			<xs:element name="pbxExtension" maxOccurs="1" minOccurs="0"> 
			<!-- MM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="([+0-9])*" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!--
				The telephone number of the subscriber as displayed in address book
				listings and client applications. The entry can be a maximum of 50
				characters in length and can contain any combination of digits
				(0-9), period (.), hyphen (-), plus sign (+), and left and right
				parentheses ([) and (]).
			-->
			<xs:element name="telephoneNumber" maxOccurs="1"
				minOccurs="0"> <!-- MM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="([-+\.()0-9])*" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!--
				If the subscriber name is entered in multi-byte character format,
				then this field specifies the ASCII translation of the subscriber
				name.
			-->
			<xs:element name="asciiVersionOfName" type="xs:string"
				maxOccurs="1" minOccurs="0" /> <!-- MM field -->

			<!--
				Specifies whether your password expires or not. You can choose one
				of the following: - yes: for password to expire - no: if you do not
				want your password to expire
			-->
			<xs:element name="expirePassword" type="csm:xmlyesNoType"
				maxOccurs="1" minOccurs="0" />  <!-- MM field -->

			<!--
				Specifies whether you want your mailbox to be locked. A subscriber
				mailbox can become locked after two unsuccessful login attempts.You
				can choose one of the following: - no: to unlock your mailbox - yes:
				to lock your mailbox and prevent access to it
			-->
			<xs:element name="mailBoxLocked" type="csm:xmlyesNoType"
				maxOccurs="1" minOccurs="0" />  <!-- MM field -->

			<!--
				Specifies the mailbox number or transfer dial string of the
				subscriber's personal operator or assistant. This field also
				indicates the transfer target when a caller to this subscriber
				presses 0 while listening to the subscriber's greeting.
			-->
			<xs:element name="personalOperatorMailbox" maxOccurs="1"
				minOccurs="0"> <!-- MM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="[0-9]+([*#,][0-9]+)*" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!--
				Specifies when to route calls to the backup operator mailbox. The
				default value for this field is Always Active.
			-->
			<xs:element name="personalOperatorSchedule" type="xs:string"
				maxOccurs="1" minOccurs="0" /> <!-- MM field -->

			<!--
				Specifies the order in which the subscriber hears the voice
				messages. You can choose one of the following: - urgent first then
				newest: to direct the system to play any messages marked as urgent
				prior to playing non-urgent messages. Both the urgent and non-urgent
				messages are played in the reverse order of how they were received.
				- oldest messages first: to direct the system to play messages in
				the order they were received. - urgent first then oldest: to direct
				the system to play any messages marked as urgent prior to playing
				non-urgent messages. Both the urgent and non-urgent messages are
				played in the order of how they were received. - newest messages
				first: to direct the system to play messages in the reverse order 
				of how they were received.
			-->
			<xs:element name="tuiMessageOrder" maxOccurs="1"
				minOccurs="0"> <!-- MM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="urgent first then newest" />
						<xs:enumeration value="oldest messages first" />
						<xs:enumeration value="newest messages first" />
						<xs:enumeration value="urgent first then oldest" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!--
				Specifies the intercom paging settings for a subscriber. You can
				choose one of the following: - paging is off: to disable intercom
				paging for this subscriber. - paging is manual: if the subscriber
				can modify, with Subscriber Options or the TUI, the setting that
				allows callers to page the subscriber. - paging is automatic: if 
				the TUI automatically allows callers to page the subscriber.
			-->
			<xs:element name="intercomPaging" maxOccurs="1" minOccurs="0"> 
			<!-- MM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="paging is off" />
						<xs:enumeration value="paging is manual" />
						<xs:enumeration value="paging is automatic" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!--
				Specifies whether a subscriber can receive messages, e-mail messages
				and call-answer messages from other subscribers. You can choose one
				of the following: - yes: to allow the subscriber to create, forward,
				and receive messages. - no: to prevent the subscriber from receiving
				call-answer messages and to hide the subscriber from the telephone
				user interface (TUI). The subscriber cannot use the TUI to access
				the mailbox, and other TUI users cannot address messages to the
				subscriber.
			-->
			<xs:element name="voiceMailEnabled" type="csm:xmlTrueFalseType"
				maxOccurs="1" minOccurs="0" />

			<!--
				Specifies additional, useful information about a subscriber. Entries
				in this field are for convenience and are not used by the messaging
				system.
			-->
			<xs:element name="miscellaneous1" type="csm:xmlLength51Type"
				maxOccurs="1" minOccurs="0" />

			<!--
				Specifies additional, useful information about a subscriber. Entries
				in this field are for convenience and are not used by the messaging
				system.
			-->
			<xs:element name="miscellaneous2" type="csm:xmlLength51Type"
				maxOccurs="1" minOccurs="0" />

			<!--
				Specifies additional, useful information about a subscriber. Entries
				in this field are for convenience and are not used by the messaging
				system.
			-->
			<xs:element name="miscellaneous3" type="csm:xmlLength51Type"
				maxOccurs="1" minOccurs="0" />

			<!--
				Specifies additional, useful information about a subscriber. Entries
				in this field are for convenience and are not used by the messaging
				system.
			-->
			<xs:element name="miscellaneous4" type="csm:xmlLength51Type"
				maxOccurs="1" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlCMMSpecific">
		<xs:sequence>

			<!--
				Specifies the number of the switch on which this subscriber's
				extension is administered. You can enter "0" through "99", or leave
				this field blank. - Leave this field blank if the host switch number
				should be used. - Enter a "0" if no message waiting indicators
				should be sent for this subscriber. You should enter 0 when the
				subscriber does not have a phone on any switch in the network.
			-->
			<xs:element name="switchNumber" maxOccurs="1" minOccurs="0"> 
			<!-- CMM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="[0-9]|[0-9][0-9]" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!--
				Specifies the Subscriber Account Code. The Subscriber Account Code
				is used to create Call Detail Records on the switch for calls placed
				by the voice ports. The value you enter in this field can contain
				any combination of digits from 0 to 9. If an account code is not
				specified, the system will use the subscriber's mailbox extension as
				the account code.
			-->
			<xs:element name="accountCode" maxOccurs="1" minOccurs="0"> 
			<!-- CMM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="([0-9])*" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!--
				Specifies the number to be used as the default destination for the
				Transfer Out of Messaging feature. You can enter 3 to 10 digits in
				this field depending on the length of the system's extension, or
				leave this field blank.
			-->
			<xs:element name="coveringExtension" maxOccurs="1"
				minOccurs="0"> <!-- CMM field -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="[0-9]{0}|[0-9]{3,10}" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>

			<!--
				Specifies additional, useful information about a subscriber. Entries
				in this field are for convenience and are not used by the messaging
				system.
			-->
			<xs:element name="miscellaneous1" type="csm:xmlLength11Type"
				maxOccurs="1" minOccurs="0" />

			<!--
				Specifies additional, useful information about a subscriber. Entries
				in this field are for convenience and are not used by the messaging
				system.
			-->
			<xs:element name="miscellaneous2" type="csm:xmlLength11Type"
				maxOccurs="1" minOccurs="0" />

			<!--
				Specifies additional, useful information about a subscriber. Entries
				in this field are for convenience and are not used by the messaging
				system.
			-->
			<xs:element name="miscellaneous3" type="csm:xmlLength11Type"
				maxOccurs="1" minOccurs="0" />

			<!--
				Specifies additional, useful information about a subscriber. Entries
				in this field are for convenience and are not used by the messaging
				system.
			-->
			<xs:element name="miscellaneous4" type="csm:xmlLength11Type"
				maxOccurs="1" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>

	<xs:simpleType name="xmlyesNoType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Yes" />
			<xs:enumeration value="No" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="xmlTrueFalseType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="TRUE" />
			<xs:enumeration value="FALSE" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="xmlLength11Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="11" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="xmlLength51Type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="51" />
		</xs:restriction>
	</xs:simpleType>
</xs:schema>

Sample XML for bulk import of Messaging profiles

<?xml version="1.0" encoding="UTF-8"?>
<tns:users xmlns:tns="http://xml.avaya.com/schema/import"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
	<tns:user>
		<authenticationType>BASIC</authenticationType>
		<description>description</description>
		<displayName>displayname</displayName>
		<displayNameAscii>displayNameAscii</displayNameAscii>
		<dn>dn</dn>
		<isDuplicatedLoginAllowed>true</isDuplicatedLoginAllowed>
		<isEnabled>true</isEnabled>
		<isVirtualUser>false</isVirtualUser>
		<givenName>givenName00</givenName>
		<honorific>honorific</honorific>
		<loginName>user00_00xyz@avaya.com</loginName>
		<middleName>middleName</middleName>
		<managerName>managerName</managerName>
		<preferredGivenName>preferredGivenName</preferredGivenName>
		<preferredLanguage>preferredLanguage</preferredLanguage>
		<source>local</source>
		<sourceUserKey>sourceUserKey</sourceUserKey>
		<status>AUTHPENDING</status>
		<suffix>suffix</suffix>
		<surname>surname</surname>
		<timeZone>timeZone</timeZone>
		<title>title</title>
		<userName>userName00</userName>
		<userPassword>userPassword</userPassword>
		<commPassword>commPassword</commPassword>
		<userType>ADMINISTRATOR</userType>
		<commProfileSet>
			<commProfileSetName>
				commProfileSetName00
			</commProfileSetName>
			<isPrimary>true</isPrimary>
			<commProfileList>
				<commProfile xsi:type="ipt:xmlMessagingProfile"
					xmlns:ipt="http://xml.avaya.com/schema/import_csm_mm">
					<commProfileType>Messaging</commProfileType>
					<ipt:messagingName>MM-155-187</ipt:messagingName>
					<ipt:useExisting>false</ipt:useExisting>
					<ipt:messagingTemplate>
						DEFAULT_MM_5_2
					</ipt:messagingTemplate>
					<ipt:mailboxNumber>3201</ipt:mailboxNumber>
					<ipt:password>534456346</ipt:password>
					<ipt:cos>0</ipt:cos>
					<ipt:communityID>1</ipt:communityID>
					<ipt:mmSpecific>
						<ipt:numericAddress>3201</ipt:numericAddress>
						<ipt:pbxExtension>32134</ipt:pbxExtension>
						<ipt:telephoneNumber>42342</ipt:telephoneNumber>
						<!--<ipt:expirePassword></ipt:expirePassword>-->
						<ipt:tuiMessageOrder>newest messages first
</ipt:tuiMessageOrder>
						<ipt:intercomPaging>paging is off
</ipt:intercomPaging>
						<ipt:voiceMailEnabled>
							FALSE
						</ipt:voiceMailEnabled>
						<ipt:miscellaneous1>
							Miscellaneous
						</ipt:miscellaneous1>
					</ipt:mmSpecific>
				</commProfile>
			</commProfileList>
		</commProfileSet>
	</tns:user>
</tns:users>

XML Schema Definition for bulk import of agent profiles

<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:one="http://xml.avaya.com/schema/import" elementFormDefault="qualified"
targetNamespace="http://xml.avaya.com/schema/import_csm_agent" xmlns:csm="http://xml.avaya.com/schema/import_csm_agent">
<xs:import namespace="http://xml.avaya.com/schema/import" schemaLocation="userimport.xsd"/>

<!--Changes in xsd file need to generate jaxb src using this xsd-->
<xs:complexType name="xmlAgentProfile">
	<xs:complexContent>
       	<xs:extension base="one:xmlCommProfileType" >
			<xs:sequence>	
				<!-- CM Name as it appears under 'Applications/Application Management/Entities -->
				<xs:element name="cmName" type="xs:string" maxOccurs="1" minOccurs="1"/>
				
				<!-- 'true' if already created extension is to be used.  'false' if available extension is to be used. -->
				<xs:element name="useExistingAgent" type="xs:boolean" maxOccurs="1" minOccurs="0"/>
				
				<!-- Extension Range which will be used to create Agent using available extension within given range -->
				<xs:element name="extensionRange" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="([0-9]+([\.\-][0-9]+)*)|([0-9]+([\.\-][0-9]+)*:[0-9]+([\.\-][0-9]+)*)"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- Agent Login ID extension number that need to be assigned to the user. -->
				<xs:element name="loginIdExtension" maxOccurs="1" minOccurs="1">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="([0-9]+([\.\-][0-9]+)*)|[nN][eE][xX][tT]"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<!-- Template name to be used to create agent. Values defined in Template will be used if not provided. -->
				<xs:element name="template" type="xs:string" maxOccurs="1" minOccurs="0"/>
				
				<!-- Security code for station. Value can be digit only.  -->
				<xs:element name="securityCode" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]{0,4}"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>		

				<xs:element name="aas" type="xs:boolean" maxOccurs="1" minOccurs="0"/>
				<xs:element name="audix" type="xs:boolean" maxOccurs="1" minOccurs="0"/>
				
				<xs:element name="password" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]{0,9}" />
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="portExtension" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]+([\.\-][0-9]+)*"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
			
				<!-- Whether the agent should be deleted if it unassigned from the user. -->
				<xs:element name="deleteOnUnassign" type="xs:boolean" maxOccurs="1" minOccurs="0"/>

				<!-- CM dependent field for max value -->
				<xs:element name="tn" maxOccurs="1" minOccurs="0">
				<xs:simpleType>
						<xs:restriction base="xs:int">
							<xs:minInclusive value="1" />
							<xs:maxInclusive value="250" />
						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="cor" maxOccurs="1" minOccurs="0">
  					<xs:simpleType>
    					<xs:restriction base="xs:int">
      						<xs:minInclusive value="0"/>
      						<xs:maxInclusive value="995"/>
    					</xs:restriction>
  					</xs:simpleType>
				</xs:element>

			    <!--Coverage path = Enter path number between 1-9999, time of day table t1-t999, or blank - CM Dependent-->
				<xs:element name="coveragePath" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="(t[1-9][0-9]{0,2})|([1-9]{0})|([1-9][0-9]{0,3})"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="lwcReception" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="audix"/>
							<xs:enumeration value="msa"/>
							<xs:enumeration value="spe"/>
							<xs:enumeration value="none"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="lwcLogExternalCalls" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="audixNameforMessaging" type="xs:string" maxOccurs="1" minOccurs="0" />
				<xs:element name="hearsServiceObservingTone" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="loginIDforISDNSIPDisplay" type="xs:boolean" maxOccurs="1" minOccurs="0" />

				<xs:element name="autoAnswer" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="acd"/>
							<xs:enumeration value="all"/>
							<xs:enumeration value="none"/>
							<xs:enumeration value="station"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="miaAcrossSkills" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="n"/>
							<xs:enumeration value="y"/>
							<xs:enumeration value="system"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="acwAgentConsideredIdle" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="n"/>
							<xs:enumeration value="y"/>
							<xs:enumeration value="system"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="auxWorkReasonCodeType" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="forced"/>
							<xs:enumeration value="requested"/>
							<xs:enumeration value="system"/>
							<xs:enumeration value="none"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="logoutReasonCodeType" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="forced"/>
							<xs:enumeration value="requested"/>
							<xs:enumeration value="system"/>
							<xs:enumeration value="none"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="maximumTimeAgentInAcwBeforeLogoutSec" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
  							<xs:pattern value="|[3-9][0-9]{1}|[1-9][0-9]{1,3}|(none)|(system)"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="forcedAgentLogoutTimeHr" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="|[0-9]|[1][0-9]{1}|[2][0-3]{1}"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="forcedAgentLogoutTimeSec" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
  							<xs:pattern value="|(00)|(15)|(30)|(45)"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="directAgentSkill" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:pattern value="|[1-9]|[1-9][0-9]{0,2}|[1-7][0-9]{3}|8000"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>

				<xs:element name="callHandlingPreference" maxOccurs="1" minOccurs="0">
					<xs:simpleType>
  						<xs:restriction base="xs:string">
							<xs:enumeration value="greatest-need"/>
							<xs:enumeration value="percent-allocation"/>
							<xs:enumeration value="skill-level"/>
  						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				
				<xs:element name="serviceObjective" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="directAgentCallsFirst" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				<xs:element name="localCallPreference" type="xs:boolean" maxOccurs="1" minOccurs="0" />
				
				<xs:element name="skills" type="csm:xmlAgentLoginIdSkillsData" maxOccurs="unbounded" minOccurs="0" />
				
				<xs:element  name="nativeName" type="csm:xmlNativeNameData" maxOccurs="1" minOccurs="0"/>
				
				<!-- 
			
				private String NativeNameScripts;
				
				 -->
			</xs:sequence>
		</xs:extension>
   </xs:complexContent>
</xs:complexType>

<xs:complexType name="xmlAgentLoginIdSkillsData">
	<xs:sequence>
	<!-- 
		private AgentLoginIdData agentLoginId;
	
	 -->
		<xs:element name="number" type="xs:string" maxOccurs="1" minOccurs="1" />
		<xs:element name="skillNumber" maxOccurs="1" minOccurs="1">
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:pattern value="[1-9][0-9]{0,2}|[1-7][0-9]{3}|8000"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="reserveLevel" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:pattern value="|a|m|n|[1-2]"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="skillLevel" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:pattern value="|[1-9]|[1-9][0-6]{1}"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<xs:element name="percentAllocation" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:pattern value="|[1-9]|[1-9][0-9]{1}|100"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		

	</xs:sequence>
</xs:complexType> 

<!-- If displayName,givenName or surname contains characters of multiple scripts then locale tag should be present. 
  	 If displayName tag is present then it overwrites native name.
  	 If displayname is not present then combination of givenName and surname gets copied in native name.
  	 Please find below locale for multiscript language
  	 Language               Locale
  	 Japanese				 ja, ja-jp
  	 Simplified Chinese		 zh-cn
  	 Traditional Chinese	 zh-tw-->  
<xs:complexType name="xmlNativeNameData">
	<xs:sequence>
		<xs:element name="locale" maxOccurs="1" minOccurs="0">
		   <xs:simpleType>
  				<xs:restriction base="xs:string">
    				<xs:enumeration value="ja-jp"/>
    				<xs:enumeration value="ja"/>
    				<xs:enumeration value="zh-cn"/>
    				<xs:enumeration value="zh-tw"/>    				   				
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		<xs:element name="name" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:maxLength value="27"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
	</xs:sequence>
</xs:complexType>
<!-- Profile Settings for 96X1SIP & 96X1SIPCC Phones only -->
<xs:complexType name="xmlProfileSettings">
	<xs:sequence>
		<!-- Call Settings Options -->
		<!-- Phone Screen on Calling -->
		<xs:element name="phoneScreenCalling" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="No"/>
    				<xs:enumeration value="Yes"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Redial -->
		<xs:element name="profileRedial" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="List"/>
    				<xs:enumeration value="One Number"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Dialing Option -->
		<xs:element name="dialingOption" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="Editable"/>
    				<xs:enumeration value="On-hook"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Headset Signaling -->
		<xs:element name="headsetSignaling" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="Disabled"/>
    				<xs:enumeration value="Switchhook and Alerts"/>
    				<xs:enumeration value="Switchhook only"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Audio Path -->
		<xs:element name="audioPath" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="Speaker"/>
    				<xs:enumeration value="Headset"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Screen & Sound Options Section -->
		<!-- Button Clicks -->
		<xs:element name="buttonClicks" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="On"/>
    				<xs:enumeration value="Off"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Phone Screen -->
		<xs:element name="phoneScreen" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="Half"/>
    				<xs:enumeration value="Full"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Background Logo -->
		<xs:element name="backgroundLogo" type="xs:string" maxOccurs="1" minOccurs="0" />
		
		<!-- Personalized Ringing -->
		<xs:element name="personalizedRinging" type="xs:string" maxOccurs="1" minOccurs="0" />
		
		<!-- Call Pickup Indication -->
		<xs:element name="callPickUpIndication" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="None"/>
    				<xs:enumeration value="Audible"/>
    				<xs:enumeration value="Visual"/>
    				<xs:enumeration value="Both"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Show Quick Touch Panel -->
		<xs:element name="touchPanel" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="0"/>
    				<xs:enumeration value="1"/>
    				<xs:enumeration value="2"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		
		<!-- Language & Region Section -->		
		<!-- User Preferred Language -->
		<xs:element name="userPreferredLanguage" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="English"/>
    				<xs:enumeration value="Hebrew"/>
    				<xs:enumeration value="Brazilian Portuguese"/>
    				<xs:enumeration value="Canadian French"/>
    				<xs:enumeration value="German"/>
    				<xs:enumeration value="Parisian French"/>
    				<xs:enumeration value="Latin American Spanish"/>
    				<xs:enumeration value="Castilian Spanish"/>
    				<xs:enumeration value="Italian"/>
    				<xs:enumeration value="Dutch"/>
    				<xs:enumeration value="Russian"/>
    				<xs:enumeration value="Traditional Chinese"/>
    				<xs:enumeration value="Japanese"/>
    				<xs:enumeration value="Korean"/>
    				<xs:enumeration value="Arabic"/>
    				<xs:enumeration value="Polish"/>
					<xs:enumeration value="Turkish"/>
					<xs:enumeration value="Thai"/>
					<xs:enumeration value="Chinese"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Time Format -->
		<xs:element name="timeFormat" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="12 Hour"/>
    				<xs:enumeration value="24 Hour"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Advanced Options - Presence Integration Section -->
		<!-- Away Timer -->
		<xs:element name="awayTimer" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:string">
					<xs:enumeration value="On"/>
    				<xs:enumeration value="Off"/>
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
		
		<!-- Away Timer Value -->
		<xs:element name="awayTimerValue" maxOccurs="1" minOccurs="0" >
			<xs:simpleType>
  				<xs:restriction base="xs:int">
					<xs:minInclusive value="5" />
					<xs:maxInclusive value="999" />
  				</xs:restriction>
			</xs:simpleType>
		</xs:element>
	</xs:sequence>
</xs:complexType>

<!--  GroupMembershipData to be set -->
<xs:complexType name="xmlStationGroupMememberShipData">
	<xs:sequence>
		<xs:element name="groupMemData" type="csm:xmlGroupMemData" maxOccurs="unbounded" minOccurs="0" />		
	</xs:sequence>
</xs:complexType>

<xs:complexType name="xmlGroupMemData">
	<xs:sequence>
		<xs:element name="groupType" type="xs:string" maxOccurs="1" minOccurs="1" />		
		<xs:element name="groupnumber" type="xs:string" maxOccurs="1" minOccurs="1" />
	</xs:sequence>
</xs:complexType>
<xs:complexType name="xmlStationdonotSharePortwithUnnamedRegistrationData">
	<xs:sequence>
       <xs:element name="donotSharePortwithUnnamedRegistration" type="xs:boolean" maxOccurs="1" minOccurs="0" />
    </xs:sequence>
</xs:complexType>
</xs:schema>

XML Schema for CS 1000 Communication Profile

<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
     xmlns:one="http://xml.avaya.com/schema/import"
     targetNamespace="http://xml.avaya.com/schema/import1"
     elementFormDefault="qualified"
     xmlns:abc="http://xml.avaya.com/schema/import1">
<xsd:import namespace="http://xml.avaya.com/schema/import"
            schemaLocation="userimport.xsd"/>
<xsd:complexType name="AccountCommProfileType">
    <xsd:complexContent>
        <xsd:extension base="one:xmlCommProfileType" >
            <xsd:sequence>
               <xsd:element name="serviceDetails" type="xsd:string" minOccurs="0"/>
               <xsd:element name="element" type="xsd:string" minOccurs="0"/>
               <xsd:element name="target" type="xsd:string" minOccurs="0"/>
               <xsd:element name="template" type="xsd:string" minOccurs="0"/>
               <xsd:element name="serviceType" type="xsd:string" minOccurs="0"/>
               <xsd:element name="accountDetails" type="xsd:string" minOccurs="0"/>
               <xsd:element name="accountProperties" type="abc:AccountPropertyType" minOccurs="0" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:extension>
    </xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="AccountPropertyType">
   <xsd:sequence>
      <xsd:element name="propertyName" type="xsd:string"/>
      <xsd:element name="propertyValue" type="xsd:string"/>
    </xsd:sequence>
</xsd:complexType>
</xsd:schema>

Sample XML for CS 1000 Communication Profiles

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tns:users xmlns:tns="http://xml.avaya.com/schema/import" xmlns:ns3="http://xml.avaya.com/schema/import1" xmlns:ns4="http://xml.avaya.com/schema/deltaImport" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
    <tns:user>
        <authenticationType>basic</authenticationType>
        <description></description>
        <displayName>singleUser, singleUser</displayName>
        <displayNameAscii>singleUser, singleUser</displayNameAscii>
        <isDuplicatedLoginAllowed>false</isDuplicatedLoginAllowed>
        <isEnabled>true</isEnabled>
        <isVirtualUser>false</isVirtualUser>
        <givenName>singleUser</givenName>
        <honorific></honorific>
        <loginName>singleuser@avaya.com</loginName>
        <employeeNo></employeeNo>
        <department></department>
        <organization></organization>
        <middleName></middleName>
        <preferredLanguage>en_US</preferredLanguage>
        <source>local</source>
        <sourceUserKe>Ynone</sourceUserKe>Y
        <status>provisioned</status>
        <surname>singleUser</surname>
        <userName>singleuser</userName>
        <userPassword></userPassword>
        <roles>
            <role>End-User</role>
        </roles>
        <ownedContactLists>
            <contactList>
                <name>list-singleuser_avaya.com</name>
                <description></description>
                <isPublic>false</isPublic>
                <contactListType>general</contactListType>
            </contactList>
        </ownedContactLists>
        <commProfileSet>
            <commProfileSetName>Primary</commProfileSetName>
            <isPrimar>Ytrue</isPrimar>Y
            <commProfileList>
                <commProfile xsi:type="ns3:AccountCommProfileType" xmlns:ns3="http://xml.avaya.com/schema/import1">
                    <commProfileType>accountCommProfile</commProfileType>
                    <ns3:serviceDetails>DN=8054(Marped), TN=004 0 00 12, TYPE=M2602</ns3:serviceDetails>
                    <ns3:element>CS1K Mock Element Manager</ns3:element>
                    <ns3:target>Target1</ns3:target>
                    <ns3:template>Premium</ns3:template>                    <ns3:serviceType>com.nortel.ems.services.account.Telephony</ns3:serviceType>
                    <ns3:properties>
                        <ns3:property name="prefEsn">343-8054</ns3:propert>Y
                        <ns3:property name="prefDn">8054</ns3:propert>Y
                    </ns3:properties>
                    <ns3:isPublished>true</ns3:isPublished>
                </commProfile>
            </commProfileList>
        </commProfileSet>
    </tns:user>
</tns:users>

XML Schema for IP Office Communication Profiles

<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:one="http://xml.avaya.com/schema/import" elementFormDefault="qualified"
	targetNamespace="http://xml.avaya.com/schema/import_csm_b5800" xmlns:csm="http://xml.avaya.com/schema/import_csm_b5800">

	<xs:import namespace="http://xml.avaya.com/schema/import"
		schemaLocation="userimport.xsd" />

	<!--Changes in xsd file need to generate jaxb src using this xsd-->
	<xs:complexType name="xmlB5800UserProfile">
		<xs:complexContent>
			<xs:extension base="one:xmlCommProfileType">
				<xs:sequence>
					<!--
						IPOffice/B5800/B5800L Device Name as it appears under 'Applications/Application
						Management/Entities
					-->
					<xs:element name="deviceName" type="xs:string" maxOccurs="1"
						minOccurs="1" />

					<!--
						Template name to be used to create station. Values defined in
						Template will be used if not provided.
					-->
					<xs:element name="userTemplate" type="xs:string"
						maxOccurs="1" minOccurs="0" />

					<xs:element name="useExistingExt" type="xs:boolean"
						maxOccurs="1" minOccurs="0" />

					<!-- extension number that need to be assigned to the user. -->
					<xs:element name="extension" maxOccurs="1" minOccurs="1">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:pattern value="[0-9]+([\.\-][0-9]+)*" />
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					
					<xs:element name="modulePort" type="xs:string"
						maxOccurs="1" minOccurs="0" />

					<!-- Specifies the type of the extn  -->
					<xs:element name="extensionType" maxOccurs="1"
						minOccurs="1">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:enumeration value="Analog" />
								<xs:enumeration value="IPDECT" />
								<xs:enumeration value="SIPDECT" />
								<xs:enumeration value="Sip" />
								<xs:enumeration value="Digital" />
								<xs:enumeration value="H323" />
							</xs:restriction>
						</xs:simpleType>
					</xs:element>

					<xs:element name="deleteExtOnUserDelete" type="xs:boolean"
						maxOccurs="1" minOccurs="0" />
												
					<xs:element name="data" type="csm:xmlB5800UserProfileData"
						maxOccurs="1" minOccurs="0" />
				</xs:sequence>

			</xs:extension>

		</xs:complexContent>
	</xs:complexType>

	<xs:complexType name="xmlB5800UserProfileData">
		<xs:sequence>
			<xs:element name="ws_object" type="csm:xmlB5800UserConfig">
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlB5800UserConfig">
		<xs:sequence>
			<xs:element name="Extension" type="csm:xmlB5800ExtensionInfo">
			</xs:element>
			<xs:element name="User" type="csm:xmlB5800UserInfo">
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlB5800ExtensionInfo">
		<xs:sequence>
			<xs:element name="Id" type="xs:int" minOccurs="0" />
			<xs:element name="SubId" type="xs:string" minOccurs="0" />
			<xs:element name="Extension" type="xs:string" minOccurs="0" />
			<xs:element name="TypeInfo" type="xs:int" minOccurs="0" />
			<xs:element name="CallerDisplayType" type="xs:int" minOccurs="0" />
			<xs:element name="MessageLampType" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnClassification" type="xs:int" minOccurs="0" />
			<xs:element name="LineType" type="xs:int" minOccurs="0" />
			<xs:element name="MinFlashPulseWidth" type="xs:int" minOccurs="0" />
			<xs:element name="MaxFlashPulseWidth" type="xs:int" minOccurs="0" />
			<xs:element name="UseSystemFlashHook" type="xs:boolean" minOccurs="0" />
			<xs:element name="ResetVolumeAfterCalls" type="xs:boolean" minOccurs="0" />
			<xs:element name="DisconnectPulseWidth" type="xs:int" minOccurs="0" />
			<xs:element name="HookPersistency" type="xs:int" minOccurs="0" />
			<xs:element name="Mac" type="xs:string" minOccurs="0" />
			<xs:element name="SilenceSuppression" type="xs:boolean" minOccurs="0" />
			<xs:element name="VoicePktSize" type="xs:int" minOccurs="0" />
			<xs:element name="VoiceCompression" type="xs:int" minOccurs="0" />
			<xs:element name="voip" type="csm:xmlVoip" minOccurs="0" />
			<xs:element name="RenegotiationSupported" type="xs:boolean" minOccurs="0" />
			<xs:element name="RenegotiateBeforeConnect" type="xs:boolean" minOccurs="0" />
			<xs:element name="UseVocoder" type="xs:boolean" minOccurs="0" />
			<xs:element name="EarlyH245Supported" type="xs:boolean" minOccurs="0" />
			<xs:element name="RFC2833" type="xs:boolean" minOccurs="0" />
			<xs:element name="MediaWait" type="xs:boolean" minOccurs="0" />
			<xs:element name="MediaOnOverlap" type="xs:boolean" minOccurs="0" />
			<xs:element name="PauseRequired" type="xs:boolean" minOccurs="0" />
			<xs:element name="PauseOnEndRequired" type="xs:boolean" minOccurs="0" />
			<xs:element name="ParallelH245" type="xs:boolean" minOccurs="0" />
			<xs:element name="AnnexFSupported" type="xs:boolean" minOccurs="0" />
			<xs:element name="PhoneType" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIAudio_setting" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIHeadset_setting" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIContrast" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIRedial_time" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPISpeaker_volume" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIHandsfree_settings" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIRingtone_volume" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIDoor_phone" type="xs:boolean" minOccurs="0" />
			<xs:element name="ExtnAPIHandset_volume" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIRingtone_speed" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIHeadset_volume" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIHeadset_config" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIAlpha_keypad_layout" type="xs:int" minOccurs="0" />
			<xs:element name="ExtnAPIDirect_dial_enabled" type="xs:boolean" minOccurs="0" />
			<xs:element name="ExtnAPIHandsfree_enabled" type="xs:boolean" minOccurs="0" />
			<xs:element name="T38Fax" type="csm:xmlT38Fax" minOccurs="0" />
			<xs:element name="SipExtn" type="csm:xmlSipExtn" minOccurs="0" />
			<xs:element name="DisableSpeaker" type="xs:boolean" minOccurs="0" />
			<xs:element name="VPNExtn" type="xs:boolean" minOccurs="0" />
			<xs:element name="IPAvayaLicenseReserved" type="xs:boolean" minOccurs="0" />
			<xs:element name="IPEndpointsLicenseReserved" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsExtnCentralized" type="xs:boolean" minOccurs="0" />
			<xs:element name="CentralizedDDINumber" type="xs:string" minOccurs="0" />
			<xs:element name="ExtnDS" type="csm:xmlExtnDS" minOccurs="0" />
			<xs:element name="SpecificBstType" type="xs:int" minOccurs="0" />
			<xs:element name="Location" type="xs:string" minOccurs="0" />
			<xs:element name="PhonePassword" type="xs:string" minOccurs="0" />
			<xs:element name="Module" type="xs:string" minOccurs="0" />
			<xs:element name="Port" type="xs:string" minOccurs="0" />
			<xs:element name="AllowRemoteExtn" type="xs:string" minOccurs="0" />
			<xs:element name="FallbackAsRemoteWorker" type="xs:string" minOccurs="0" />
			<xs:element name="RingVoltageBoost" type="xs:string" minOccurs="0" />
			<xs:element name="RemoteLineNumber" type="xs:string" minOccurs="0" />
			<xs:element name="D100Extn" type="csm:xmlD100Extn" minOccurs="0" />
		</xs:sequence>
		<xs:attribute name="GUID" type="xs:string" />
	</xs:complexType>

	<xs:complexType name="xmlB5800UserInfo">
		<xs:sequence>
			<xs:element name="EUAuth" type="csm:xmlEUAuth" minOccurs="0" />
			<xs:element name="UserRightsView" type="xs:string" minOccurs="0" />
			<xs:element name="UsingView" type="xs:boolean" minOccurs="0" />
			<xs:element name="UserRightsTimeProfile" type="xs:string" minOccurs="0" />
			<xs:element name="OutOfHoursUserRights" type="xs:string" minOccurs="0" />
			<xs:element name="Name" type="xs:string" minOccurs="0" />
			<xs:element name="KName" type="xs:string" minOccurs="0" />
			<xs:element name="Password" type="xs:string" minOccurs="0" />
			<xs:element name="FullName" type="xs:string" minOccurs="0" />
			<xs:element name="Extension" type="xs:string" minOccurs="0" />
			<xs:element name="Priority" type="xs:int" minOccurs="0" />
			<xs:element name="OutsideCallSeq" type="xs:int" minOccurs="0" />
			<xs:element name="InsideCallSeq" type="xs:int" minOccurs="0" />
			<xs:element name="RingbackCallSeq" type="xs:int" minOccurs="0" />
			<xs:element name="NoAnswerTime" type="xs:int" minOccurs="0" />
			<xs:element name="ForwardOnBusy" type="xs:boolean" minOccurs="0" />
			<xs:element name="BookConferenceWithPM" type="xs:boolean" minOccurs="0" />
			<xs:element name="DisableForwardOnInt" type="xs:boolean" minOccurs="0" />
			<xs:element name="DisableForwardUncondOnInt" type="xs:boolean" minOccurs="0" />
			<xs:element name="DisableForwardBusyNoAnsOnInt" type="xs:boolean" minOccurs="0" />
			<xs:element name="VoicemailReception2" type="xs:string" minOccurs="0" />
			<xs:element name="VoicemailReception3" type="xs:string" minOccurs="0" />
			<xs:element name="DSSKeys" type="csm:xmlDSSKeys" minOccurs="0" />
			<xs:element name="InhibitOffSwitchForwarding" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsNoUser" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsRealUser" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsRemoteManager" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsVoiceEmailModeAlert" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsVoiceEmailModeCopy" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsVoiceEmailModeForward" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsVoiceEmailModeOff" type="xs:boolean" minOccurs="0" />
			<xs:element name="MaxTwinnedCalls" type="xs:int" minOccurs="0" />
			<xs:element name="PhoneManagerCallStatusOptions" type="xs:long" minOccurs="0" />
			<xs:element name="PhoneManagerCloseOptions" type="xs:int" minOccurs="0" />
			<xs:element name="PhoneManagerCanChange" type="xs:boolean" minOccurs="0" />
			<xs:element name="PhoneManagerConfigureOptions" type="xs:int" minOccurs="0" />
			<xs:element name="PhoneManagerOptions" type="xs:int" minOccurs="0" />
			<xs:element name="PhoneManagerOptionsOriginal" type="xs:int" minOccurs="0" />
			<xs:element name="PhoneType" type="xs:int" minOccurs="0" />
			<xs:element name="PhoneTypeIndex" type="xs:int" minOccurs="0" />
			<xs:element name="PopupAnswering" type="xs:boolean" minOccurs="0" />
			<xs:element name="PopupExternal" type="xs:boolean" minOccurs="0" />
			<xs:element name="PopupInternal" type="xs:boolean" minOccurs="0" />
			<xs:element name="PopupOutlook" type="xs:boolean" minOccurs="0" />
			<xs:element name="PopupRinging" type="xs:boolean" minOccurs="0" />
			<xs:element name="PopupOptions" type="xs:int" minOccurs="0" />
			<xs:element name="RingDelay" type="xs:int" minOccurs="0" />
			<xs:element name="ShowAccountCodes" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShowAllCalls" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShowCallStatus" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShowCostOfCall" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShowIncoming" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShowMessages" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShowMissed" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShowOutgoing" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShowSpeedDials" type="xs:boolean" minOccurs="0" />
			<xs:element name="StartInCompactMode" type="xs:boolean" minOccurs="0" />
			<xs:element name="StayInCompactModeOnIncommingCall" type="xs:boolean" minOccurs="0" />
			<xs:element name="StayInCompaceModeOnOutgoingCall" type="xs:boolean" minOccurs="0" />
			<xs:element name="T3AllowThirdPartyFwd" type="xs:boolean" minOccurs="0" />
			<xs:element name="T3ProtectFromThirdPartyFwd" type="xs:boolean" minOccurs="0" />
			<xs:element name="TwinnedDialDelay" type="xs:int" minOccurs="0" />
			<xs:element name="TwinnedEligibleForForwarded" type="xs:boolean" minOccurs="0" />
			<xs:element name="TwinnedEligibleForGroup" type="xs:boolean" minOccurs="0" />
			<xs:element name="TwinnedMobileNumber" type="xs:string" minOccurs="0" />
			<xs:element name="TwinnedTimeProfile" type="xs:string" minOccurs="0" />
			<xs:element name="TwinningNumber" type="xs:string" minOccurs="0" />
			<xs:element name="TwinningType" type="xs:int" minOccurs="0" />
			<xs:element name="TwinningUser" type="xs:string" minOccurs="0" />
			<xs:element name="IsTwinSlave" type="xs:string" minOccurs="0" />
			<xs:element name="IsTwinMaster" type="xs:string" minOccurs="0" />
			<xs:element name="InternalTwinning" type="xs:boolean" minOccurs="0" />
			<xs:element name="MobilityTwinning" type="xs:boolean" minOccurs="0" />
			<xs:element name="TwinnedMobileAnswerGuard" type="xs:string" minOccurs="0" />
			<xs:element name="AutoRecMailBox" type="xs:string" minOccurs="0" />
			<xs:element name="ManualRecMailBox" type="xs:string" minOccurs="0" />
			<xs:element name="PAServicesEnabled" type="xs:string" minOccurs="0" />
			<xs:element name="AutoRecModeIn" type="xs:string" minOccurs="0" />
			<xs:element name="AutoRecModeOut" type="xs:string" minOccurs="0" />
			<xs:element name="DenyAutoIntercomCalls" type="xs:string" minOccurs="0" />
			<xs:element name="MobileCallControl" type="xs:boolean" minOccurs="0" />
			<xs:element name="SpecificBstType" type="xs:string" minOccurs="0" />
			<xs:element name="ForwardOnNoAnswer" type="xs:boolean" minOccurs="0" />
			<xs:element name="ForwardUnconditional" type="xs:boolean" minOccurs="0" />
			<xs:element name="ForwardHuntGroupCalls" type="xs:boolean" minOccurs="0" />
			<xs:element name="ForwardNumber" type="xs:string" minOccurs="0" />
			<xs:element name="ForwardBusyNumber" type="xs:string" minOccurs="0" />
			<xs:element name="DoNotDisturb" type="xs:boolean" minOccurs="0" />
			<xs:element name="DNDExceptions" type="xs:string" minOccurs="0" />
			<xs:element name="OutgoingCallBar" type="xs:boolean" minOccurs="0" />
			<xs:element name="IncomingCallBar" type="xs:boolean" minOccurs="0" /> 
			<xs:element name="OffHookStation" type="xs:boolean" minOccurs="0" /> 
			<xs:element name="BusyOnHeld" type="xs:boolean" minOccurs="0" />
			<xs:element name="FollowMeNumber" type="xs:string" minOccurs="0" />
			<xs:element name="CallWaitingOn" type="xs:boolean" minOccurs="0" />
			<xs:element name="VoicemailOn" type="xs:boolean" minOccurs="0" />
			<xs:element name="VoicemailHelp" type="xs:boolean" minOccurs="0" />
			<xs:element name="VoicemailCode" type="xs:string" minOccurs="0" />
			<xs:element name="VoicemailEmail" type="xs:string" minOccurs="0" />
			<xs:element name="VoicemailEmailReading" type="xs:boolean" minOccurs="0" />
			<xs:element name="VoicemailReception" type="xs:string" minOccurs="0" />
			<xs:element name="VoicemailEmailMode" type="xs:int" minOccurs="0" />
			<xs:element name="VoicemailRingback" type="xs:boolean" minOccurs="0" />
			<xs:element name="ShortCodes" type="csm:xmlShortCodes" minOccurs="0" />
			<xs:element name="DialInOn" type="xs:boolean" minOccurs="0" />
			<xs:element name="DialInTimeProfile" type="xs:string" minOccurs="0" />
			<xs:element name="DialInFirewallProfile" type="xs:string" minOccurs="0" />
			<xs:element name="SourceNumbers" type="xs:string" minOccurs="0" />
			<xs:element name="DialInQuotaTime" type="xs:int" minOccurs="0" />
			<xs:element name="LoginCode" type="xs:string" minOccurs="0" />
			<xs:element name="LoginIdleTime" type="xs:string" minOccurs="0" />
			<xs:element name="WrapUpTime" type="xs:int" minOccurs="0" />
			<xs:element name="TwinMaster" type="xs:string" minOccurs="0" />
			<xs:element name="SecTwinCallEnabled" type="xs:boolean" minOccurs="0" />
			<xs:element name="CanIntrude" type="xs:boolean" minOccurs="0" />
			<xs:element name="CannotBeIntruded" type="xs:boolean" minOccurs="0" />
			<xs:element name="XDirectory" type="xs:boolean" minOccurs="0" />
			<xs:element name="ForceLogin" type="xs:boolean" minOccurs="0" />
			<xs:element name="ForceAuthCode" type="xs:boolean" minOccurs="0" />
			<xs:element name="ForceAccountCode" type="xs:boolean" minOccurs="0" />
			<xs:element name="SystemPhone" type="xs:int" minOccurs="0" />
			<xs:element name="AbsentMsg" type="xs:int" minOccurs="0" />
			<xs:element name="AbsentSet" type="xs:int" minOccurs="0" />
			<xs:element name="AbsentText" type="xs:string" minOccurs="0" />
			<xs:element name="T3HuntGroupMembershipStatus" type="xs:string" minOccurs="0" />
			<xs:element name="T3HuntGroupServiceStatus" type="xs:string" minOccurs="0" />
			<xs:element name="T3HuntGroupNightServiceStatus" type="xs:string" minOccurs="0" />
			<xs:element name="T3DirectoryEntries" type="xs:string" minOccurs="0" />
			<xs:element name="MonitorGroup" type="xs:string" minOccurs="0" />
			<xs:element name="DisplayLocale" type="xs:string" minOccurs="0" />
			<xs:element name="Locale" type="xs:string" minOccurs="0" />
			<xs:element name="PMType" type="xs:int" minOccurs="0" />
			<xs:element name="InboundAutoRecord" type="xs:int" minOccurs="0" />
			<xs:element name="OutboundAutoRecord" type="xs:int" minOccurs="0" />
			<xs:element name="AutoRecordTimeProfile" type="xs:string" minOccurs="0" />
			<xs:element name="RemoteWorker" type="xs:boolean" minOccurs="0" />
			<xs:element name="CanAcceptCollectCalls" type="xs:boolean" minOccurs="0" />
			<xs:element name="UserRights" type="xs:string" minOccurs="0" />
			<xs:element name="Secretaries" type="xs:string" minOccurs="0" />
			<xs:element name="TransferReturnTime" type="xs:string" minOccurs="0" />
			<xs:element name="AnswerCallWaiting" type="xs:boolean" minOccurs="0" />
			<xs:element name="RingingLinePreference" type="xs:boolean" minOccurs="0" />
			<xs:element name="IdleLinePreference" type="xs:boolean" minOccurs="0" />
			<xs:element name="CoverageTime" type="xs:int" minOccurs="0" />
			<xs:element name="AutoVRL" type="xs:int" minOccurs="0" />
			<xs:element name="ManualVRL" type="xs:int" minOccurs="0" />
			<xs:element name="DelayedRingPreference" type="xs:boolean" minOccurs="0" />
			<xs:element name="AnswerPreSelect" type="xs:boolean" minOccurs="0" />
			<xs:element name="ReserveLastCA" type="xs:boolean" minOccurs="0" />
			<xs:element name="CallTracingOn" type="xs:boolean" minOccurs="0" />
			<xs:element name="DisplayCharges" type="xs:boolean" minOccurs="0" />
			<xs:element name="MarkUpFactor" type="xs:int" minOccurs="0" />
			<xs:element name="reset_longest_idle_info" type="xs:int" minOccurs="0" />
			<xs:element name="NoAnswerStatus" type="xs:int" minOccurs="0" />
			<xs:element name="PBXAddress" type="xs:string" minOccurs="0" />
			<xs:element name="SIPName" type="xs:string" minOccurs="0" />
			<xs:element name="SIPDisplayName" type="xs:string" minOccurs="0" />
			<xs:element name="SIPContact" type="xs:string" minOccurs="0" />
			<xs:element name="SIPAnonymous" type="xs:boolean" minOccurs="0" />
			<xs:element name="AbbreviatedRing" type="xs:boolean" minOccurs="0" />
			<xs:element name="CustomerServiceRep" type="xs:boolean" minOccurs="0" />
			<xs:element name="ACWTime" type="xs:int" minOccurs="0" />
			<xs:element name="AutoACW" type="xs:boolean" minOccurs="0" />
			<xs:element name="UMSWebServices" type="xs:boolean" minOccurs="0" />
			<xs:element name="DisableVMOnFU" type="xs:boolean" minOccurs="0" />
			<xs:element name="DTMFCallCtrl" type="xs:boolean" minOccurs="0" />
			<xs:element name="LoggedOutTwinning" type="xs:int" minOccurs="0" />
			<xs:element name="OneXClient" type="xs:boolean" minOccurs="0" />
			<xs:element name="MobilityFeatures" type="xs:boolean" minOccurs="0" />
			<xs:element name="TwinnedBridgeAppearances" type="xs:boolean" minOccurs="0" />
			<xs:element name="TwinnedCoverageAppearances" type="xs:boolean" minOccurs="0" />
			<xs:element name="TwinnedLineAppearances" type="xs:boolean" minOccurs="0" />
			<xs:element name="PersonalDirectory" type="xs:string" minOccurs="0" />
			<xs:element name="ForwardToVoicemail" type="xs:boolean" minOccurs="0" />
			<xs:element name="CoverageGroup" type="xs:string" minOccurs="0" />
			<xs:element name="CanChangeHGOOSGroup" type="xs:string" minOccurs="0" />
			<xs:element name="CanChangeHGONGroup" type="xs:string" minOccurs="0" />
			<xs:element name="IncludeForwardInMenu" type="xs:boolean" minOccurs="0" />
			<xs:element name="CallLoggingCentralised" type="xs:string" minOccurs="0" />
			<xs:element name="AttentionRing" type="xs:string" minOccurs="0" />
			<xs:element name="CoverageRing" type="xs:string" minOccurs="0" />
			<xs:element name="LogMissedCallsForHG" type="xs:string" minOccurs="0" />
			<xs:element name="DisableForwardToVoicemail" type="xs:int" minOccurs="0" />
			<xs:element name="AnnouncementsOn" type="xs:boolean" minOccurs="0" />
			<xs:element name="FollowAnnouncementsOn" type="xs:boolean" minOccurs="0" />
			<xs:element name="LoopAnnouncementsOn" type="xs:boolean" minOccurs="0" />
			<xs:element name="SyncAnnouncementsOn" type="xs:boolean" minOccurs="0" />
			<xs:element name="FirstAnnTime" type="xs:int" minOccurs="0" />
			<xs:element name="SecondAnnTime" type="xs:int" minOccurs="0" />
			<xs:element name="BetweenAnnTime" type="xs:int" minOccurs="0" />
			<xs:element name="PostAnnTone" type="xs:int" minOccurs="0" />
			<xs:element name="PortalServices" type="xs:int" minOccurs="0" />
			<xs:element name="WorkingHoursUserRightsGroup" type="xs:string" minOccurs="0" />
			<xs:element name="T3SelfAdmin" type="xs:string" minOccurs="0" />
			<xs:element name="MobileCallback" type="xs:boolean" minOccurs="0" />
			<xs:element name="Receptionist" type="xs:boolean" minOccurs="0" />
			<xs:element name="SoftPhone" type="xs:boolean" minOccurs="0" />
			<xs:element name="OneXTelecommuter" type="xs:boolean" minOccurs="0" />
			<xs:element name="AssignedPackage" type="xs:int" minOccurs="0" />
			<xs:element name="AutoRecMode" type="xs:int" minOccurs="0" />
			<xs:element name="CallLogTimeout" type="xs:string" minOccurs="0" />
			<xs:element name="UserCLI" type="xs:string" minOccurs="0" />
			<xs:element name="FlareEnabled" type="xs:boolean" minOccurs="0" />
			<xs:element name="FlareMode" type="xs:int" minOccurs="0" />
			<xs:element name="AutoIntDeny" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIUser" type="csm:xmlTUIUser" minOccurs="0" />  
			<xs:element name="UserPasswordStatus" type="xs:int" minOccurs="0" />
			<xs:element name="BlockForwarding" type="xs:boolean" minOccurs="0" />
			<xs:element name="ParkAndPageInfo" type="csm:xmlParkAndPageInfo" minOccurs="0" />
			<xs:element name="MobileVoIPClientEnabled" type="xs:boolean" minOccurs="0" />
			<xs:element name="SendMobilityEmail" type="xs:boolean" minOccurs="0" />
			<xs:element name="IPOCCAgent" type="xs:boolean" minOccurs="0" />
			<xs:element name="AgentType" type="xs:string" minOccurs="0" />
			<xs:element name="WebCollaboration" type="xs:boolean" minOccurs="0" />
			<xs:element name="ConferencePIN" type="xs:string" minOccurs="0" />
		</xs:sequence>		
		<xs:attribute name="GUID" type="xs:string" />
	</xs:complexType>

	<xs:complexType name="xmlDSSKeys">
		<xs:sequence>
			<xs:element minOccurs="0" maxOccurs="unbounded" name="DSSKey"
				type="csm:xmlDSSKey"/>

		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlDSSKey">
		<xs:sequence>
			<xs:element name="KeyType" type="xs:int" minOccurs="0"/>    
			<xs:element name="Label" type="xs:string" minOccurs="0" />
			<xs:element name="ActionObject" type="xs:string" minOccurs="0" />
			<xs:element name="Data" type="xs:string" minOccurs="0" />
			<xs:element name="RingDelay" type="xs:int" minOccurs="0" />
			<xs:element name="IdlePos" type="xs:string" minOccurs="0"/> 
		</xs:sequence>
		<xs:attribute name="Key" type="xs:int" />
	</xs:complexType>


	<xs:complexType name="xmlShortCodes">
		<xs:sequence>
			<xs:element minOccurs="0" maxOccurs="unbounded" name="ShortCode"
				type="csm:xmlShortCode"  />

		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlShortCode">
		<xs:sequence>
			<xs:element name="Code" type="xs:string" minOccurs="0" />
			<xs:element name="TelephoneNumber" type="xs:string" minOccurs="0" />
			<xs:element name="LineGroupId" type="xs:int" minOccurs="0" />
			<xs:element name="Feature" type="xs:string" minOccurs="0" />
			<xs:element name="Locale" type="xs:string" minOccurs="0" />
			<xs:element name="ForceAccountCode" type="xs:boolean" minOccurs="0" />
			<xs:element name="ForceAuthCode" type="xs:boolean" minOccurs="0" />
		</xs:sequence>
		<xs:attribute name="GUID" type="xs:string" />
	</xs:complexType>

	<xs:complexType name="xmlVoip">
		<xs:sequence>
			<xs:element name="GatekeeperPrimaryIPAddress" type="xs:string" minOccurs="0" />
			<xs:element name="GatekeeperSecondaryIPAddress" type="xs:string" minOccurs="0" />
			<xs:element name="IPAddress" type="xs:string" minOccurs="0" />
			<xs:element name="EnableFaststart" type="xs:boolean" minOccurs="0" />
			<xs:element name="FaxTransportSupport" type="xs:boolean" minOccurs="0" />
			<xs:element name="FaxTransportMethod" type="xs:int" minOccurs="0" />
			<xs:element name="CodecLockdown" type="xs:boolean" minOccurs="0" />
			<xs:element name="LocalHoldMusic" type="xs:boolean" minOccurs="0" />
			<xs:element name="LocalTones" type="xs:boolean" minOccurs="0" />
			<xs:element name="RSVPEnabled" type="xs:boolean" minOccurs="0" />
			<xs:element name="OOB_DTMF" type="xs:boolean" minOccurs="0" />
			<xs:element name="AllowDirectMedia" type="xs:boolean" minOccurs="0" />
			<xs:element name="H450Support" type="xs:int" minOccurs="0" />
			<xs:element name="AnnexlSupport" type="xs:boolean" minOccurs="0" />
			<xs:element name="InputGain" type="xs:int" minOccurs="0" />
			<xs:element name="OutputGain" type="xs:int" minOccurs="0" />
			<xs:element name="MediaSecurity" type="xs:int" minOccurs="0" />
			<xs:element name="RTP_Authentication" type="xs:boolean" minOccurs="0" />
			<xs:element name="RTP_Encryption" type="xs:boolean" minOccurs="0" />
			<xs:element name="RTCP_Authentication" type="xs:boolean" minOccurs="0" />
			<xs:element name="RTCP_Encryption" type="xs:boolean" minOccurs="0" />
			<xs:element name="SRTP_Window_Size" type="xs:string" minOccurs="0" />
			<xs:element name="Crypto_Suite_SHA_80" type="xs:boolean" minOccurs="0" />
			<xs:element name="Crypto_Suite_SHA_32" type="xs:boolean" minOccurs="0" />
			<xs:element name="CodecSelection" type="xs:string" minOccurs="0" />
			<xs:element name="SupplementaryServices" type="xs:int" minOccurs="0" />
			<xs:element name="DTMFSupport" type="xs:int" minOccurs="0" />
			<xs:element name="ReinviteSupported" type="xs:boolean" minOccurs="0" />
			<xs:element name="IsMediaSecurityCustom" type="xs:boolean" minOccurs="0" />
			<xs:element name="UseAdvancedCodecPrefs" type="xs:boolean" minOccurs="0" />
			<xs:element name="AdvancedCodecPrefs" type="csm:xmlAdvancedCodecPrefs" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlSipExtn">
		<xs:sequence>
			<xs:element name="ForceAuthentication" type="xs:boolean" minOccurs="0" />
			<xs:element name="Rel100Supported" type="xs:string" minOccurs="0" />
			<xs:element name="T38Fax" type="csm:xmlT38Fax" minOccurs="0" />
			<xs:element name="SIP3rdPartyAutoAnswer" type="xs:string" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlExtnDS">
		<xs:sequence>
			<xs:element name="AdmmUseHandsetConfig" type="xs:boolean" minOccurs="0" />
			<xs:element name="AdmmType" type="xs:int" minOccurs="0" />
			<xs:element name="AdmmIpei" type="xs:int" minOccurs="0" />
			<xs:element name="AdmmAnonymous" type="xs:boolean" minOccurs="0" />

		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlT38Fax">
		<xs:sequence>
			<xs:element name="Defaulted" type="xs:string" minOccurs="0" />
			<xs:element name="T38FaxVersion" type="xs:string" minOccurs="0" />
			<xs:element name="RedundancyLowSpeed" type="xs:string" minOccurs="0" />
			<xs:element name="RedundancyHighSpeed" type="xs:string" minOccurs="0" />
			<xs:element name="NSFOveride" type="xs:string" minOccurs="0" />
			<xs:element name="NSFCountryCode" type="xs:string" minOccurs="0" />
			<xs:element name="NSFVendorCode" type="xs:string" minOccurs="0" />
			<xs:element name="TxNetworkTimeout" type="xs:string" minOccurs="0" />
			<xs:element name="ScanLineFixup" type="xs:string" minOccurs="0" />
			<xs:element name="TopEnhancement" type="xs:string" minOccurs="0" />
			<xs:element name="DisableT30ECM" type="xs:string" minOccurs="0" />
			<xs:element name="DisableT30MR" type="xs:string" minOccurs="0" />
			<xs:element name="DisableEFlagsForFirstDis" type="xs:string" minOccurs="0" />
			<xs:element name="EflagStartTimer" type="xs:string" minOccurs="0" />
			<xs:element name="EflagStopTimer" type="xs:string" minOccurs="0" />
			<xs:element name="FaxTransport" type="xs:string" minOccurs="0" />
			<xs:element name="TCFMethod" type="xs:int" minOccurs="0" />
			<xs:element name="MaxFaxRate" type="xs:int" minOccurs="0" />
			<xs:element name="G711FaxEcanEnabled" type="xs:string" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="xmlD100Extn">
		<xs:sequence>
			<xs:element name="ForceAuthentication" type="xs:boolean" minOccurs="0" />
			<xs:element name="RemoteLineNumber" type="xs:int" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="xmlTUIUser">
		<xs:sequence>
			<xs:element name="TUIFeaturesMenuControls" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIFeaturesMenu" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIBasicCallFunctions" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIAdvancedCallFunctions" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIHotDeskFunctions" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIPasscodeChange" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIPhoneLock" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUISelfAdmin" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIVoiceMailControls" type="xs:boolean" minOccurs="0" />
			<xs:element name="TUIForwarding" type="xs:boolean" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="xmlParkAndPageInfo">
		<xs:sequence>
			<xs:element name="ParkAndPage" type="csm:xmlParkAndPage" minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="xmlParkAndPage">
		<xs:sequence>
			<xs:element name="ParkAndPageId" type="xs:string" minOccurs="0" />
            <xs:element name="PagingNumber" type="xs:string" minOccurs="0" />
            <xs:element name="CentrexTransferNumber" type="xs:string" minOccurs="0" />
            <xs:element name="PNPFallBackNumber" type="xs:string" minOccurs="0" />
            <xs:element name="RetryTimeout" type="xs:string" minOccurs="0" />
            <xs:element name="RetryCount" type="xs:string" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="xmlAdvancedCodecPrefs">
		<xs:sequence>
			<xs:element name="CodecPref" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	
  <xs:complexType name="xmlEUAuth">
    <xs:sequence>
      <xs:element type="xs:string" name="EUAEnable"/>
      <xs:element type="xs:string" name="EUAName"/>
      <xs:element type="xs:string" name="EUAPassword"/>
      <xs:element type="xs:string" name="EUAFullName"/>
      <xs:element type="xs:string" name="EUAExtension"/>
      <xs:element type="xs:string" name="EUALocale"/>
      <xs:element type="xs:string" name="EUADoNotDisturb"/>
      <xs:element type="xs:string" name="EUADNDExceptions"/>
      <xs:element type="xs:string" name="EUAVoicemailOn"/>
      <xs:element type="xs:string" name="EUAVoicemailCode"/>
      <xs:element type="xs:string" name="EUAVoicemailEmail"/>
      <xs:element type="xs:string" name="EUAVoicemailEmailMode"/>
      <xs:element type="xs:string" name="EUAMobilityTwinning"/>
      <xs:element type="xs:string" name="EUATwinnedMobileNumber"/>
      <xs:element type="xs:string" name="EUALoginCode"/>
      <xs:element type="xs:string" name="EUADenyAutoIntercomCalls"/>
      <xs:element type="xs:string" name="EUAPersonalDirectory"/>
      <xs:element type="xs:string" name="EUAShortCodes"/>
      <xs:element type="xs:string" name="EUABlockForwarding"/>
      <xs:element type="xs:string" name="EUAForwardNumber"/>
      <xs:element type="xs:string" name="EUAForwardBusyNumber"/>
      <xs:element type="xs:string" name="EUAForwardOnBusy"/>
      <xs:element type="xs:string" name="EUAForwardOnNoAnswer"/>
      <xs:element type="xs:string" name="EUADSSKeys"/>
      <xs:element type="xs:string" name="EUAVoicemailRingback"/>
      <xs:element type="xs:string" name="EUAConferencePIN"/>
    </xs:sequence>
  </xs:complexType>

</xs:schema>

Sample XML for the IP Office Communication Profiles

<?xml version="1.0" encoding="utf-8"?>
<tns:users xmlns:tns="http://xml.avaya.com/schema/import" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd">
  <tns:user>
    <authenticationType>basic</authenticationType>
    <givenName>test09</givenName>
    <loginName>test09@avaya.com</loginName>
    <middleName />
    <surname>test09</surname>
    <userPassword/>
    <commPassword />
    <commProfileSet>
      <commProfileSetName>Primary</commProfileSetName>
      <isPrimary>true</isPrimary>
      <commProfileList>
        <commProfile xsi:type="csm:xmlB5800UserProfile" xmlns:csm="http://xml.avaya.com/schema/import_csm_b5800">
          <commProfileType>IP Office</commProfileType>
          <csm:deviceName>Sanjeet_IPO</csm:deviceName>
          <csm:useExistingExt>true</csm:useExistingExt>
          <csm:extension>207</csm:extension>
          <csm:extensionType>Digital</csm:extensionType>
          <csm:deleteExtOnUserDelete>true</csm:deleteExtOnUserDelete>
          <csm:data>
            <csm:ws_object>
              <csm:Extension>
                <csm:Id>1</csm:Id>
                <csm:SubId>0</csm:SubId>
                <csm:Extension>207</csm:Extension>
                <csm:TypeInfo>15</csm:TypeInfo>
                <csm:CallerDisplayType>1</csm:CallerDisplayType>
                <csm:MessageLampType>4</csm:MessageLampType>
                <csm:ExtnClassification>0</csm:ExtnClassification>
                <csm:LineType>6</csm:LineType>
                <csm:MinFlashPulseWidth>2</csm:MinFlashPulseWidth>
                <csm:MaxFlashPulseWidth>50</csm:MaxFlashPulseWidth>
                <csm:UseSystemFlashHook>true</csm:UseSystemFlashHook>
                <csm:ResetVolumeAfterCalls>false</csm:ResetVolumeAfterCalls>
                <csm:DisconnectPulseWidth>80</csm:DisconnectPulseWidth>
                <csm:HookPersistency>100</csm:HookPersistency>
                <csm:Mac>000000000000</csm:Mac>
                <csm:SilenceSuppression>false</csm:SilenceSuppression>
                <csm:VoicePktSize>160</csm:VoicePktSize>
                <csm:VoiceCompression>0</csm:VoiceCompression>
                <csm:voip>
                  <csm:GatekeeperPrimaryIPAddress>0.0.0.0</csm:GatekeeperPrimaryIPAddress>
                  <csm:GatekeeperSecondaryIPAddress>0.0.0.0</csm:GatekeeperSecondaryIPAddress>
                  <csm:IPAddress>0.0.0.0</csm:IPAddress>
                  <csm:EnableFaststart>false</csm:EnableFaststart>
                  <csm:FaxTransportSupport>false</csm:FaxTransportSupport>
                  <csm:FaxTransportMethod>3</csm:FaxTransportMethod>
                  <csm:CodecLockdown>false</csm:CodecLockdown>
                  <csm:LocalHoldMusic>false</csm:LocalHoldMusic>
                  <csm:LocalTones>false</csm:LocalTones>
                  <csm:RSVPEnabled>false</csm:RSVPEnabled>
                  <csm:OOB_DTMF>true</csm:OOB_DTMF>
                  <csm:AllowDirectMedia>true</csm:AllowDirectMedia>
                  <csm:H450Support>2</csm:H450Support>
                  <csm:AnnexlSupport>false</csm:AnnexlSupport>
                  <csm:InputGain>0</csm:InputGain>
                  <csm:OutputGain>0</csm:OutputGain>
                  <csm:MediaSecurity>0</csm:MediaSecurity>
                  <csm:RTP_Authentication>true</csm:RTP_Authentication>
                  <csm:RTP_Encryption>true</csm:RTP_Encryption>
                  <csm:RTCP_Authentication>true</csm:RTCP_Authentication>
                  <csm:RTCP_Encryption>false</csm:RTCP_Encryption>
                  <csm:SRTP_Window_Size>64</csm:SRTP_Window_Size>
                  <csm:Crypto_Suite_SHA_80>true</csm:Crypto_Suite_SHA_80>
                  <csm:Crypto_Suite_SHA_32>false</csm:Crypto_Suite_SHA_32>
                  <csm:CodecSelection>SystemDefault</csm:CodecSelection>
                  <csm:SupplementaryServices>2</csm:SupplementaryServices>
                  <csm:DTMFSupport>2</csm:DTMFSupport>
                  <csm:ReinviteSupported>true</csm:ReinviteSupported>
                  <csm:IsMediaSecurityCustom>false</csm:IsMediaSecurityCustom>
                </csm:voip>
                <csm:RenegotiationSupported>true</csm:RenegotiationSupported>
                <csm:RenegotiateBeforeConnect>false</csm:RenegotiateBeforeConnect>
                <csm:UseVocoder>false</csm:UseVocoder>
                <csm:EarlyH245Supported>false</csm:EarlyH245Supported>
                <csm:RFC2833>false</csm:RFC2833>
                <csm:MediaWait>false</csm:MediaWait>
                <csm:MediaOnOverlap>false</csm:MediaOnOverlap>
                <csm:PauseRequired>false</csm:PauseRequired>
                <csm:PauseOnEndRequired>false</csm:PauseOnEndRequired>
                <csm:ParallelH245>false</csm:ParallelH245>
                <csm:AnnexFSupported>false</csm:AnnexFSupported>
                <csm:PhoneType>47</csm:PhoneType>
                <csm:ExtnAPIAudio_setting>0</csm:ExtnAPIAudio_setting>
                <csm:ExtnAPIHeadset_setting>0</csm:ExtnAPIHeadset_setting>
                <csm:ExtnAPIContrast>0</csm:ExtnAPIContrast>
                <csm:ExtnAPIRedial_time>0</csm:ExtnAPIRedial_time>
                <csm:ExtnAPISpeaker_volume>0</csm:ExtnAPISpeaker_volume>
                <csm:ExtnAPIHandsfree_settings>0</csm:ExtnAPIHandsfree_settings>
                <csm:ExtnAPIRingtone_volume>0</csm:ExtnAPIRingtone_volume>
                <csm:ExtnAPIDoor_phone>false</csm:ExtnAPIDoor_phone>
                <csm:ExtnAPIHandset_volume>0</csm:ExtnAPIHandset_volume>
                <csm:ExtnAPIRingtone_speed>0</csm:ExtnAPIRingtone_speed>
                <csm:ExtnAPIHeadset_volume>0</csm:ExtnAPIHeadset_volume>
                <csm:ExtnAPIHeadset_config>0</csm:ExtnAPIHeadset_config>
                <csm:ExtnAPIAlpha_keypad_layout>0</csm:ExtnAPIAlpha_keypad_layout>
                <csm:ExtnAPIDirect_dial_enabled>false</csm:ExtnAPIDirect_dial_enabled>
                <csm:ExtnAPIHandsfree_enabled>false</csm:ExtnAPIHandsfree_enabled>
                <csm:DisableSpeaker>false</csm:DisableSpeaker>
                <csm:VPNExtn>false</csm:VPNExtn>
                <csm:IPAvayaLicenseReserved>false</csm:IPAvayaLicenseReserved>
                <csm:IPEndpointsLicenseReserved>false</csm:IPEndpointsLicenseReserved>
                <csm:IsExtnCentralized>false</csm:IsExtnCentralized>
                <csm:CentralizedDDINumber>|||||</csm:CentralizedDDINumber>
                <csm:SpecificBstType>-1</csm:SpecificBstType>
                <csm:Location>1</csm:Location>
                <csm:PhonePassword />
                <csm:Module></csm:Module>
                <csm:Port></csm:Port>
                <csm:AllowRemoteExtn>false</csm:AllowRemoteExtn>
                <csm:FallbackAsRemoteWorker>0</csm:FallbackAsRemoteWorker>
                <csm:RingVoltageBoost>0</csm:RingVoltageBoost>
                <csm:RemoteLineNumber>-1</csm:RemoteLineNumber>
              </csm:Extension>
              <csm:User>
                <csm:EUAuth>
                  <csm:EUAEnable>0</csm:EUAEnable>
                  <csm:EUAName>0</csm:EUAName>
                  <csm:EUAPassword>0</csm:EUAPassword>
                  <csm:EUAFullName>0</csm:EUAFullName>
                  <csm:EUAExtension>0</csm:EUAExtension>
                  <csm:EUALocale>0</csm:EUALocale>
                  <csm:EUADoNotDisturb>0</csm:EUADoNotDisturb>
                  <csm:EUADNDExceptions>0</csm:EUADNDExceptions>
                  <csm:EUAVoicemailOn>0</csm:EUAVoicemailOn>
                  <csm:EUAVoicemailCode>0</csm:EUAVoicemailCode>
                  <csm:EUAVoicemailEmail>0</csm:EUAVoicemailEmail>
                  <csm:EUAVoicemailEmailMode>0</csm:EUAVoicemailEmailMode>
                  <csm:EUAMobilityTwinning>0</csm:EUAMobilityTwinning>
                  <csm:EUATwinnedMobileNumber>0</csm:EUATwinnedMobileNumber>
                  <csm:EUALoginCode>0</csm:EUALoginCode>
                  <csm:EUADenyAutoIntercomCalls>0</csm:EUADenyAutoIntercomCalls>
                  <csm:EUAPersonalDirectory>0</csm:EUAPersonalDirectory>
                  <csm:EUAShortCodes>0</csm:EUAShortCodes>
                  <csm:EUABlockForwarding>0</csm:EUABlockForwarding>
                  <csm:EUAForwardNumber>0</csm:EUAForwardNumber>
                  <csm:EUAForwardBusyNumber>0</csm:EUAForwardBusyNumber>
                  <csm:EUAForwardOnBusy>0</csm:EUAForwardOnBusy>
                  <csm:EUAForwardOnNoAnswer>0</csm:EUAForwardOnNoAnswer>
                  <csm:EUADSSKeys>0</csm:EUADSSKeys>
                  <csm:EUAVoicemailRingback>0</csm:EUAVoicemailRingback>
                  <csm:EUAConferencePIN>0</csm:EUAConferencePIN>
                </csm:EUAuth>
                <csm:UserRightsView />
                <csm:UsingView>false</csm:UsingView>
                <csm:UserRightsTimeProfile />
                <csm:OutOfHoursUserRights />
                <csm:Name>test09</csm:Name>
                <csm:KName />
                <csm:Password>test09</csm:Password>
                <csm:FullName />
                <csm:Extension>207</csm:Extension>
                <csm:Priority>1</csm:Priority>
                <csm:OutsideCallSeq>0</csm:OutsideCallSeq>
                <csm:InsideCallSeq>0</csm:InsideCallSeq>
                <csm:RingbackCallSeq>0</csm:RingbackCallSeq>
                <csm:NoAnswerTime>15</csm:NoAnswerTime>
                <csm:ForwardOnBusy>false</csm:ForwardOnBusy>
                <csm:BookConferenceWithPM>false</csm:BookConferenceWithPM>
                <csm:DisableForwardOnInt>false</csm:DisableForwardOnInt>
                <csm:DisableForwardUncondOnInt>false</csm:DisableForwardUncondOnInt>
                <csm:DisableForwardBusyNoAnsOnInt>false</csm:DisableForwardBusyNoAnsOnInt>
                <csm:VoicemailReception2 />
                <csm:VoicemailReception3 />
                <csm:DSSKeys>
                  <csm:DSSKey Key="1">
                    <csm:KeyType>0</csm:KeyType>
                    <csm:Label />
                    <csm:ActionObject>39</csm:ActionObject>
                    <csm:Data>a=</csm:Data>
                    <csm:RingDelay>0</csm:RingDelay>
                    <csm:IdlePos />
                  </csm:DSSKey>
                  <csm:DSSKey Key="2">
                    <csm:KeyType>0</csm:KeyType>
                    <csm:Label />
                    <csm:ActionObject>39</csm:ActionObject>
                    <csm:Datab>=</csm:Data>
                    <csm:RingDelay>0</csm:RingDelay>
                    <csm:IdlePos />
                  </csm:DSSKey>
                  <csm:DSSKey Key="3">
                    <csm:KeyType>0</csm:KeyType>
                    <csm:Label />
                    <csm:ActionObject>39</csm:ActionObject>
                    <csm:Data>c=</csm:Data>
                    <csm:RingDelay>0</csm:RingDelay>
                    <csm:IdlePos />
                  </csm:DSSKey>
                </csm:DSSKeys>
                <csm:InhibitOffSwitchForwarding>false</csm:InhibitOffSwitchForwarding>
                <csm:IsNoUser>false</csm:IsNoUser>
                <csm:IsRealUser>true</csm:IsRealUser>
                <csm:IsRemoteManager>false</csm:IsRemoteManager>
                <csm:IsVoiceEmailModeAlert>false</csm:IsVoiceEmailModeAlert>
                <csm:IsVoiceEmailModeCopy>false</csm:IsVoiceEmailModeCopy>
                <csm:IsVoiceEmailModeForward>false</csm:IsVoiceEmailModeForward>
                <csm:IsVoiceEmailModeOff>true</csm:IsVoiceEmailModeOff>
                <csm:MaxTwinnedCalls>1</csm:MaxTwinnedCalls>
                <csm:PhoneManagerCallStatusOptions>4294967295</csm:PhoneManagerCallStatusOptions>
                <csm:PhoneManagerCloseOptions>0</csm:PhoneManagerCloseOptions>
                <csm:PhoneManagerCanChange>true</csm:PhoneManagerCanChange>
                <csm:PhoneManagerConfigureOptions>81664</csm:PhoneManagerConfigureOptions>
                <csm:PhoneManagerOptions>98120</csm:PhoneManagerOptions>
                <csm:PhoneManagerOptionsOriginal>98120</csm:PhoneManagerOptionsOriginal>
                <csm:PhoneType>47</csm:PhoneType>
                <csm:PhoneTypeIndex>47</csm:PhoneTypeIndex>
                <csm:PopupAnswering>false</csm:PopupAnswering>
                <csm:PopupExternal>false</csm:PopupExternal>
                <csm:PopupInternal>false</csm:PopupInternal>
                <csm:PopupOutlook>false</csm:PopupOutlook>
                <csm:PopupRinging>false</csm:PopupRinging>
                <csm:PopupOptions>0</csm:PopupOptions>
                <csm:RingDelay>0</csm:RingDelay>
                <csm:ShowAccountCodes>true</csm:ShowAccountCodes>
                <csm:ShowAllCalls>true</csm:ShowAllCalls>
                <csm:ShowCallStatus>true</csm:ShowCallStatus>
                <csm:ShowCostOfCall>true</csm:ShowCostOfCall>
                <csm:ShowIncoming>true</csm:ShowIncoming>
                <csm:ShowMessages>true</csm:ShowMessages>
                <csm:ShowMissed>true</csm:ShowMissed>
                <csm:ShowOutgoing>true</csm:ShowOutgoing>
                <csm:ShowSpeedDials>true</csm:ShowSpeedDials>
                <csm:StartInCompactMode>false</csm:StartInCompactMode>
                <csm:StayInCompactModeOnIncommingCall>false</csm:StayInCompactModeOnIncommingCall>
                <csm:StayInCompaceModeOnOutgoingCall>false</csm:StayInCompaceModeOnOutgoingCall>
                <csm:T3AllowThirdPartyFwd>false</csm:T3AllowThirdPartyFwd>
                <csm:T3ProtectFromThirdPartyFwd>false</csm:T3ProtectFromThirdPartyFwd>
                <csm:TwinnedDialDelay>2</csm:TwinnedDialDelay>
                <csm:TwinnedEligibleForForwarded>false</csm:TwinnedEligibleForForwarded>
                <csm:TwinnedEligibleForGroup>false</csm:TwinnedEligibleForGroup>
                <csm:TwinnedMobileNumber />
                <csm:TwinnedTimeProfile />
                <csm:TwinningNumber />
                <csm:TwinningType>0</csm:TwinningType>
                <csm:TwinningUser />
                <csm:IsTwinSlave>false</csm:IsTwinSlave>
                <csm:IsTwinMaster>false</csm:IsTwinMaster>
                <csm:InternalTwinning>false</csm:InternalTwinning>
                <csm:MobilityTwinning>false</csm:MobilityTwinning>
                <csm:TwinnedMobileAnswerGuard>0</csm:TwinnedMobileAnswerGuard>
                <csm:AutoRecMailBox>207 test21</csm:AutoRecMailBox>
                <csm:ManualRecMailBox>207 test21</csm:ManualRecMailBox>
                <csm:PAServicesEnabled>false</csm:PAServicesEnabled>
                <csm:AutoRecModeIn>2</csm:AutoRecModeIn>
                <csm:AutoRecModeOut>2</csm:AutoRecModeOut>
                <csm:DenyAutoIntercomCalls>false</csm:DenyAutoIntercomCalls>
                <csm:MobileCallControl>false</csm:MobileCallControl>
                <csm:SpecificBstType>47</csm:SpecificBstType>
                <csm:ForwardOnNoAnswer>false</csm:ForwardOnNoAnswer>
                <csm:ForwardUnconditional>false</csm:ForwardUnconditional>
                <csm:ForwardHuntGroupCalls>false</csm:ForwardHuntGroupCalls>
                <csm:ForwardNumber />
                <csm:ForwardBusyNumber />
                <csm:DoNotDisturb>false</csm:DoNotDisturb>
                <csm:DNDExceptions />
                <csm:OutgoingCallBar>false</csm:OutgoingCallBar>
                <csm:IncomingCallBar>false</csm:IncomingCallBar>
                <csm:OffHookStation>false</csm:OffHookStation>
                <csm:BusyOnHeld>false</csm:BusyOnHeld>
                <csm:FollowMeNumber />
                <csm:CallWaitingOn>false</csm:CallWaitingOn>
                <csm:VoicemailOn>true</csm:VoicemailOn>
                <csm:VoicemailHelp>false</csm:VoicemailHelp>
                <csm:VoicemailCode />
                <csm:VoicemailEmail />
                <csm:VoicemailEmailReading>false</csm:VoicemailEmailReading>
                <csm:VoicemailReception />
                <csm:VoicemailEmailMode>0</csm:VoicemailEmailMode>
                <csm:VoicemailRingback>false</csm:VoicemailRingback>
                <csm:ShortCodes>
                  <csm:ShortCode>
                    <csm:Code>*DSS1</csm:Code>
                    <csm:TelephoneNumber>99/a=</csm:TelephoneNumber>
                    <csm:LineGroupId>0</csm:LineGroupId>
                    <csm:Feature>26</csm:Feature>
                    <csm:Locale />
                    <csm:ForceAccountCode>false</csm:ForceAccountCode>
                    <csm:ForceAuthCode>false</csm:ForceAuthCode>
                  </csm:ShortCode>
                  <csm:ShortCode>
                    <csm:Code>*DSS2</csm:Code>
                    <csm:TelephoneNumber>99/b=</csm:TelephoneNumber>
                    <csm:LineGroupId>0</csm:LineGroupId>
                    <csm:Feature>26</csm:Feature>
                    <csm:Locale />
                    <csm:ForceAccountCode>false</csm:ForceAccountCode>
                    <csm:ForceAuthCode>false</csm:ForceAuthCode>
                  </csm:ShortCode>
                  <csm:ShortCode>
                    <csm:Code>*DSS3</csm:Code>
                    <csm:TelephoneNumber>99/c=</csm:TelephoneNumber>
                    <csm:LineGroupId>0</csm:LineGroupId>
                    <csm:Feature>26</csm:Feature>
                    <csm:Locale />
                    <csm:ForceAccountCode>false</csm:ForceAccountCode>
                    <csm:ForceAuthCode>false</csm:ForceAuthCode>
                  </csm:ShortCode>
                </csm:ShortCodes>
                <csm:DialInOn>false</csm:DialInOn>
                <csm:DialInTimeProfile />
                <csm:DialInFirewallProfile />
                <csm:SourceNumbers>V207|</csm:SourceNumbers>
                <csm:DialInQuotaTime>0</csm:DialInQuotaTime>
                <csm:LoginCode />
                <csm:LoginIdleTime />
                <csm:WrapUpTime>2</csm:WrapUpTime>
                <csm:TwinMaster />
                <csm:SecTwinCallEnabled>false</csm:SecTwinCallEnabled>
                <csm:CanIntrude>false</csm:CanIntrude>
                <csm:CannotBeIntruded>true</csm:CannotBeIntruded>
                <csm:XDirectory>false</csm:XDirectory>
                <csm:ForceLogin>false</csm:ForceLogin>
                <csm:ForceAuthCode>false</csm:ForceAuthCode>
                <csm:ForceAccountCode>false</csm:ForceAccountCode>
                <csm:SystemPhone>0</csm:SystemPhone>
                <csm:AbsentMsg>0</csm:AbsentMsg>
                <csm:AbsentSet>0</csm:AbsentSet>
                <csm:AbsentText />
                <csm:T3HuntGroupMembershipStatus />
                <csm:T3HuntGroupServiceStatus />
                <csm:T3HuntGroupNightServiceStatus />
                <csm:T3DirectoryEntries />
                <csm:MonitorGroup />
                <csm:DisplayLocale>   </csm:DisplayLocale>
                <csm:Locale />
                <csm:PMType>0</csm:PMType>
                <csm:InboundAutoRecord>0</csm:InboundAutoRecord>
                <csm:OutboundAutoRecord>0</csm:OutboundAutoRecord>
                <csm:AutoRecordTimeProfile />
                <csm:RemoteWorker>false</csm:RemoteWorker>
                <csm:CanAcceptCollectCalls>false</csm:CanAcceptCollectCalls>
                <csm:UserRights />
                <csm:Secretaries />
                <csm:TransferReturnTime />
                <csm:AnswerCallWaiting>true</csm:AnswerCallWaiting>
                <csm:RingingLinePreference>true</csm:RingingLinePreference>
                <csm:IdleLinePreference>true</csm:IdleLinePreference>
                <csm:CoverageTime>10</csm:CoverageTime>
                <csm:AutoVRL>0</csm:AutoVRL>
                <csm:ManualVRL>0</csm:ManualVRL>
                <csm:DelayedRingPreference>false</csm:DelayedRingPreference>
                <csm:AnswerPreSelect>false</csm:AnswerPreSelect>
                <csm:ReserveLastCA>false</csm:ReserveLastCA>
                <csm:CallTracingOn>false</csm:CallTracingOn>
                <csm:DisplayCharges>true</csm:DisplayCharges>
                <csm:MarkUpFactor>100</csm:MarkUpFactor>
                <csm:reset_longest_idle_info>0</csm:reset_longest_idle_info>
                <csm:NoAnswerStatus>0</csm:NoAnswerStatus>
                <csm:PBXAddress />
                <csm:SIPName>207</csm:SIPName>
                <csm:SIPDisplayName>test21</csm:SIPDisplayName>
                <csm:SIPContact>207</csm:SIPContact>
                <csm:SIPAnonymous>false</csm:SIPAnonymous>
                <csm:AbbreviatedRing>true</csm:AbbreviatedRing>
                <csm:CustomerServiceRep>false</csm:CustomerServiceRep>
                <csm:ACWTime>-1</csm:ACWTime>
                <csm:AutoACW>false</csm:AutoACW>
                <csm:UMSWebServices>false</csm:UMSWebServices>
                <csm:DisableVMOnFU>false</csm:DisableVMOnFU>
                <csm:DTMFCallCtrl>false</csm:DTMFCallCtrl>
                <csm:LoggedOutTwinning>0</csm:LoggedOutTwinning>
                <csm:OneXClient>false</csm:OneXClient>
                <csm:MobilityFeatures>false</csm:MobilityFeatures>
                <csm:TwinnedBridgeAppearances>false</csm:TwinnedBridgeAppearances>
                <csm:TwinnedCoverageAppearances>false</csm:TwinnedCoverageAppearances>
                <csm:TwinnedLineAppearances>false</csm:TwinnedLineAppearances>
                <csm:PersonalDirectory />
                <csm:ForwardToVoicemail>false</csm:ForwardToVoicemail>
                <csm:CoverageGroup />
                <csm:CanChangeHGOOSGroup />
                <csm:CanChangeHGONGroup />
                <csm:IncludeForwardInMenu>true</csm:IncludeForwardInMenu>
                <csm:CallLoggingCentralised>0</csm:CallLoggingCentralised>
                <csm:AttentionRing>true</csm:AttentionRing>
                <csm:CoverageRing>0</csm:CoverageRing>
                <csm:LogMissedCallsForHG />
                <csm:DisableForwardToVoicemail>0</csm:DisableForwardToVoicemail>
                <csm:AnnouncementsOn>false</csm:AnnouncementsOn>
                <csm:FollowAnnouncementsOn>true</csm:FollowAnnouncementsOn>
                <csm:LoopAnnouncementsOn>true</csm:LoopAnnouncementsOn>
                <csm:SyncAnnouncementsOn>false</csm:SyncAnnouncementsOn>
                <csm:FirstAnnTime>10</csm:FirstAnnTime>
                <csm:SecondAnnTime>20</csm:SecondAnnTime>
                <csm:BetweenAnnTime>20</csm:BetweenAnnTime>
                <csm:PostAnnTone>2</csm:PostAnnTone>
                <csm:PortalServices>0</csm:PortalServices>
                <csm:WorkingHoursUserRightsGroup />
                <csm:T3SelfAdmin>false</csm:T3SelfAdmin>
                <csm:MobileCallback>false</csm:MobileCallback>
                <csm:Receptionist>true</csm:Receptionist>
                <csm:SoftPhone>false</csm:SoftPhone>
                <csm:OneXTelecommuter>false</csm:OneXTelecommuter>
                <csm:AssignedPackage>1</csm:AssignedPackage>
                <csm:AutoRecMode>2</csm:AutoRecMode>
                <csm:CallLogTimeout>00:00</csm:CallLogTimeout>
                <csm:UserCLI />
                <csm:FlareEnabled>false</csm:FlareEnabled>
                <csm:FlareMode>0</csm:FlareMode>
                <csm:AutoIntDeny>false</csm:AutoIntDeny>
                <csm:TUIUser>
                  <csm:TUIFeaturesMenuControls>false</csm:TUIFeaturesMenuControls>
                  <csm:TUIFeaturesMenu>true</csm:TUIFeaturesMenu>
                  <csm:TUIBasicCallFunctions>true</csm:TUIBasicCallFunctions>
                  <csm:TUIAdvancedCallFunctions>true</csm:TUIAdvancedCallFunctions>
                  <csm:TUIHotDeskFunctions>true</csm:TUIHotDeskFunctions>
                  <csm:TUIPasscodeChange>true</csm:TUIPasscodeChange>
                  <csm:TUIPhoneLock>true</csm:TUIPhoneLock>
                  <csm:TUISelfAdmin>true</csm:TUISelfAdmin>
                  <csm:TUIVoiceMailControls>true</csm:TUIVoiceMailControls>
                  <csm:TUIForwarding>true</csm:TUIForwarding>
                </csm:TUIUser>
                <csm:UserPasswordStatus>1</csm:UserPasswordStatus>
                <csm:BlockForwarding>false</csm:BlockForwarding>
                <csm:ParkAndPageInfo>
                  <csm:ParkAndPage>
                    <csm:ParkAndPageId>1</csm:ParkAndPageId>
                    <csm:PagingNumber />
                    <csm:CentrexTransferNumber />
                    <csm:PNPFallBackNumber />
                    <csm:RetryTimeout>15</csm:RetryTimeout>
                    <csm:RetryCount>0</csm:RetryCount>
                  </csm:ParkAndPage>
                  <csm:ParkAndPage>
                    <csm:ParkAndPageId>2</csm:ParkAndPageId>
                    <csm:PagingNumber />
                    <csm:CentrexTransferNumber />
                    <csm:PNPFallBackNumber />
                    <csm:RetryTimeout>15</csm:RetryTimeout>
                    <csm:RetryCount>0</csm:RetryCount>
                  </csm:ParkAndPage>
                  <csm:ParkAndPage>
                    <csm:ParkAndPageId>3</csm:ParkAndPageId>
                    <csm:PagingNumber />
                    <csm:CentrexTransferNumber />
                    <csm:PNPFallBackNumber />
                    <csm:RetryTimeout>15</csm:RetryTimeout>
                    <csm:RetryCount>0</csm:RetryCount>
                  </csm:ParkAndPage>
                </csm:ParkAndPageInfo>
                <csm:MobileVoIPClientEnabled>false</csm:MobileVoIPClientEnabled>
                <csm:SendMobilityEmail>false</csm:SendMobilityEmail>
                <csm:IPOCCAgent>false</csm:IPOCCAgent>
                <csm:AgentType>0</csm:AgentType>
                <csm:WebCollaboration>false</csm:WebCollaboration>
                <csm:ConferencePIN />
              </csm:User>
            </csm:ws_object>
          </csm:data>
        </commProfile>
      </commProfileList>
    </commProfileSet>
  </tns:user>
</tns:users>

XML Schema for bulk import and export of Presence Profile

<?xml version="1.0" encoding="UTF-8" ?>
<xsd:complexType name="XmlPsCommProfile">
<xsd:complexContent>
<xsd:extension base="one:xmlCommProfileType" >
<xsd:sequence>
<xsd:element name="primarySipEntityId" type="xsd:long"/>
<xsd:element name="secondarySipEntityId" type="xsd:long" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

Sample XML for Presence Communication Profile

<?xml version="1.0" encoding="UTF-8"?>
<tns:users xmlns:tns="http://xml.avaya.com/schema/import" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://xml.avaya.com/schema/import userimport.xsd ">
<tns:user>
<authenticationType>BASIC</authenticationType>
<description>description</description>
<displayName>pm_0displayName</displayName>
<displayNameAscii>pm_0displayNameAscii</displayNameAscii>
<dn>dn</dn>
<isDuplicatedLoginAllowed>true</isDuplicatedLoginAllowed>
<isEnabled>true</isEnabled>
<isVirtualUser>false</isVirtualUser>
<givenName>pm_0givenName</givenName>
<honorific>honorific</honorific>
<loginName>pm_0@pres.avaya.com</loginName>
<middleName>pm_0middleName</middleName>
<managerName>pm_0managerName</managerName>
<preferredGivenName>pm_0preferredGivenName</preferredGivenName>
<preferredLanguage>en-US</preferredLanguage>
<source>local</source>
<sourceUserKey>sourceUserKey</sourceUserKey>
<status>AUTHPENDING</status>
<suffix>suffix</suffix>
<surname>pm_0surname</surname>
<title>pm_0title</title>
<userName>pm_0userName</userName>
<userPassword>-6396392681329505585</userPassword>
<commPassword>-6396392681329505585</commPassword>
<userType>AGENT</userType>
<address>
<addressType>OFFICE</addressType>
<name>pm_0contact_address</name>
<building>pm_0building</building>
<localityName>pm_0localityName</localityName>
<postalCode>pm_0postalCode</postalCode>
<room>pm_0room</room>
<stateOrProvince>pm_0stateOrProvince</stateOrProvince>
<country>pm_0country</country>
<street>pm_0street</street>
<postalAddress>pm_0postalAddress</postalAddress>
<isPrivate>true</isPrivate>
</address>
<securityIdentity>
<identity>pm_0identity1</identity>
<realm>pm_0realm1</realm>
<type>pm_0type1</type>
</securityIdentity>
<ownedContactLists>
<contactList>
<name>pm_0ContactList_1</name>
<description>pm_0Decription_ContactList_default_1</description>
<isPublic>false</isPublic>
<members>
<memberContact>pm_0_0Contact_1</memberContact>
<speedDialContactAddress>
<address>12345</address>
<altLabel>pm_0altLabel1</altLabel>
<contactCategory>OFFICE</contactCategory>
<contactType>PHONE</contactType>
<label>pm_0labe2</label>
</speedDialContactAddress>
<isFavorite>true</isFavorite>
<isSpeedDial>true</isSpeedDial>
<speedDialEntry>22222</speedDialEntry>
<isPresenceBuddy>true</isPresenceBuddy>
<label>pm_0labe3</label>
<altLabel>pm_0altLabe4</altLabel>
<description>pm_0description1</description>
<priorityLevel>1</priorityLevel>
</members>
<contactListType>CONTACTCENTER</contactListType>
</contactList>
</ownedContactLists>
<ownedContacts>
<contact>
<company>pm_0company1</company>
<description>pm_0description1</description>
<displayName>pm_0_0Contact_1</displayName>
<displayNameAscii>pm_0displayNameAscii1</displayNameAscii>
<dn>pm_0dn1</dn>
<givenName>pm_0givenName1</givenName>
<initials>initials1</initials>
<middleName>pm_0middleName1</middleName>
<preferredGivenName>pm_0preferredGivenName1</preferredGivenName>
<preferredLanguage>English</preferredLanguage>
<isPublic>false</isPublic>
<source>local</source>
<sourceUserKey>pm_0sourceUserKey1</sourceUserKey>
<suffix>pm_0suffix1</suffix>
<surname>pm_0surname1</surname>
<title>pm_0title1</title>
<ContactAddress>
<address>12345</address>
<altLabel>pm_0altLabel1</altLabel>
<contactCategory>OFFICE</contactCategory>
<contactType>PHONE</contactType>
<label>pm_0label1</label>
</ContactAddress>
<addresses>
<addressType>OFFICE</addressType>
<name>pm_0_Add_Name</name>
<building>pm_0_Building_Name</building>
<localityName>pm_0_locality</localityName>
<postalCode>411014</postalCode>
<room>pm_0_Room_5B</room>
<stateOrProvince>Maharashtr<A/stateOrProvince>
<country>Indi<A/country>
<street>pm_0_Street</street>
<postalAddress>pm_0_POAdd</postalAddress>
<isPrivate>true</isPrivate>
</addresses>
</contact>
</ownedContacts>
<presenceUserDefault>
<infoTypeAccess>
<infoType>
<label>All</label>
<filter>ALL</filter>
<specFlags>FULL</specFlags>
</infoType>
<access>BLOCK</access>
</infoTypeAccess>
</presenceUserDefault>
<presenceUserACL>
<infoTypeAccess>
<infoType>
<label>All</label>
<filter>ALL</filter>
<specFlags>FULL</specFlags>
</infoType>
<access>BLOCK</access>
</infoTypeAccess>
<watcherDisplayName>pm_0_0Contact_1</watcherDisplayName>
</presenceUserACL>
<presenceUserCLDefault>
<infoTypeAccess>
<infoType>
<label>Telephony</label>
<filter>CLASS(phone)</filter>
<specFlags></specFlags>
</infoType>
<access>ALLOW</access>
</infoTypeAccess>
</presenceUserCLDefault>
<commProfileSet>
<commProfileSetName>commProfileSetNamepm_0</commProfileSetName>
<isPrimary>true</isPrimary>
<handleList>
<handle>
<handleName>smtp_pm_0@ahmadexserver.com</handleName>
<handleType>smtp</handleType>
<handleSubType>msexchange</handleSubType>
<domainName>__foreign__</domainName>
</handle>
</handleList>
<commProfileList>
<commProfile xsi:type="ext:XmlPsCommProfile"
xmlns:ext="http://xml.avaya.com/schema/presence">
<commProfileType>PS</commProfileType>
<ext:primarySipEntityId>32768</ext:primarySipEntityId>
</commProfile>
</commProfileList>
</commProfileSet>
</tns:user>
</tns:users>

XML Schema Definition for bulk import of global setting records

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:tns="http://xml.avaya.com/schema/import" xmlns:ext="http://xml.avaya.com/schema/import" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.avaya.com/schema/import" version="1.0">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			This Schema defines schema for bulk import and export of System ACL,Public Contacts and Shared Address.	
		</xs:documentation>
	</xs:annotation>
	<xs:element name="presenceSystemDefault" type="tns:xmlPresSystemDefaultType"/>
	<xs:element name="presenceEnforcedUserACL" type="tns:xmlPresEnforcedUserACLEntryType"/>
	<xs:element name="presenceSystemRule" type="tns:xmlPresSystemRuleType"/>
	<xs:element name="presenceSystemACL" type="tns:xmlPresSystemACLEntryType"/>
	<xs:element name="publicContact" type="tns:xmlPublicContact"/>
	<xs:element name="globalSettings" type="tns:globalSettingsType"/>
	<xs:element name="sharedAddress" type="tns:xmlSharedAddress"/>
	<xs:complexType name="globalSettingsType">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			---Root Element 'presenceSystemDefault' represent a global default that 
				defines access to presence if none of the more specific rules apply. 
				There must be at least one System Default rule defined. 			
			---Root Element 'presenceEnforcedUserACL' represent collection of 
				Enforced User ACL (containing 1 or more Enforced User ACL).This rule
				is similar to a User ACL in the sense that its entries define access 
				between individual presentities and watchers. However this rule is 
				managed by the administrator as opposed to presentities themselves. 
				Entries of Enforced User ACL can also be defined with different 
				priorities. Entries with higher priority will have more weight than 
				entries with lower priority.
			---Root Element 'presenceSystemRule' represent collection of System 
				Rules (containing 1 or more System Rules).Global rules that enforce 
				certain level of presence access for everyone in the solution. There 
				may be several rules that apply to all presentities and all watchers. 
				System Rules are used to enforce global policies. For example, a 
				system rule can declare that telephony presence should be available 
				to everybody in the company. System Rules can be defined with 
				different priorities. Rules with higher priority will have more 
				weight than rules with lower priority
			---Root Element 'presenceSystemACL' represent collection of System ACL 
				(containing 1 or more System ACL).
				System ACL (Access Control List) – are enterprise-wide rules that can 
				allow a watcher to see presence of all users or deny a watcher from 
				accessing anyone's presence.  There may be several entries in the 
				list, each entry corresponding to one watcher. System ACL is 
				normally used to provide critical system services with a privileged 
				access to presence of all users. 
			---Root Element 'publicContact' represent collection of public contacts 
				(containing 1 or more public contacts).A personal contact is owned 
				by an individual user and is not accessible to all users. A public 
				contact can be shared by all users and is owned by the default 
				system user.
			---Root Element 'sharedAddress' represent collection of  shared Address 
				(containing 1 or more shared Addresses).A shared Address can be 
				shared by all users.
		</xs:documentation>
	</xs:annotation>
		<xs:sequence>
			<xs:element name="presenceSystemDefault" type="tns:xmlPresSystemDefaultType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="presenceEnforcedUserACL" type="tns:xmlPresEnforcedUserACLEntryType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="presenceSystemRule" type="tns:xmlPresSystemRuleType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="presenceSystemACL" type="tns:xmlPresSystemACLEntryType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="sharedAddress" type="tns:xmlSharedAddress" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="publicContact" type="tns:xmlPublicContact" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlSharedAddress">
		<xs:sequence>
			<xs:annotation>
				<xs:documentation xml:lang="en">
					---addressType:The unique text name of the address type. 
							Possible values are: Home, business.
					---name: The Name property defines the unique label by which
							the address is known. Default format for user specific 
							address should include user name place address type.
					---building:The name or other designation of a structure.
					---localityName:The name of a locality, such as a city, county 
							or other geographic region. 
					---postalCode:A code used by postal services to route mail to a 
							destination. In the United States this is the zip code.
					---room:Name or designation of a room.
					---stateOrProvince:The full name of a state or province. 
					---country:A country.
					---street:The physical address of the object such as an address 
							for package delivery
					---postalAddress:A free formed text area for the complete 
							physical delivery address. It may be used in place of the 
							specific fields in this table.
					---readOnly:A boolean indicator showing whether or not the 
							address can be changed from its default value.
				</xs:documentation>
			</xs:annotation>
			<xs:element name="addressType" type="xs:string"/>
			<xs:element name="name" type="xs:string"/>
			<xs:element name="building" type="xs:string" minOccurs="0"/>
			<xs:element name="localityName" type="xs:string" minOccurs="0"/>
			<xs:element name="postalCode" type="xs:string" minOccurs="0"/>
			<xs:element name="room" type="xs:string" minOccurs="0"/>
			<xs:element name="stateOrProvince" type="xs:string" minOccurs="0"/>
			<xs:element name="country" type="xs:string" minOccurs="0"/>
			<xs:element name="street" type="xs:string" minOccurs="0"/>
			<xs:element name="postalAddress" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="1024"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="readOnly" type="xs:boolean" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlPublicContact">
		<xs:sequence>
			<xs:annotation>
				<xs:documentation xml:lang="en">
					---company:The organization that the contact belongs to.
					---description: A free text field containing human readable 
						text providing information on this entry.
					---displayName:The localized name of a contact to be used when 
						displaying. It will typically be the localized full name. 
						This value may be provisioned from the user’s enterprise 
						directory entry. If it does not exist, synchronization 
						rules can be used to populate it for other fields 
						e.g. Surname, GivenName, or LoginName.
					---displayNameAscii:The full text name of the contact 
						represented in ASCII. It is used to support display 
						(e.g. endpoints) that cannot handle localized text. 
					---dn:The distinguished name of the user. The DN is a sequence 
						of relative distinguished names (RDN) connected by commas. 
						An RDN is an attribute with an associated value in the form 
						of attribute=value, normally expressed in a UTF-8 string 
						format. The dn can be used to uniquely identify this 
						record. Note the dn is changeable. 
					---givenName:The first name of the contact.
					---initials:Initials of the contact.
					---middleName:The middle name of the contact.
					---preferredGivenName:The nick name of the contact.
					---preferredLanguage:The individual's preferred written or 
						spoken language. Values will conform to rfc4646 and the 
						reader should refer to rfc4646 for syntax.  This format 
						uses the ISO standard Language (ISO-639) and region 
						(ISO-3166) codes In the absence of a value the client’s 
						locale should be used, if no value is set, en-US should be
						defaulted.
					---source:Free format text field that identifies the entity 
						that created this user record.  The format of this field 
						will be either a IP Address/Port or a name representing an 
						enterprise LDAP or Avaya.
					---sourceUserKey:The key of the user from the source system. If 
						the source is an Enterprise Active Directory server, this 
						value with be the objectGUID.
					---suffix:The text appended to a name e.g. Jr., III.
					---surname:The user's last name, also called the family name. 
					---title:The job function of a person in their organizational 
						context.Examples: supervisor, manager.
					---contactAddresses:A Entity used to store a contact’s address. 
					---addresses:A fully qualified URI for interacting with this 
						contact. Any addresses added to this entity should contain  
						a qualifier e.g. sip, sips, tel, mailto. The address should 
						be syntactically valid based on the qualifier. It must be 
						possible to add via the GUI and Interface. The application 
						must do validation.
				</xs:documentation>
			</xs:annotation>
			<xs:element name="company" type="xs:string" minOccurs="0"/>
			<xs:element name="description" type="xs:string" minOccurs="0"/>
			<xs:element name="displayName" type="xs:string"/>
			<xs:element name="displayNameAscii" type="xs:string"/>
			<xs:element name="dn" type="xs:string" minOccurs="0"/>
			<xs:element name="givenName" type="xs:string"/>
			<xs:element name="initials" type="xs:string" minOccurs="0"/>
			<xs:element name="middleName" type="xs:string" minOccurs="0"/>
			<xs:element name="preferredGivenName" type="xs:string" minOccurs="0"/>
			<xs:element name="preferredLanguage" type="xs:string" minOccurs="0"/>
			<xs:element name="source" type="xs:string"/>
			<xs:element name="sourceUserKey" type="xs:string"/>
			<xs:element name="suffix" type="xs:string" minOccurs="0"/>
			<xs:element name="surname" type="xs:string"/>
			<xs:element name="title" type="xs:string" minOccurs="0"/>
			<xs:element name="contactAddresses" type="tns:xmlContactAddressList" minOccurs="0"/>
			<xs:element name="addresses" type="tns:xmlAddressList" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlContactAddressList">
		<xs:annotation>
			<xs:documentation xml:lang="en">
				  ContactAddressList: A list containing Contact Addresses
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="contact" type="tns:xmlContactAddress" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlContactAddress">
		<xs:sequence>
			<xs:annotation>
				<xs:documentation xml:lang="en">
					---type:The value reflecting the type of handle this is. 
						Possible values are “username”,”e164”, and 
						“privatesubsystem"
					---category:The value representing a further qualification to 
						the contact address. 
						Possible values inlcude Office, Home, Mobile.
					---handle:This is the name given to the user to allow 
						communication to be established with the user. It is an 
						alphanumeric value that must comply with the userinfo 
						related portion of a URI as described in rfc2396. However, 
						it is further restricted as ASCII characters with only the 
						“+” prefix to signify this is an E.164 handle and "_" and 
						"." special characters supported.The handle and type together 
						are unique within a specific domain. Note, the handle plus 
						domain can be used to construct a user’s Address of Record.
					---label:A free text description for classifying this contact.
					---altLabel:A free text description for classifying this 
						contact. This is similar to ContactLabel, but it is used to 
						store alternate language representations.
				</xs:documentation>
			</xs:annotation>
			<xs:element name="type" type="xs:string"/>
			<xs:element name="category" type="xs:string" minOccurs="0"/>
			<xs:element name="handle" type="xs:string"/>
			<xs:element name="label" type="xs:string" minOccurs="0"/>
			<xs:element name="altLabel" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlAddressList">
		<xs:annotation>
			<xs:documentation xml:lang="en">
				  AddressList: A list containing Addresses
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="address" type="tns:xmlAddress" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlAddress">
		<xs:complexContent>
			<xs:extension base="tns:xmlSharedAddress">
				<xs:sequence>
					<xs:annotation>
						<xs:documentation xml:lang="en">
							  private:A boolean indicator to specify if this 
								attribute set could be shared across multiple 
								users. Private attributes sets can only be owned 
								by a single user. Default=false.
						</xs:documentation>
					</xs:annotation>
					<xs:element name="private" type="xs:boolean"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="xmlPresInfoTypeAccessType">
		<xs:sequence>
			<xs:annotation>
				<xs:documentation xml:lang="en">
 					---accessLevel:possible values:IM,Telephony
 					---action:Action possible values: ALLOW, BLOCK, CONFIRM, 
						PENDING, UNDEFINED
				</xs:documentation>
			</xs:annotation>
			<xs:element name="accessLevel" type="xs:string"/>
			<xs:element name="action" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlPresACRuleType">
		<xs:sequence>
			<xs:element name="infoTypeAccess" type="tns:xmlPresInfoTypeAccessType" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="xmlPresSystemDefaultType">
		<xs:annotation>
		<xs:documentation xml:lang="en">
			'presenceSystemDefault' represent a global default that defines 
				access to presence if none of the more specific rules apply. 
				There must be at least one System Default rule defined. 	
		</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="tns:xmlPresACRuleType"/>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="xmlPresSystemRuleType">
		<xs:complexContent>
			<xs:extension base="tns:xmlPresACRuleType">
				<xs:sequence>
					<xs:annotation>
						<xs:documentation xml:lang="en">
						   'presenceSystemRule' represent collection of System 
							Rules (containing 1 or more System Rules).Global rules 
							that enforce certain level of presence access for 
							everyone in the solution. There may be several rules 
							that apply to all presentities and all watchers. 
							System Rules are used to enforce global policies. 
							For example, a system rule can declare that telephony 
							presence should be available to everybody in the 
							company. System Rules can be defined with different 
							priorities. 
							Rules with higher priority will have more weight than 
							rules with lower priority apply to all presentities and 
							all watchers. 	  
						  ---priority:Entries of Enforced User ACL can also be 
							defined with different priorities. Entries with higher 
							priority will have more weight than entries with lower 
							priority.
         				</xs:documentation>
					</xs:annotation>
					<xs:element name="priority" type="xs:string"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="xmlPresSystemACLEntryType">
		<xs:complexContent>
			<xs:extension base="tns:xmlPresACRuleType">
				<xs:sequence>
					<xs:annotation>
						<xs:documentation xml:lang="en">
        				  ---'presenceSystemACL' represent collection of System ACL 
							(containing 1 or more System ACL).System ACL 
							(Access Control List) – are enterprise-wide rules that 
							can allow a watcher to see presence of all users or 
							deny a watcher from accessing anyone's presence.  There 
							may be several entries in the list, each entry 
							corresponding to one watcher. System ACL is normally 
							used to provide critical system services with a 
							privileged access to presence of all users. 
 						  ---watcherLoginName:LoginName of the watcher. This value 
							needs to be specified if watcher is a user.
 						  ---watcherDisplayName:DisplayName of the watcher. This 
							value needs to be specified if watcher is a Contact
         				</xs:documentation>
					</xs:annotation>
					<xs:choice>
						<xs:element name="watcherLoginName" type="xs:string" minOccurs="0"/>
						<xs:element name="watcherDisplayName" type="xs:string" minOccurs="0"/>
					</xs:choice>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="xmlPresEnforcedUserACLEntryType">
		<xs:complexContent>
			<xs:extension base="tns:xmlPresACRuleType">
				<xs:sequence>
					<xs:annotation>
						<xs:documentation xml:lang="en">
						  ---'presenceEnforcedUserACL' represent collection of 
							Enforced User ACL (containing 1 or more Enforced 
							User ACL).This rule is similar to a User ACL in the 
							sense that its entries define access between 
							individual presentities and watchers. However this 
							rule is managed by the administrator as opposed to 
							presentities themselves. Entries of Enforced User ACL 
							can also be defined with different priorities. Entries 
							with higher priority will have more weight than entries 
							with lower priority.
 						  ---watcherLoginName:LoginName of the watcher. This value 
							needs to be specified if watcher is a user.
 						  ---watcherDisplayName:DisplayName of the watcher. This 
							value needs to be specified if watcher is a Contact
 						  ---priority:Entries of Enforced User ACL can also be 
							defined with different priorities. Entries with higher 
							priority will have more weight than entries with lower 
							priority.
 						  ---userName:LoginName of the presentity.
         				</xs:documentation>
					</xs:annotation>
					<xs:element name="userName" type="xs:string"/>
					<xs:choice>
						<xs:element name="watcherLoginName" type="xs:string" minOccurs="0"/>
						<xs:element name="watcherDisplayName" type="xs:string" minOccurs="0"/>
					</xs:choice>
					<xs:element name="priority" type="xs:string"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>

Sample XML for bulk import of global setting records

<?xml version="1.0" encoding="UTF-8"?>
<tns:globalSettings xmlns:tns="http://xml.avaya.com/schema/import" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/import systemPresence.xsd ">
  
  <!-- 
	Root Element 'presenceSystemDefault' represent a global default that defines 
		access to presence if none of the more specific rules apply. There must 
		be at least one System Default rule defined.
	 accessLevel:possible values:ALL,Telephony
	 action:Action possible values: ALLOW, BLOCK, CONFIRM, PENDING, UNDEFINED
  -->
  <tns:presenceSystemDefault>
      <infoTypeAccess>
        <accessLevel>ALL</accessLevel>
        <action>ALLOW</action>
      </infoTypeAccess>
    </tns:presenceSystemDefault>	
	<!--
		Root Element 'presenceEnforcedUserACL' represent collection of Enforced 
			User ACL (containing 1 or more Enforced User ACL).This rule is 
			similar to a User ACL in the sense that its entries define access 
			between individual presentities and watchers. However this rule is 
			managed by the administrator as opposed to presentities themselves. 
			Entries of Enforced User ACL can also be defined with different 
			priorities. Entries with higher priority will have more weight than 
			entries with lower priority.
		---accessLevel:possible values:ALL,Telephony
		---action:Action possible values: ALLOW, BLOCK, CONFIRM, PENDING, UNDEFINED
		---watcherLoginName:LoginName of the watcher. This value needs to be 
			specified if watcher is a user.
		---watcherDisplayName:DisplayName of the watcher. This value needs to be 
			specified if watcher is a Contact
		---priority:Entries of Enforced User ACL can also be defined with different 
			priorities. Entries with higher priority will have more weight than 
			entries with lower priority.
		---userName:LoginName of the presentity.
-->
    <tns:presenceEnforcedUserACL>
      <infoTypeAccess>
        <accessLevel>Telephony</accessLevel>
        <action>BLOCK</action>
      </infoTypeAccess>
      <userName>jmiller@avaya.com</userName>
      <watcherLoginName>userlogin2@avaya.com</watcherLoginName>
      <priority>HIGH</priority>
    </tns:presenceEnforcedUserACL>	
	<!--	
	Root Element 'presenceSystemRule' represent collection of System Rules 
		(containing 1 or more System Rules).Global rules that enforce certain level 
		of presence access for everyone in the solution. There may be several rules 
		that apply to all presentities and all watchers. System Rules are used to 
		enforce global policies. For example, a system rule can declare that 
		telephony presence should be available to everybody in the company. 
		System Rules can be defined with different priorities. Rules with higher 
		priority will have more weight than rules with lower priority
	---accessLevel:possible values:IM,Telephony
	---action:Action possible values: ALLOW, BLOCK, CONFIRM, PENDING, UNDEFINED
    ---watcherLoginName:LoginName of the watcher. This value needs to be specified 
		if watcher is a user.
    ---watcherDisplayName:DisplayName of the watcher. This value needs to be 
		specified if watcher is a Contact
    ---priority:Entries of Enforced User ACL can also be defined with different 
		priorities. Entries with higher priority will have more weight than 
		entries with lower priority.
	-->
    <tns:presenceSystemRule>
      <infoTypeAccess>
        <accessLevel>Telephony</accessLevel>
        <action>ALLOW</action>
      </infoTypeAccess>
      <priority>HIGH</priority>
    </tns:presenceSystemRule>
   <!--
	Root Element 'presenceSystemACL' represent collection of System ACL
		(containing 1 or more System ACL).
		System ACL (Access Control List) – are enterprise-wide rules that can allow 
		a watcher to see presence of all users or 	deny a watcher from accessing 
		anyone's presence.  There may be several entries in the list, each entry 
		corresponding to one watcher. System ACL is normally used to provide 
		critical system services with a privileged access to presence of all users.
	---accessLevel:possible values:IM,Telephony
	---action:Action possible values: ALLOW, BLOCK, CONFIRM, PENDING, UNDEFINED
	---watcherLoginName:LoginName of the watcher. This value needs to be specified 
		if watcher is a user.
  -->
	<tns:presenceSystemACL>
      <infoTypeAccess>
        <accessLevel>Telephony</accessLevel>
        <action>BLOCK</action>
      </infoTypeAccess>      
      <watcherLoginName>jmiller@avaya.com</watcherLoginName>
    </tns:presenceSystemACL>
  <!--
	Root Element 'publicContact' represent collection of public contacts 
		(containing 1 or more public contacts).A personal contact is owned by an 
		individual user and is not accessible to all users. A public contact can 
		be shared by all users and is owned by the default system user.
	---company:The organization that the contact belongs to.
	---description: A free text field containing human readable text providing 
		information on this entry.
	---displayName:The localized name of a contact to be used when displaying. 
		It will typically be the localized full name. This value may be provisioned 
		from the user’s enterprise directory entry. If it does not exist, 
		synchronization rules can be used to populate it for other fields 
		e.g. Surname, GivenName, or LoginName.
	---displayNameAscii:The full text name of the contact represented in ASCII. It is 
		used to support display (e.g. endpoints) that cannot handle localized text. 
	---dn:The distinguished name of the user. The DN is a sequence of relative 
		distinguished names (RDN) connected by commas. An RDN is an attribute with 
		an associated value in the form of attribute=value, normally expressed in a 
		UTF-8 string format. The dn can be used to uniquely identify this record. 
		Note the dn is changeable. 
	---givenName:The first name of the contact.
	---initials:Initials of the contact.
	---middleName:The middle name of the contact.
	---preferredGivenName:The nick name of the contact.
	---preferredLanguage:The individual's preferred written or spoken language. 
		Values will conform to rfc4646 and the reader should refer to rfc4646 for 
		syntax.  
		This format uses the ISO standard Language (ISO-639) and region (ISO-3166) 
		codes In the absence of a value the client’s locale should be used, if no 
		value is set, en-US should be defaulted.
	---source:Free format text field that identifies the entity that created this 
		user record.  The format of this field will be either a IP Address/Port or 
		a name representing an enterprise LDAP or Avaya.
	---sourceUserKey:The key of the user from the source system. If the source is 
		an Enterprise Active Directory server, this value with be the objectGUID.
	---suffix:The text appended to a name e.g. Jr., III.
	---surname:The user's last name, also called the family name. 
	---title:The job function of a person in their organizational context.
		Examples: supervisor, manager.
	---contactAddresses:A table used to store a contact’s address. 
	---addresses:A fully qualified URI for interacting with this contact. 
		Any addresses added to this table should contain a qualifier 
		e.g. sip, sips, tel, mailto. The address should be syntactically valid 
		based on the qualifier. It must be possible to add via the GUI and 
		Interface. The application must do validation.
	-->
    <tns:publicContact>
      <company>ABC</company>
      <description>Company ABC description</description>
      <displayName>John Miller</displayName>
      <displayNameAscii></displayNameAscii>
      <dn>dc=acme,dc=org</dn>
      <givenName>John</givenName>
      <initials>Mr</initials>
      <middleName>M</middleName>
      <preferredGivenName>John</preferredGivenName>
      <preferredLanguage>English</preferredLanguage>
      <source>ldap</source>
      <sourceUserKey>18966</sourceUserKey>
      <suffix>Jr.</suffix>
      <surname>Miller</surname>
      <title>Manager</title>
      <!--
		---type:The value reflecting the type of handle this is. Possible values  
			are “username”, ”e164”, and “privatesubsystem
		---category:The value representing a further qualification to the contact 
			address. Possible values inlcude Office, Home, Mobile.
		---handle:This is the name given to the user to allow communication to be 
			established with the user. It is an alphanumeric value that must comply 
			with the userinfo related portion of a URI as described in rfc2396. 
			However, it is further restricted as ASCII characters with only the “+” 
			prefix to signify this is an E.164 handle and "_" and "." special 
			characters supported.The handle and type together are unique within a 
			specific domain. Note, the handle plus domain can be used to construct 
			a user’s Address of Record.
		---label:A free text description for classifying this contact.
		---altLabel:A free text description for classifying this contact. This is 
			similar to ContactLabel, but it is used to store alternate language 
			representations.
	-->
      <contactAddresses>
        <contact>
          <type>sip</type>
          <category>office</category>
          <handle>sip:jmiller@abc.com</handle>
          <label>Miller</label>
          <altLabel>John</altLabel>
        </contact>
      </contactAddresses>
      <addresses>
    <!--	
		---addressType:The unique text name of the address type. 
			Possible values are:   Home, business.
		---name: The Name property defines the unique label by which the address is 
			known. Default format for user specific address should include user 
			name place address type.
		---building:The name or other designation of a structure.
		---localityName:The name of a locality, such as a city, county or other 
			geographic region. 
		---postalCode:A code used by postal services to route mail to a destination. 
			In the United States this is the zip code.
		---room:Name or designation of a room.
		---stateOrProvince:The full name of a state or province. 
		---country:A country.
		---street:The physical address of the object such as an address for package 
			delivery
		---postalAddress:A free formed text area for the complete physical delivery 
			address. It may be used in place of the specific fields in this table.
	-->
        <address>
          <addressType>office</addressType>
          <name>John Miller</name>
          <building>building A</building>
          <localityName>Magarpatta</localityName>
          <postalCode>411048</postalCode>
          <room>room 123</room>
          <stateOrProvince>MH</stateOrProvince>
          <country>India</country>
          <street>Hadapsar</street>               
          <private>false</private>
        </address>
      </addresses>
    </tns:publicContact>
    <!--
		---addressType:The unique text name of the address type. 
			Possible values are:   Home, business.
		---name: The Name property defines the unique label by which the address is 
			known. Default format for user specific address should include user 
			name place address type.
		---building:The name or other designation of a structure.
		---localityName:The name of a locality, such as a city, county or other 
			geographic region. 
		---postalCode:A code used by postal services to route mail to a 
			destination. In the United States this is the zip code.
		---room:Name or designation of a room.
		---stateOrProvince:The full name of a state or province. 
		---country:A country.
		---street:The physical address of the object such as an address for package 
			delivery
		---postalAddress:A free formed text area for the complete physical delivery 
			address. It may be used in place of the specific fields in this table.
		---readOnly:A boolean indicator showing whether or not the address can be 
			changed from its default value.
	-->  
  <tns:sharedAddress>
      <addressType>office</addressType>
      <name>Avaya Pune</name>
        <building>building A</building>
         <localityName>Magarpatta</localityName>
         <postalCode>411048</postalCode>
        <room>room 123</room>
        <stateOrProvince>MH</stateOrProvince>
         <country>India</country>
         <street>Hadapsar</street>  
         <readOnly>true</readOnly>
    </tns:sharedAddress>


</tns:globalSettings>

XML Schema Definition for bulk deletion of global setting records

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:tns="http://xml.avaya.com/schema/bulkdelete" targetNamespace="http://xml.avaya.com/schema/bulkdelete" 
			elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
			
	
	<xs:element name="sharedAddress" type="tns:xmlDeleteSharedAddress"/>
	<xs:element name="publicContact" type="tns:xmlDeletePublicContact" />
	<xs:element name="presenceEnforcedUserACL" type="tns:xmlDeletePresEnforcedUserACLEntry"/>
	<xs:element name="presenceSystemRule" type="tns:xmlDeletePresSystemRule"/>
	<xs:element name="presenceSystemACL" type="tns:xmlDeletePresSystemACLEntry"/>
	
	 
	<xs:element name="deleteGlobalSettings">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="sharedAddress" type="tns:xmlDeleteSharedAddress" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="publicContact" type="tns:xmlDeletePublicContact" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="presenceEnforcedUserACL" type="tns:xmlDeletePresEnforcedUserACLEntry" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="presenceSystemRule" type="tns:xmlDeletePresSystemRule" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="presenceSystemACL" type="tns:xmlDeletePresSystemACLEntry" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
   </xs:element>
   
   <xs:complexType name="xmlDeleteSharedAddress">
		<xs:sequence>
			<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>	
	
	<xs:complexType name="xmlDeletePublicContact">
		<xs:sequence>
			<xs:element name="displayName" type="xs:string" maxOccurs="1" minOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="xmlDeletePresEnforcedUserACLEntry">
		<xs:sequence>
			<xs:element name="userName" type="xs:string" maxOccurs="1" minOccurs="1"/>
			<xs:choice>
				<xs:element name="watcherLoginName" type="xs:string" minOccurs="0"/>
				<xs:element name="watcherDisplayName" type="xs:string" minOccurs="0"/>
			</xs:choice>
			<xs:element name="priority" type="xs:string" maxOccurs="1" minOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="xmlDeletePresSystemRule">
		<xs:sequence>
					<xs:element name="priority" type="xs:string" maxOccurs="1" minOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="xmlDeletePresSystemACLEntry">
		<xs:sequence>
			<xs:choice>
				<xs:element name="watcherLoginName" type="xs:string" minOccurs="0"/>
				<xs:element name="watcherDisplayName" type="xs:string" minOccurs="0"/>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	
</xs:schema>

Sample XML for bulk deletion of global setting records

<?xml version="1.0" encoding="UTF-8"?>
<tns:deleteGlobalSettings xmlns:tns="http://xml.avaya.com/schema/bulkdelete" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.avaya.com/schema/bulkdelete systemPresence_delete.xsd ">

 	<tns:presenceSystemRule>
    	<tns:priority>LOW</tns:priority>
    </tns:presenceSystemRule>
    
  	<tns:sharedAddress>
    	<tns:name>Avaya Pune</tns:name>
  	</tns:sharedAddress>
  	
  	<tns:publicContact>
    	<tns:displayName>John Miller</tns:displayName>
  	</tns:publicContact>
    
  	<tns:presenceEnforcedUserACL>
	    <tns:userName>jmiller@avaya.com</tns:userName>
	    <tns:watcherDisplayName>John Miller</tns:watcherDisplayName>
	    <tns:priority>HIGH</tns:priority>
  	</tns:presenceEnforcedUserACL>
  
  	<tns:presenceSystemACL>
   		<tns:watcherDisplayName>John Miller</tns:watcherDisplayName>
  	</tns:presenceSystemACL> 
  	
</tns:deleteGlobalSettings>