10 Appendix E: common.xsd

 <?xml version="1.0" ?>
 <xs:schema id="contact" version="2.0"
            targetNamespace="http://schemas.microsoft.com/sip/types"
            xmlns:tns="http://schemas.microsoft.com/sip/types"
            xmlns:xs="http://www.w3.org/2001/XMLSchema">
  
   <xs:simpleType name="adAttribute">
     <xs:restriction base="xs:token">
       <xs:minLength value="1" />
       <xs:pattern value="\w+" />
     </xs:restriction>
   </xs:simpleType>
  
   <xs:simpleType name="sipURI">
     <xs:annotation>
       <xs:documentation>
         The format of a SIP URI is sip:user@host. The user portion
         of the URI is treated as case-sensitive while the host portion
         is treated as case-insensitive.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="xs:anyURI">
       <xs:maxLength value="454" />
       <xs:pattern value="sip:\w+@\w+(\.\w+)+" />
     </xs:restriction>
   </xs:simpleType>
  
   <xs:simpleType name="displayName">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'displayName' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
   <xs:simpleType name="email">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'mail' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
   <xs:simpleType name="phone">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'telephoneNumber' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
   <xs:simpleType name="title">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'title' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
   <xs:simpleType name="office">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'physicalDeliveryOfficeName' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
   <xs:simpleType name="company">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'company' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
   <xs:simpleType name="city">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'l' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
   <xs:simpleType name="state">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'st' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
   <xs:simpleType name="country">
     <xs:annotation>
       <xs:documentation>
         This value is retrieved by the server from the Active Directory
         'c' attribute on the user object.
       </xs:documentation>
     </xs:annotation>
     <xs:restriction base="tns:adAttribute" />
   </xs:simpleType>
  
 </xs:schema>