9.2 SetContact Schema

  
 <?xml version="1.0" ?>
 <xs:schema id="SetContact" version="2.0" 
            elementFormDefault="qualified"
  targetNamespace="http://schemas.microsoft.com/sip/types/setcontact/" 
  xmlns:tns="http://schemas.microsoft.com/sip/types/setcontact/" 
  xmlns:ct="http://schemas.microsoft.com/sip/types" 
   xmlns:xs="http://www.w3.org/2001/XMLSchema">
  
   <xs:import namespace="http://schemas.microsoft.com/sip/types" 
              schemaLocation="contact.xsd" />
  
   <xs:annotation>
     <xs:documentation>
       Users can add contacts to their contact list by sending a 
       SIP SERVICE request to their Live Communications Server. 
       The content of this SERVICE request is a SOAP request. The 
       body of the SOAP request contains an XML instance conforming 
       to the structure specified in this schema.
     </xs:documentation>
   </xs:annotation>
  
   <xs:complexType name="SetContact">
     <xs:sequence>
       <xs:element name="displayName" type="ct:contactName" />
       <xs:element name="groups" type="ct:groupList" />
       <xs:element name="subscribed" type="xs:boolean" />
       <xs:element name="URI" type="ct:sipURI" />
       <xs:element name="externalURI" type="ct:externalUri" 
                   minOccurs="0" />
  
       <xs:element name="deltaNum" type="ct:contactDeltaNum" >
         <xs:annotation>
           <xs:documentation>
             This value must match the current delta number 
             stored by the server.
           </xs:documentation>
         </xs:annotation>
       </xs:element>
  
       <xs:element name="contactExtension" type="tns:contactExtension" 
                   minOccurs="0" />
     </xs:sequence>
   </xs:complexType>
  
   <xs:element name="setContact" type="tns:SetContact" />
 </xs:schema>