7 Appendix B: Full Location Profile Format
Following is the full XML schema for the full location profile:
-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2007/03/LocationProfileDescription" targetNamespace="http://schemas.microsoft.com/2007/03/LocationProfileDescription"> <xsd:annotation> <xsd:documentation xml:lang="en"> Service Request for Location Profile Schema Microsoft Unified Communications Group </xsd:documentation> </xsd:annotation> <xsd:element name="LocationProfileDescription" type="LocationProfileDescriptionType"/> <xsd:element name="Name" type="xsd:string"/> <xsd:element name="ExternalAccessPrefix" type="xsd:string"/> <xsd:element name="OptimizeDeviceDialing" type="xsd:boolean"/> <xsd:complexType name="RuleType"> <xsd:sequence> <xsd:element name="Pattern" type="xsd:string"/> <xsd:element name="Translation" type="xsd:string"/> <xsd:element name="InternalEnterpriseExtension" type="xsd:boolean" minOccurs="0"/> <xsd:element name="ApplicableForDeviceDialing" type="xsd:boolean" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="LocationProfileDescriptionType"> <xsd:sequence> <xsd:element ref="Name" minOccurs="1" maxOccurs="1"/> <xsd:element name="Rule" type="RuleType" minOccurs="1" maxOccurs="unbounded"/> <xsd:element ref="ExternalAccessPrefix" minOccurs="0" maxOccurs="0"/> <xsd:element ref="OptimizeDeviceDialing" minOccurs="0" maxOccurs="0"/> </xsd:sequence> </xsd:complexType> </xsd:schema>