XML Schema "myPresence.xsd"
Target Namespace:
http://schemas.microsoft.com/hs/2001/10/myPresence
Version:
1.0
Defined Components:
elements (5 global + 9 local), complexTypes (6), simpleTypes (1)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Projects\Microsoft Hailstorm\xsd\myPresence.xsd; see XML source
Imports Schemas (2):
hscommon.xsd [src], myalerts.xsd [src]
Annotation
Schema for Microsoft® .NET Presence service Copyright (c) 2001 Microsoft Corporation. All rights reserved.
All Element Summary
argot (in endpoint)
Collection of argots for this endpoint.
Type:
Content:
complex, 5 attributes, elem. wildcard
Defined:
locally within endpointType complexType; see XML source
ConnectableArgot
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
never
connectionID (in ConnectableArgot)
The ID for one or more connection elements on the user's .NET Alerts that are represented by this endpoint.
Type:
Content:
simple
Defined:
locally within ConnectableArgotType complexType; see XML source
deviceUuid (in endpoint)
Type:
Content:
simple
Defined:
locally within endpointType complexType; see XML source
endpoint (in myPresence)
Collection of endpoints for this user's .NET Presence service.
Type:
Content:
complex, 4 attributes, 3 elements
Defined:
locally within myPresenceType complexType; see XML source
endpointId (in notifyEndpointRequest)
Type:
Content:
simple
Defined:
expiresAt (in endpoint)
Type:
xsd:dateTime
Content:
simple
Defined:
locally within endpointType complexType; see XML source
MessengerArgot
Type:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Used:
never
myPresence
Type:
Content:
complex, 2 attributes, 2 elements
Defined:
globally; see XML source
Used:
never
notification (in notifyEndpointRequest)
Type:
Content:
complex, 1 attribute, 4 elements
Defined:
notifyEndpointRequest
This method takes an endpoint and sends a specified notification to it by means of the endpoint's owner's .NET Alerts.
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
never
PresenceArgot
Type:
Content:
empty, 3 attributes
Defined:
globally; see XML source
Used:
never
statusMessage (in MessengerArgot)
An unrestricted status message reflecting presence.
Type:
Content:
simple
Defined:
locally within MessengerArgotType complexType; see XML source
subscription (in myPresence)
Type:
Content:
complex, 3 attributes, 4 elements
Defined:
locally within myPresenceType complexType; see XML source
Complex Type Summary
This stores an argot for application-specific information about an endpoint, and so is completely free.
Content:
complex, 5 attributes, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, elem. wildcard
Used:
This argot represents the connectability of an endpoint.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
This stores an endpoint, designating a user agent.
Content:
complex, 4 attributes, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 3 elements
Used:
This argot represents an instant messaging client's presence.
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
This element defines the basic myPresence types.
Content:
complex, 2 attributes, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
This argot represent generic presence data about an endpoint.
Content:
empty, 3 attributes
Defined:
globally; see XML source
Includes:
definitions of 3 attributes
Used:
Simple Type Summary
Defined:
globally; see XML source
Used:
XML Source
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/hs/2001/10/myPresence" version="1.0" xmlns="http://schemas.microsoft.com/hs/2001/10/myPresence" xmlns:hs="http://schemas.microsoft.com/hs/2001/10/core" xmlns:ma="http://schemas.microsoft.com/hs/2001/10/myAlerts" xmlns:xdb="urn:schemas-microsoft-com:xdb" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation>
Schema for Microsoft&#174; .NET Presence service
Copyright (c) 2001 Microsoft Corporation. All rights reserved.
</xsd:documentation>
<xsd:appinfo>
<xdb:blue select="/myPresence"/>
<xdb:blue select="/myPresence/*"/>
<xdb:blue select="/myPresence/endpoint/argot"/>
<xdb:red select="//@changeNumber"/>
<xdb:red select="//@id"/>
<xdb:namespaceMap>
<xdb:mapping alias="m" uri="http://schemas.microsoft.com/hs/2001/10/myPresence"/>
<xdb:mapping alias="ma" uri="http://schemas.microsoft.com/hs/2001/10/myAlerts"/>
<xdb:mapping alias="hs" uri="http://schemas.microsoft.com/hs/2001/10/core"/>
</xdb:namespaceMap>
</xsd:appinfo>
</xsd:annotation>
<xsd:import namespace="http://schemas.microsoft.com/hs/2001/10/core" schemaLocation="hscommon.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/hs/2001/10/myAlerts" schemaLocation="myalerts.xsd"/>
<!--
//
// myPresence
// - root element for the .NET Presence service
//
-->
<xsd:element name="myPresence" type="myPresenceType"/>
<xsd:complexType name="myPresenceType">
<xsd:annotation>
<xsd:documentation>
This element defines the basic
<b>myPresence</b>
types.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="endpoint" type="endpointType">
<xsd:annotation>
<xsd:documentation>
Collection of endpoints for this user's .NET Presence service.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="subscription" type="hs:subscriptionType"/>
</xsd:sequence>
<!-- standard attributes for the root element -->
<xsd:attributeGroup ref="hs:documentRootAttributeGroup"/>
</xsd:complexType>
<xsd:complexType name="endpointType">
<xsd:annotation>
<xsd:documentation>
This stores an endpoint, designating a user agent. The definition of a user agent is intentionally left open. It is simply
defined as the information expressed by its argots. It may have one deviceUuid associated with it, but this is not required.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="deviceUuid" type="hs:uuidType"/>
<xsd:element minOccurs="0" name="expiresAt" type="xsd:dateTime"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="argot" type="argotType">
<xsd:annotation>
<xsd:documentation>
Collection of argots for this endpoint.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attributeGroup ref="hs:standardBlueAttributeGroup"/>
</xsd:complexType>
<xsd:complexType name="argotType">
<xsd:annotation>
<xsd:documentation>
This stores an argot for application-specific information about an endpoint, and so is completely free.
Argots are opaque to .NET My Services.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
</xsd:sequence>
<xsd:attribute name="argotURI" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
This URI points to a location containing the XSD for this argot. It also uniquely identifies the type of argot.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attributeGroup ref="hs:standardBlueAttributeGroup"/>
</xsd:complexType>
<!--
// Domain specific methods
// notifyEndpoint
-->
<xsd:element name="notifyEndpointRequest">
<xsd:annotation>
<xsd:documentation>
This method takes an endpoint and sends a specified notification to it by means of the endpoint's owner's
.NET Alerts. The endpoint must expose the
<b>notifiableEndpoint</b>
argot, so that
the .NET Presence service knows which connection to target in .NET Alerts.
This method serves two purposes: first, as an abstraction layer over individual connections
so that users may target groups of connections classified as endpoints. Second,
as a privacy measure, so that a specific connection associated with an endpoint may
be targeted without that connection being exposed to the user invoking the method.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="endpointId" type="hs:idType"/>
<xsd:element name="notification" type="ma:notificationType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="MessengerArgot" type="MessengerArgotType"/>
<xsd:complexType name="MessengerArgotType">
<xsd:annotation>
<xsd:documentation>
This argot represents an instant messaging client's presence.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="statusMessage" type="hs:string">
<xsd:annotation>
<xsd:documentation>
An unrestricted status message reflecting presence.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="status" type="MessengerStatus" use="required">
<xsd:annotation>
<xsd:documentation>
The present state of the Messenger client.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="MessengerStatus">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="online"/>
<xsd:enumeration value="offline"/>
<xsd:enumeration value="away"/>
<xsd:enumeration value="busy"/>
<xsd:enumeration value="phone"/>
<xsd:enumeration value="lunch"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="PresenceArgot" type="PresenceArgotType"/>
<xsd:complexType name="PresenceArgotType">
<xsd:annotation>
<xsd:documentation>
This argot represent generic presence data about an endpoint.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="availability" type="xsd:int" use="required">
<xsd:annotation>
<xsd:documentation>
The availability of the endpoint. This attribute indicates how fast and reliable communications are to the endpoint.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="responsiveness" type="xsd:int" use="required">
<xsd:annotation>
<xsd:documentation>
The responsiveness of the endpoint. This attribute indicates how quickly the owner of the endpoint is likely to respond.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="userPreference" type="xsd:int" use="required">
<xsd:annotation>
<xsd:documentation>
The user's preference for this endpoint. This attribute indicates whether this endpoint is the user's preferred method of contact.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="ConnectableArgot" type="ConnectableArgotType"/>
<xsd:complexType name="ConnectableArgotType">
<xsd:annotation>
<xsd:documentation>
This argot represents the connectability of an endpoint. If present,
it designates a connection on the user's .NET Alerts.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1" name="connectionID" type="hs:idType">
<xsd:annotation>
<xsd:documentation>
The ID for one or more connection elements on the user's .NET Alerts
that are represented by this endpoint.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>