<?xml version="1.0" encoding="UTF-8"?>
<!--
   XML data type definitions for the RESTful Network API for Presence 
   Version: 1.0 (1.0)
   Date: 12 Feb 2013 
   
   FILE INFORMATION 
   
      OMA Permanent Document 
        File: OMA-SUP-XSD_rest_netapi_presence-V1_0-20130212-C.xsd 
        Type: Text - Schema Description
   
      Public Reachable Information 
        Path: http://www.openmobilealliance.org/tech/profiles 
        Name: rest_netapi_presence-v1_0.xsd 
   
   NORMATIVE INFORMATION
   
      Information about this file can be found in the latest revision of the specification
   
         OMA-TS-REST_NetAPI_Presence-V1_0 
   
         This is available at http://www.openmobilealliance.org/
   
         Send comments to technical-comments@mail.openmobilealliance.org
   
   CHANGE HISTORY 
   20110510 File created, based on OMA-SUP-XSD_rest_presence-V1_0-20110111-C, 
            see contribution OMA-ARC-2011-0191-INP_Presence_baseline_changes_XSD
   20110615 Implemented CR, OMA-ARC-REST-NetAPI-2011-0062-CR_Fixing_Sphere_AttributeValue_for_Presence_XSD,
            and aligned with XSD template as per OMA-ARC-REST-NetAPI-2011-0022-INP_XSD_Template_application  
   20110725 Implemented OMA-ARC-REST-NetAPI-2011-0166-CR_LW_resource_keys_as_elements_Presence_NetAPI_XSD_mirror_of_REST_M_0019
   20110901 Updated resouceURL minOccurs according to OMA-ARC-REST-NetAPI-2011-0212-CR_Presence_resourceURL_xsd_changes
   20111123 "Watchers" instead of "Watcher", as per OMA-ARC-REST-NetAPI-2011-0408-CR_Presence_XSD_alignment_with_TS_changes 
   20120213 Implemented CONR comments, as per OMA-ARC-REST-NetAPI-2012-0045-CR_Presence_XSD_CONR_comments_resolution         
   20120222 Updated enumeration types, as per OMA-ARC-REST-NetAPI-2012-0067R01-CR_Presence_XSD_enumeration_alignments
   20120313 Status changed to Candidate by TP, TP Ref # OMA-TP-2012-0108-INP_REST_NetAPI_Presence_1_0_ERP_and_ETR_for_Candidate_Approval
   20120719 Incorporated OMA-ARC-REST-NetAPI-2012-0175-CR_Presence_XSD_callbackData_and_Politely_block_fixes
   20130212 Status changed to Candidate by TP,TP Ref # OMA-TP-2013-0048-INP_REST_NetAPI_Presence_V1_0_Candidate_ERP_for_Notification

   LEGAL DISCLAIMER
   
   Use of this document is subject to all of the terms and conditions
   of the Use Agreement located at
   http://www.openmobilealliance.org/UseAgreement.html,
   provided, however, that section (d) under "Documents - Terms 
   of Use" which states, "no modifications are made to such 
   Documents" does not apply to your use.
   
   The Open Mobile Alliance authorizes you to copy this document, 
   provided that you retain all copyright and other proprietary  
   notices contained in the original materials on any copies of the 
   materials and  that you comply strictly with these terms. This 
   copyright permission does not constitute an endorsement of the 
   products or services. The Open Mobile Alliance assumes no 
   responsibility for errors or omissions in this document.
   
   
   Each Open Mobile Alliance member has agreed to use reasonable
   endeavors to inform the Open Mobile Alliance in a timely manner of
   Essential IPR as it becomes aware that the Essential IPR is related
   to the prepared or published specification.  However, the members
   do not have an obligation to conduct IPR searches.  The declared
   Essential IPR is publicly available to members and non-members of
   the Open Mobile Alliance and may be found on the "OMA IPR
   Declarations" list at http://www.openmobilealliance.org/ipr.html.
   The Open Mobile Alliance has not conducted an independent IPR review
   of this document and the information contained herein, and makes no
   representations or warranties regarding third party IPR, including
   without limitation patents, copyrights or trade secret rights.  This
   document may contain inventions for which you must obtain licenses
   from third parties before making, using or selling the inventions.
   Defined terms above are set forth in the schedule to the Open Mobile
   Alliance Application Form.
   
   NO REPRESENTATIONS OR WARRANTIES (WHETHER EXPRESS OR IMPLIED) ARE
   MADE BY THE OPEN MOBILE ALLIANCE OR ANY OPEN MOBILE ALLIANCE MEMBER
   OR ITS AFFILIATES REGARDING ANY OF THE IPR'S REPRESENTED ON THE "OMA
   IPR DECLARATIONS" LIST, INCLUDING, BUT NOT LIMITED TO THE ACCURACY,
   COMPLETENESS, VALIDITY OR RELEVANCE OF THE INFORMATION OR WHETHER OR
   NOT SUCH RIGHTS ARE ESSENTIAL OR NON-ESSENTIAL.
   
   THE OPEN MOBILE ALLIANCE IS NOT LIABLE FOR AND HEREBY DISCLAIMS ANY
   DIRECT, INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR
   EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF
   DOCUMENTS AND THE INFORMATION CONTAINED IN THE DOCUMENTS.
   
   Copyright 2013 Open Mobile Alliance Ltd.  All Rights Reserved.
   Used with the permission of the Open Mobile Alliance Ltd. under the
   terms set forth above.
