2.2.2.5.9 Data Model for presencePolicyV2 provisionGroup

The presencePolicyV2 provisionGroup is specified as follows.<134>

provisionGroup (name='presencePolicyV2')
     |
     |-- propertyEntryList
     |   |-- property
     |   |   |-  name

The following XSD schema fragment defines the requirements to which a presencePolicyV2 provisionGroup element XML document MUST conform.

 <?xml version="1.0" encoding="utf-8"?>
 <xs:schema xmlns:tns="http://schemas.microsoft.com/2006/09/sip/provisiongrouplist-notification" targetNamespace="http://schemas.microsoft.com/2006/09/sip/provisiongrouplist-notification" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:element name="provisionGroup" type="tns:provisionGroupType" />
   <xs:complexType name="provisionGroupType">
     <xs:all>
       <xs:element minOccurs="1" maxOccurs="1" name="propertyEntryList" type="tns:propertyEntryListType" />
     </xs:all>
     <xs:attribute fixed="presencePolicyV2" name="name" use="required" />
   </xs:complexType>
   <xs:complexType name="propertyEntryType">
     <xs:simpleContent>
       <xs:extension base="xs:string">
         <xs:attribute name="name" type="xs:string" use="required" />
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
  
   <xs:complexType name="propertyEntryListType">
     <xs:sequence>
       <xs:element name="property" type="tns:propertyEntryType" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:schema>

propertyEntryList: A single propertyEntryList element is specified within the presencePolicyV2 provisionGroup, and lists a set of presence-related settings.

property: A single presence setting. The name attribute specifies the property name. Values are specified in CDATA notation.

The following properties MUST be present.

EnablePrivacyMode: Indicates whether privacy mode is enabled on the server. The value MUST be "true" or "false".

AutoInitiateContacts: Specifies whether the first-run automatic population of the contact list needs to be enabled on the client. The value MUST be "true" or "false".

PublishLocationDataDefault: Specifies whether clients need to publish location data by default. The value MUST be "true" or "false".

DisplayPublishedPhotoDefault: Specifies whether the user’s published photo is displayed by the client by default. The value MUST be "true" or "false".

PersonalNoteHistoryDepth: The maximum number of child note elements stored in the single NoteHistory instance that MAY be published in a container at any given time. The value is an unsigned integer.

SubscribeToCollapsedDG: Specifies whether the client needs to subscribe to presence information of distribution group members when collapsed in the UI.

For a detailed example, see section 4.2.2.