-->
   
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:common="urn:oma:xml:rest:netapi:common:1"
  xmlns="urn:oma:xml:rest:netapi:presence:1"
  targetNamespace="urn:oma:xml:rest:netapi:presence:1" version="1.0">
   
 <xsd:annotation>
    <xsd:documentation>This schema defines the XML data types for the RESTful Network API for Presence</xsd:documentation>
 </xsd:annotation>
   
 <xsd:import namespace="urn:oma:xml:rest:netapi:common:1"
      schemaLocation="http://www.openmobilealliance.org/tech/profiles/rest_netapi_common-v1_0.xsd"/>

 <xsd:complexType name="PresenceSourceList">
  	<xsd:sequence>
  		<xsd:element name="presenceSource" type="PresenceSource" maxOccurs="unbounded" minOccurs="0"/>
  		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>	
  	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceSourceList" type="PresenceSourceList"/>
   
 <xsd:complexType name="PresenceSource">
  	<xsd:sequence>
  		<xsd:element name="clientCorrelator" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="applicationTag" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="duration" type="xsd:int" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="presence" type="Presence" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
  	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceSource" type="PresenceSource"/>
   
 <xsd:complexType name="Presence">
 	<xsd:sequence>
 		<xsd:element name="person" type="PersonAttributes" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="service" type="ServiceAttributes" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="device" type="DeviceAttributes" maxOccurs="unbounded" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="PersonAttributes">
 	<xsd:sequence>
 		<xsd:element name="activities" type="Activities" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="placeType" type="PlaceType" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="privacy" type="Privacy" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="sphere" type="Sphere" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="mood" type="Mood" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="placeIs" type="PlaceIs" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="timeOffset" type="TimeOffset" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="statusIcon" type="StatusIcon" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="class" type="xsd:token" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="noteList" type="NoteList" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="location" type="Location" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="overridingWillingness" type="OverridingWillingness" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="linkList" type="LinkList" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="card" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="displayName" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="homePage" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="icon" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="map" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="sound" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="timeStamp" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>	
 		<xsd:element name="extended" type="ExtendedList" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="ServiceAttributes">
 	<xsd:sequence>
		<xsd:element name="serviceId" type="xsd:token" minOccurs="1" maxOccurs="1" />
		<xsd:element name="version" type="xsd:token" minOccurs="1" maxOccurs="1" />
		<xsd:element name="statusIcon" type="StatusIcon" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="class" type="xsd:token" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="displayName" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="homePage" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="icon" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="map" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="sound" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="linkList" type="LinkList" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="serviceAvailability" type="OpenOrClosed" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="serviceWillingness" type="OpenOrClosed" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="contact" type="Contact" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="sessionParticipation" type="OpenOrClosed" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="registrationState" type="ActiveOrTerminated" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="barringState" type="ActiveOrTerminated" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="sessionAnswerMode" type="AutomaticOrManual" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="devices" type="DeviceIdentityList" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="timeStamp" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>	
 		<xsd:element name="extended" type="ExtendedList" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="DeviceAttributes">
 	<xsd:sequence>
 		<xsd:element name="deviceId" type="xsd:anyURI" minOccurs="1" maxOccurs="1" />
 		<xsd:element name="class" type="xsd:token" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="location" type="Location" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="networkAvailability" type="NetworkAvailability" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="timeStamp" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>	
 		<xsd:element name="extended" type="ExtendedList" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="ContentList">
 	<xsd:sequence>
 		<xsd:element name="content" type="ContentData" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="contentList" type="ContentList"/>
   
 <xsd:complexType name="ContentData">
   <xsd:sequence>
      <xsd:element name="link" type="common:Link" maxOccurs="1" minOccurs="1"/>
      <xsd:element name="contentType" type="xsd:string" maxOccurs="1" minOccurs="0"/>
      <xsd:element name="eTag" type="xsd:string" maxOccurs="1" minOccurs="0"/>
      <xsd:element name="fSize" type="xsd:int" maxOccurs="1" minOccurs="0"/>
      <xsd:element name="resolution" type="xsd:string" maxOccurs="1" minOccurs="0"/>
   </xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="WatcherList">
  	<xsd:sequence>
 		<xsd:element name="watcher" type="Watcher" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="watcherList" type="WatcherList"/>
   
 <xsd:complexType name="Watcher">
  	<xsd:sequence>
 		<xsd:element name="watcherUserId" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="displayName" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceStatus" type="ResourceStatus" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="subscribedAttribute" type="xsd:anyURI" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="watcher" type="Watcher"/>
   
 <xsd:complexType name="RuleList">
   	<xsd:sequence>
 		<xsd:element name="rule" type="Rule" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="ruleList" type="RuleList"/>
   
 <xsd:complexType name="Rule">
 	<xsd:sequence>
		<xsd:element name="ruleName" type="xsd:ID" minOccurs="1" maxOccurs="1" />
		<xsd:choice>
 			<xsd:element name="watcherUserId" type="xsd:anyURI" maxOccurs="unbounded" minOccurs="1"/>
 			<xsd:element name="memberListId" type="xsd:string" maxOccurs="unbounded" minOccurs="1"/>
 			<xsd:element name="domainName" type="xsd:string" maxOccurs="unbounded" minOccurs="1"/>
 			<xsd:element name="anonymous" type="EmptyType"/>
 			<xsd:element name="otherUser" type="EmptyType"/>
 		</xsd:choice>
 		<xsd:element name="decision" type="DefaultDecisionValue"/>
 		<xsd:element name="presenceFilter" type="xsd:anyURI" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="rule" type="Rule"/>
   
 <xsd:complexType name="PresenceList">
  	<xsd:sequence>
 		<xsd:element name="presenceContact" type="PresenceContact" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceList" type="PresenceList"/>
   
 <xsd:complexType name="PresenceContact">
   	<xsd:sequence>
   		<xsd:element name="presentityUserId" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="resourceStatus" type="ResourceStatus" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="presence" type="Presence" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceContact" type="PresenceContact"/>
   
 <xsd:complexType name="SubscriptionList">
 	<xsd:sequence>
 		<xsd:element name="presenceSubscriptionList" type="PresenceSubscriptionList" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="presenceListSubscriptionCollection" type="PresenceListSubscriptionCollection" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="watchersSubscriptionList" type="WatchersSubscriptionList" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="subscriptionList" type="SubscriptionList"/>
   
 <xsd:complexType name="WatchersSubscriptionList">
  	<xsd:sequence>
 		<xsd:element name="watchersSubscription" type="WatchersSubscription" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="watchersSubscriptionList" type="WatchersSubscriptionList"/>
   
 <xsd:complexType name="WatchersSubscription">
    <xsd:sequence>
   		<xsd:element name="presentityUserId" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="callbackReference" type="common:CallbackReference" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="clientCorrelator" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="applicationTag" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="duration" type="xsd:int" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceStatusFilter" type="ResourceStatus" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="frequency" type="xsd:int" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="watchersSubscription" type="WatchersSubscription"/>
   
 <xsd:complexType name="WatchersNotification">
    <xsd:sequence>
   		<xsd:element name="presentityUserId" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="callbackData" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceStatus" type="ResourceStatus" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="watcherList" type="WatcherList" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="link" type="common:Link" maxOccurs="unbounded" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="watchersNotification" type="WatchersNotification"/>
   
 <xsd:complexType name="PresenceSubscriptionList">
  	<xsd:sequence>
 	   <xsd:element name="presenceSubscription" type="PresenceSubscription" maxOccurs="unbounded" minOccurs="0"/>
 	   <xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceSubscriptionList" type="PresenceSubscriptionList"/>
   
 <xsd:complexType name="PresenceSubscription">
    <xsd:sequence>
        <xsd:element name="presentityUserId" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
     	<xsd:element name="callbackReference" type="common:CallbackReference" maxOccurs="1" minOccurs="1"/>
     	<xsd:element name="clientCorrelator" type="xsd:string" maxOccurs="1" minOccurs="0"/>
     	<xsd:element name="applicationTag" type="xsd:string" maxOccurs="1" minOccurs="0"/>
        <xsd:element name="anonymous" type="EmptyType" maxOccurs="1" minOccurs="0"/>
     	<xsd:element name="duration" type="xsd:int" maxOccurs="1" minOccurs="0"/>
     	<xsd:element name="presenceFilter" type="xsd:anyURI" maxOccurs="unbounded" minOccurs="0"/>
     	<xsd:element name="frequency" type="xsd:int" maxOccurs="1" minOccurs="0"/>
     	<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
    </xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceSubscription" type="PresenceSubscription"/>
   
 <xsd:complexType name="PresenceNotification">
    <xsd:sequence>
   		<xsd:element name="presentityUserId" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="callbackData" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceStatus" type="ResourceStatus" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="presence" type="Presence" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="link" type="common:Link" maxOccurs="unbounded" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceNotification" type="PresenceNotification"/>
   
 <xsd:complexType name="PresenceListSubscriptionCollection">
  	<xsd:sequence>
 		<xsd:element name="presenceListSubscription" type="PresenceListSubscription" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceListSubscriptionCollection" type="PresenceListSubscriptionCollection"/>
   
 <xsd:complexType name="PresenceListSubscription">
    <xsd:sequence>
   		<xsd:element name="presenceListId" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="callbackReference" type="common:CallbackReference" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="clientCorrelator" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="applicationTag" type="xsd:string" maxOccurs="1" minOccurs="0"/>
        <xsd:element name="anonymous" type="EmptyType" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="duration" type="xsd:int" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="presenceFilter" type="xsd:anyURI" maxOccurs="unbounded" minOccurs="0"/>
 		<xsd:element name="frequency" type="xsd:int" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceURL" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="EmptyType"/>
   
 <xsd:element name="presenceListSubscription" type="PresenceListSubscription"/>
   
 <xsd:complexType name="PresenceListNotification">
    <xsd:sequence>
   		<xsd:element name="presenceListId" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="callbackData" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="resourceStatus" type="ResourceStatus" maxOccurs="1" minOccurs="1"/>
 		<xsd:element name="presenceList" type="PresenceList" maxOccurs="1" minOccurs="0"/>
 		<xsd:element name="link" type="common:Link" maxOccurs="unbounded" minOccurs="0"/>
    </xsd:sequence>
 </xsd:complexType>
   
 <xsd:element name="presenceListNotification" type="PresenceListNotification"/>
   
 <xsd:complexType name="Activities">
     <xsd:sequence>
 		<xsd:element name="activityValue" type="ActivityValue" maxOccurs="unbounded" minOccurs="1"/>
  		<xsd:element name="note" type="common:LanguageString" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="other" type="xsd:string" maxOccurs="1" minOccurs="0"/>
        <xsd:element name="from" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="until" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="PlaceType">
     <xsd:sequence>
 		<xsd:element name="placeTypeValue" type="PlaceTypeValue" maxOccurs="unbounded" minOccurs="1"/>
  		<xsd:element name="note" type="common:LanguageString" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="other" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="until" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="Privacy">
    <xsd:sequence>
 		<xsd:element name="privacyValue" type="PrivacyValue" maxOccurs="unbounded" minOccurs="1"/>
  		<xsd:element name="note" type="common:LanguageString" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="Sphere">
    <xsd:sequence>
 		<xsd:element name="sphereValue" type="SphereValue" maxOccurs="1" minOccurs="1"/>
  		<xsd:any namespace="##other" processContents="lax" maxOccurs="1" minOccurs="0"/>
    </xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="Mood">
    <xsd:sequence>
 		<xsd:element name="moodValue" type="MoodValue" maxOccurs="unbounded" minOccurs="1"/>
  		<xsd:element name="note" type="common:LanguageString" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="other" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="until" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="PlaceIs">
    <xsd:sequence>
  		<xsd:element name="placeIsAudio" type="PlaceIsAudio" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="placeIsVideo" type="PlaceIsVideo" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="placeIsText" type="PlaceIsText" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="TimeOffset">
    <xsd:sequence>
  		<xsd:element name="timeOffset" type="xsd:int" maxOccurs="1" minOccurs="1"/>
  		<xsd:element name="until" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="StatusIcon">
    <xsd:sequence>
 		<xsd:element name="statusIconAddress" type="xsd:anyURI" maxOccurs="1" minOccurs="1"/>
  		<xsd:element name="contentType" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="eTag" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="fSize" type="xsd:int" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="resolution" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="until" type="xsd:dateTime" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="NoteList">
    <xsd:sequence>
  		<xsd:element name="note" type="common:LanguageString" maxOccurs="unbounded" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="Location">
 	<xsd:sequence>
 	   <xsd:choice>
 		  <xsd:element name="circle" type="CircleData" maxOccurs="1" minOccurs="1"/>
 		  <xsd:element name="civicAddress" type="CivicAddress" maxOccurs="1" minOccurs="1"/>
 	   </xsd:choice>
 	   <xsd:element name="retentionExpiry" type="xsd:dateTime" maxOccurs="1" minOccurs="1"/>
    </xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="CircleData">
    <xsd:sequence>
  		<xsd:element name="latitude" type="xsd:float" maxOccurs="1" minOccurs="1"/>
  		<xsd:element name="longitude" type="xsd:float" maxOccurs="1" minOccurs="1"/>
  		<xsd:element name="radius" type="xsd:float" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="CivicAddress">
    <xsd:sequence>
  		<xsd:element name="country" type="xsd:token" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="A1" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="A2" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="A3" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="A4" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="A5" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="A6" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="PRM" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="PRD" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="RD" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="STS" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="POD" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="POM" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="RDSEC" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="RDBR" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="RDSUBBR" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="HNO" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="HNS" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="LMK" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="LOC" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="FLR" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="NAM" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="PC" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="BLD" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="UNIT" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="ROOM" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="SEAT" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="PLC" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="PCN" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="POBOX" type="xsd:string" maxOccurs="1" minOccurs="0"/>
  		<xsd:element name="ADDCODE" type="xsd:string" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="OverridingWillingness">
    <xsd:sequence>
  		<xsd:element name="overridingWillingnessValue" type="OpenOrClosed" maxOccurs="1" minOccurs="1"/>
  	</xsd:sequence>
    <xsd:attribute name="until" type="xsd:dateTime" use="optional"/>
 </xsd:complexType>
   
 <xsd:complexType name="LinkList">
    <xsd:sequence>
        <xsd:element name="link" maxOccurs="unbounded" minOccurs="0">
          <xsd:complexType>
            <xsd:simpleContent>
            <xsd:extension base="xsd:anyURI">
              <xsd:attribute name="label" type="xsd:string" use="optional"/>
              <xsd:attribute name="priority" type="xsd:decimal" use="optional"/>
              <xsd:attribute name="contentType" type="xsd:string" use="optional"/>
              <xsd:attribute name="rel" type="xsd:string" use="optional"/>
              <xsd:attribute name="eTag" type="xsd:string" use="optional"/>
              <xsd:attribute name="fSize" type="xsd:int" use="optional"/>
              <xsd:attribute name="resolution" type="xsd:string" use="optional"/>
              <xsd:anyAttribute processContents="lax"/>
            </xsd:extension>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>
    </xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="Contact">
 	<xsd:sequence>
 		<xsd:element name="contactAddress" type="xsd:anyURI" maxOccurs="1" minOccurs="0"/>
 	</xsd:sequence>
 	<xsd:attribute name="priority" type="xsd:decimal" use="optional"/>
 </xsd:complexType>
   
 <xsd:complexType name="DeviceIdentityList">
    <xsd:sequence>
  	   <xsd:element name="deviceId" type="xsd:anyURI" maxOccurs="unbounded" minOccurs="1"/>
 	</xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="NetworkAvailability">
    <xsd:sequence>
       <xsd:element name="network" type="Network" maxOccurs="unbounded" minOccurs="0"/>
    </xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="Network">
    <xsd:sequence>
       <xsd:element name="connectionStatus" type="ActiveOrTerminated" maxOccurs="1" minOccurs="1"/>
       <xsd:element name="networkMode" type="HomeOrVisited" maxOccurs="1" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="id" type="xsd:token" use="required"/>
 </xsd:complexType>
   
 <xsd:complexType name="ExtendedList">
    <xsd:sequence>
        <xsd:element name="attribute" type="AttributeValue" maxOccurs="unbounded" minOccurs="1"/>
    </xsd:sequence>
 </xsd:complexType>
   
 <xsd:complexType name="AttributeValue">
    <xsd:sequence>
       <xsd:element name="name" type="xsd:string" maxOccurs="1" minOccurs="1"/>
       <xsd:choice  maxOccurs="1" minOccurs="0">
          <xsd:element name="value" type="xsd:string" />
          <xsd:any namespace="##other" processContents="lax" />
       </xsd:choice>
     </xsd:sequence>
 </xsd:complexType>
   
 <!--Following are simple type definitions - enumerations -->
   
 <xsd:simpleType name="ResourceStatus">
    <xsd:restriction base="xsd:string">
        <xsd:enumeration value="Active"/>
        <xsd:enumeration value="Pending"/>
        <xsd:enumeration value="TerminatedBlocked"/>
        <xsd:enumeration value="TerminatedTimeout"/>
        <xsd:enumeration value="TerminatedNoResource"/>
        <xsd:enumeration value="TerminatedOther"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="DefaultDecisionValue">
    <xsd:restriction base="xsd:string">
        <xsd:enumeration value="Allow"/>
        <xsd:enumeration value="Block"/>
        <xsd:enumeration value="PolitelyBlock"/>
        <xsd:enumeration value="Confirm"/>
    </xsd:restriction>
 </xsd:simpleType> 
   
 <xsd:simpleType name="ActivityValue">
   <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Appointment"/>
      <xsd:enumeration value="Available"/>
      <xsd:enumeration value="Busy"/>
      <xsd:enumeration value="OnThePhone"/>
      <xsd:enumeration value="Steering"/>
      <xsd:enumeration value="Meeting"/>
      <xsd:enumeration value="Away"/>
      <xsd:enumeration value="Meal"/>
      <xsd:enumeration value="Breakfast"/>
      <xsd:enumeration value="Lunch"/>
      <xsd:enumeration value="Dinner"/>
      <xsd:enumeration value="PermanentAbsence"/>
      <xsd:enumeration value="Vacation"/>
      <xsd:enumeration value="Holiday"/>
      <xsd:enumeration value="Performance"/>
      <xsd:enumeration value="InTransit"/>
      <xsd:enumeration value="Travel"/>
      <xsd:enumeration value="Sleeping"/>
      <xsd:enumeration value="LookingForWork"/>
      <xsd:enumeration value="Playing"/>
      <xsd:enumeration value="Presentation"/>
      <xsd:enumeration value="Shopping"/>
      <xsd:enumeration value="Spectator"/>
      <xsd:enumeration value="TV"/>
      <xsd:enumeration value="Working"/>
      <xsd:enumeration value="Worship"/>
      <xsd:enumeration value="ActivitiesUnknown"/>
      <xsd:enumeration value="ActivitiesOther"/>
    </xsd:restriction>
  </xsd:simpleType>
   
 <xsd:simpleType name="PlaceTypeValue">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Arena"/>
      <xsd:enumeration value="Home"/>
      <xsd:enumeration value="Office"/>
      <xsd:enumeration value="PublicTransport"/>
      <xsd:enumeration value="Street"/>
      <xsd:enumeration value="PublicPlace"/>
      <xsd:enumeration value="Hotel"/>
      <xsd:enumeration value="Theatre"/>
      <xsd:enumeration value="Restaurant"/>
      <xsd:enumeration value="School"/>
      <xsd:enumeration value="Industrial"/>
      <xsd:enumeration value="Quiet"/>
      <xsd:enumeration value="Noisy"/>
      <xsd:enumeration value="Aircraft"/>
      <xsd:enumeration value="Watercraft"/>
      <xsd:enumeration value="Automobile"/>
      <xsd:enumeration value="Bus"/>
      <xsd:enumeration value="BusStation"/>
      <xsd:enumeration value="TrainStation"/>
      <xsd:enumeration value="ShoppingArea"/>
      <xsd:enumeration value="Airport"/>
      <xsd:enumeration value="Train"/>
      <xsd:enumeration value="Bank"/>
      <xsd:enumeration value="Bar"/>
      <xsd:enumeration value="Bicycle"/>
      <xsd:enumeration value="Cafe"/>
      <xsd:enumeration value="Classroom"/>
      <xsd:enumeration value="Club"/>
      <xsd:enumeration value="Construction"/>
      <xsd:enumeration value="ConventionCenter"/>
      <xsd:enumeration value="Government"/>
      <xsd:enumeration value="Hospital"/>
      <xsd:enumeration value="Library"/>
      <xsd:enumeration value="Motorcycle"/>
      <xsd:enumeration value="Outdoors"/>
      <xsd:enumeration value="Parking"/>
      <xsd:enumeration value="PlaceOfWorship"/>
      <xsd:enumeration value="Prison"/>
      <xsd:enumeration value="Residence"/>
      <xsd:enumeration value="Stadium"/>
      <xsd:enumeration value="Store"/>
      <xsd:enumeration value="Truck"/>
      <xsd:enumeration value="Underway"/>
      <xsd:enumeration value="Warehouse"/>
      <xsd:enumeration value="Water"/>
      <xsd:enumeration value="PlaceOther"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="PrivacyValue">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Audio"/>
      <xsd:enumeration value="Text"/>
      <xsd:enumeration value="Video"/>
      <xsd:enumeration value="Other"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="SphereValue">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Work"/>
      <xsd:enumeration value="Home"/>
      <xsd:enumeration value="Unknown"/>
      <xsd:enumeration value="Other"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="MoodValue">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Afraid"/>
      <xsd:enumeration value="Amazed"/>
      <xsd:enumeration value="Angry"/>
      <xsd:enumeration value="Annoyed"/>
      <xsd:enumeration value="Anxious"/>
      <xsd:enumeration value="Ashamed"/>
      <xsd:enumeration value="Bored"/>
      <xsd:enumeration value="Brave"/>
      <xsd:enumeration value="Calm"/>
      <xsd:enumeration value="Cold"/>
      <xsd:enumeration value="Confused"/>
      <xsd:enumeration value="Contented"/>
      <xsd:enumeration value="Cranky"/>
      <xsd:enumeration value="Curious"/>
      <xsd:enumeration value="Depressed"/>
      <xsd:enumeration value="Disappointed"/>
      <xsd:enumeration value="Disgusted"/>
      <xsd:enumeration value="Distracted"/>
      <xsd:enumeration value="Embarrassed"/>
      <xsd:enumeration value="Excited"/>
      <xsd:enumeration value="Flirtatious"/>
      <xsd:enumeration value="Frustrated"/>
      <xsd:enumeration value="Grumpy"/>
      <xsd:enumeration value="Guilty"/>
      <xsd:enumeration value="Happy"/>
      <xsd:enumeration value="Hot"/>
      <xsd:enumeration value="Humbled"/>
      <xsd:enumeration value="Humiliated"/>
      <xsd:enumeration value="Hungry"/>
      <xsd:enumeration value="Hurt"/>
      <xsd:enumeration value="Impressed"/>
      <xsd:enumeration value="InAwe"/>
      <xsd:enumeration value="InLove"/>
      <xsd:enumeration value="Indignant"/>
      <xsd:enumeration value="Interested"/>
      <xsd:enumeration value="Invincible"/>
      <xsd:enumeration value="Jealous"/>
      <xsd:enumeration value="Lonely"/>
      <xsd:enumeration value="Mean"/>
      <xsd:enumeration value="MoodUnknown"/>
      <xsd:enumeration value="Moody"/>
      <xsd:enumeration value="Nervous"/>
      <xsd:enumeration value="Neutral"/>
      <xsd:enumeration value="Offended"/>
      <xsd:enumeration value="Playful"/>
      <xsd:enumeration value="Proud"/>
      <xsd:enumeration value="Relieved"/>
      <xsd:enumeration value="Remorseful"/>
      <xsd:enumeration value="Restless"/>
      <xsd:enumeration value="Sad"/>
      <xsd:enumeration value="Sarcastic"/>
      <xsd:enumeration value="Serious"/>
      <xsd:enumeration value="Shocked"/>
      <xsd:enumeration value="Shy"/>
      <xsd:enumeration value="Sick"/>
      <xsd:enumeration value="Sleepy"/>
      <xsd:enumeration value="Stressed"/>
      <xsd:enumeration value="Surprised"/>
      <xsd:enumeration value="Thirsty"/>
      <xsd:enumeration value="Worried"/>
      <xsd:enumeration value="MoodOther"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="PlaceIsAudio">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Noisy"/>
      <xsd:enumeration value="Ok"/>
      <xsd:enumeration value="Quiet"/>
      <xsd:enumeration value="Unknown"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="PlaceIsVideo">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="TooBright"/>
      <xsd:enumeration value="Ok"/>
      <xsd:enumeration value="Dark"/>
      <xsd:enumeration value="Unknown"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="PlaceIsText">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Uncomfortable"/>
      <xsd:enumeration value="Inappropriate"/>
      <xsd:enumeration value="Ok"/>
      <xsd:enumeration value="Unknown"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="OpenOrClosed">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Open"/>
      <xsd:enumeration value="Closed"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="ActiveOrTerminated">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Active"/>
      <xsd:enumeration value="Terminated"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="AutomaticOrManual">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Automatic"/>
      <xsd:enumeration value="Manual"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <xsd:simpleType name="HomeOrVisited">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Home"/>
      <xsd:enumeration value="Visited"/>
    </xsd:restriction>
 </xsd:simpleType>
   
 <!-- Following are definitions for root elements for light-weight resources -->
   
 <xsd:element name="duration" type="xsd:int"/>
 <xsd:element name="person" type="PersonAttributes"/>
 <xsd:element name="service" type="ServiceAttributes"/>
 <xsd:element name="device" type="DeviceAttributes"/>
 <xsd:element name="activities" type="Activities"/>
 <xsd:element name="placeType" type="PlaceType"/>
 <xsd:element name="privacy" type="Privacy"/>
 <xsd:element name="sphere" type="Sphere"/>
 <xsd:element name="mood" type="Mood"/>
 <xsd:element name="placeIs" type="PlaceIs"/>
 <xsd:element name="timeOffset" type="TimeOffset"/>
 <xsd:element name="statusIcon" type="StatusIcon"/>
 <xsd:element name="class" type="xsd:token"/>
 <xsd:element name="noteList" type="NoteList"/>
 <xsd:element name="location" type="Location"/>
 <xsd:element name="overridingWillingness" type="OverridingWillingness"/>
 <xsd:element name="linkList" type="LinkList"/>
 <xsd:element name="card" type="xsd:anyURI"/>
 <xsd:element name="displayName" type="xsd:string"/>
 <xsd:element name="homePage" type="xsd:anyURI"/>
 <xsd:element name="icon" type="xsd:anyURI"/>
 <xsd:element name="map" type="xsd:anyURI"/>
 <xsd:element name="sound" type="xsd:anyURI"/>
 <xsd:element name="timeStamp" type="xsd:dateTime"/>
 <xsd:element name="extended" type="ExtendedList"/>
 <xsd:element name="serviceAvailability" type="OpenOrClosed"/>
 <xsd:element name="serviceWillingness" type="OpenOrClosed"/>
 <xsd:element name="contact" type="Contact"/>
 <xsd:element name="sessionParticipation" type="OpenOrClosed"/>
 <xsd:element name="registrationState" type="ActiveOrTerminated"/>
 <xsd:element name="barringState" type="ActiveOrTerminated"/>
 <xsd:element name="sessionAnswerMode" type="AutomaticOrManual"/>
 <xsd:element name="devices" type="DeviceIdentityList"/>
 <xsd:element name="networkAvailability" type="NetworkAvailability"/>
 <xsd:element name="watcherUserId" type="xsd:anyURI"/>
 <xsd:element name="memberListId" type="xsd:string"/>
 <xsd:element name="domainName" type="xsd:string"/>
   
</xsd:schema>