XML Schema "hscommon.xsd"
Target Namespace:
http://schemas.microsoft.com/hs/2001/10/core
Version:
1.0
Defined Components:
elements (2 global + 41 local), complexTypes (14), simpleTypes (11), attribute groups (3)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Projects\Microsoft Hailstorm\xsd\hscommon.xsd; see XML source
Imports Schemas (1):
xml.xsd [src]
Includes Schemas (2):
hsdl.xsd [src], hsinfra.xsd [src]
Imported by Schemas (15):
myAlerts.xsd [src], myalerts.xsd [src], myApplicationSettings.xsd [src], myCalendar.xsd [src], myCategories.xsd [src], myContacts.xsd [src], myDevices.xsd [src], myDocuments.xsd [src], myFavoriteWebSites.xsd [src], myInbox.xsd [src], myLocation.xsd [src], myPresence.xsd [src], myProfile.xsd [src], myServices.xsd [src], myWallet.xsd [src]
Annotation
Schema for common .NET My Services types. Copyright (c) 2001 Microsoft Corporation. All rights reserved.
All Element Summary (local elements unified by type)
cat (type catType)
Type:
Content:
empty, 1 attribute
Defined:
locally at 5 locations
confidence (type string)
This element specifies a percentage value that indicates the confidence value that this location is accurate within the specified precision.
Type:
Content:
simple
Defined:
locally within addressType complexType; see XML source
context (defined in subscriptionType complexType)
This element returns the context element from the original subscription.
Type:
anonymous complexType
Content:
complex, 1 attribute, elem. wildcard
Defined:
locally within subscriptionType complexType; see XML source
Includes:
definitions of 1 attribute, elem. wildcard
countryCode (defined in addressType complexType)
This element contains the twp-letter ISO-3166 ID of the country, dependency, or functionally equivalent region for this address.
Type:
anonymous simpleType (restriction of xsd:string)
Content:
simple
Defined:
locally within addressType complexType; see XML source
countryCode (type string)
This optional element specifies the country code for this telephone number.
Type:
Content:
simple
Defined:
locally within telephoneNumberType complexType; see XML source
description (in catDef)
This element specifies a full description of the category definition.
Type:
Content:
simple, 2 attributes
Defined:
locally within catDefType complexType; see XML source
direction (in velocity)
This element specifies the last known direction associated with this report in units of decimal degrees.
Type:
Content:
simple
Defined:
locally within velocity element; see XML source
elevation (type string)
This element specifies the elevation above sea level with respect to geodetic datum WGS84.
Type:
Content:
simple
Defined:
locally within addressType complexType; see XML source
email (type xsd:string)
This optional name specifies an e-mail address for the enclosing element.
Type:
xsd:string
Content:
simple
Defined:
locally within userReference complexType; see XML source
exclude (in shape)
This element specifies the set of nodes that should be excluded from the shape, relative to the possible set of nodes indicated by the base attribute.
Type:
Content:
empty, 1 attribute
Defined:
locally within shapeType complexType; see XML source
expiresAt (type xsd:dateTime)
Type:
xsd:dateTime
Content:
simple
Defined:
locally at 2 locations
implies (in catDef)
This element specifies that this category definition also implies that another category (designated by the ref attribute) also applies.
Type:
Content:
empty, 1 attribute
Defined:
locally within catDefType complexType; see XML source
include (in shape)
This element specifies the set of nodes that should be included in the shape, relative to the possible set of nodes indicated by the base attribute.
Type:
Content:
empty, 1 attribute
Defined:
locally within shapeType complexType; see XML source
internalAddressLine (type localizableString)
This element contains internal routing information relative to the address specified by the officialAddressLine element.
Type:
Content:
simple, 2 attributes
Defined:
locally within addressType complexType; see XML source
latitude (type string)
This element specifies the latitude value for this address in units of decimal degrees.
Type:
Content:
simple
Defined:
locally within addressType complexType; see XML source
location (type locationType)
Type:
Content:
simple
Defined:
locally within linkType complexType; see XML source
longitude (type string)
This element specifies the longitude value for this address in units of decimal degrees.
Type:
Content:
simple
Defined:
locally within addressType complexType; see XML source
name (type localizableString)
Type:
Content:
simple, 2 attributes
Defined:
locally at 3 locations
nationalCode (type string)
This element specifies the national code for this phone number.
Type:
Content:
simple
Defined:
locally within telephoneNumberType complexType; see XML source
number (type string)
This element specifies the actual telephone number within the country and national code number scheme.
Type:
Content:
simple
Defined:
locally within telephoneNumberType complexType; see XML source
numberExtension (type string)
This optional element specifies an extension used to reach this identity at this number.
Type:
Content:
simple
Defined:
locally within telephoneNumberType complexType; see XML source
officialAddressLine (type localizableString)
This element contains the most precise, official line for the address relative to the postal agency serving the area specified by the city(or cities) and postalCode.
Type:
Content:
simple, 2 attributes
Defined:
locally within addressType complexType; see XML source
operation
The presence of this element in a .NET My Services WSDL file indicates that the associated operation should be processed by the .NET My Services SoapExtension.
Type:
xsd:string
Content:
simple
Defined:
globally; see XML source
Used:
never
ownerId (type xsd:string)
Type:
xsd:string
Content:
simple
Defined:
locally within linkType complexType; see XML source
pin (type string)
This optional element specifies a PIN number used on this phone number.
Type:
Content:
simple
Defined:
locally within telephoneNumberType complexType; see XML source
postalCode (type string)
This element contains the official postal code for this address.
Type:
Content:
simple
Defined:
locally within addressType complexType; see XML source
precision (type string)
This element specifies the precision, in meters, of this location.
Type:
Content:
simple
Defined:
locally within addressType complexType; see XML source
primaryCity (type localizableString)
This element defines the primary city for this address.
Type:
Content:
simple, 2 attributes
Defined:
locally within addressType complexType; see XML source
puid (type puidType)
This optional element specifies the PUID for the enclosing element.
Type:
Content:
simple
Defined:
locally within userReference complexType; see XML source
secondaryCity (type localizableString)
This optional element defines the secondary city for this address.
Type:
Content:
simple, 2 attributes
Defined:
locally within addressType complexType; see XML source
serviceClass (type xsd:string)
Type:
xsd:string
Content:
simple
Defined:
locally within linkType complexType; see XML source
shape (type shapeType)
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
locally at 2 locations
speed (in velocity)
This element specifies the last-known speed associated with this report in units of meters per second.
Type:
Content:
simple
Defined:
locally within velocity element; see XML source
subdivision (type localizableString)
This element contains the offical subdivision name within the country or region for this address.
Type:
Content:
simple, 2 attributes
Defined:
locally within addressType complexType; see XML source
subscription
Type:
Content:
complex, 3 attributes, 4 elements
Defined:
globally; see XML source
Used:
never
to (type xsd:anyURI)
This attribute specifies the location that is to receive the subscription message.
Type:
xsd:anyURI
Content:
simple
Defined:
locally within subscriptionType complexType; see XML source
trigger (defined in subscriptionType complexType)
Type:
anonymous complexType
Content:
empty, 3 attributes
Defined:
locally within subscriptionType complexType; see XML source
Includes:
definitions of 3 attributes
velocity (defined in addressType complexType)
This element specifies the last reported velocity associated with this address.
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
locally within addressType complexType; see XML source
Includes:
definitions of 2 elements
Complex Type Summary
This element encapsulates a geographic address.
Content:
complex, 14 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 14 elements, elem. wildcard
Used:
This element encapsulates the definition of a category and, as outlined in the .NET Categories section of the XMI Manual, may appear in the system or content document of the .NET Categories service, or may appear in an external resource.
Content:
complex, 4 attributes, 4 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 4 elements, elem. wildcard
Used:
This element is used to categorize the element that contains it by referencing either a global category definition (in either the .NET Categories service system document or an external resource containing category definitions), or by referencing an identity-centered category definition in the content document of the .NET Categories service for a particular PUID.
Content:
empty, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
at 13 locations
The link element points to a .NET service.
Content:
complex, 1 attribute, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 3 elements
Used:
never
Content:
simple, 2 attributes
Defined:
globally; see XML source
Includes:
definitions of 2 attributes
Used:
at 35 locations
The location element defines a location type and location value.
Content:
empty, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
never
Content:
simple, 2 attributes
Defined:
globally; see XML source
Includes:
definitions of 2 attributes
Used:
A scope contains a shape element designed to restrict the information visible to the user of the scope.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Content:
empty, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
A shape defines the node set visible through the document when operating through this shape element.
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 2 elements
Used:
This element defines a subscription node that is designed to be an xdb:blue node which, when placed in a content document, causes a subscription to be registered.
Content:
complex, 3 attributes, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
at 14 locations
This element encapsulates an electronic address for this entity; specifically, it contains a telephone number.
Content:
complex, 6 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 6 elements, elem. wildcard
Used:
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Simple Type Summary
The changeNumber attribute is designed to facilitate caching of the element and its descendants.
Defined:
globally; see XML source
Used:
at 10 locations
This attribute identifies the creator in terms of userId, appId, and platformId of the node.
Defined:
globally; see XML source
Used:
This optional attribute specifies the default layout direction for the localized string.
Defined:
globally; see XML source
Used:
This attribute contains a reference to another .NET My Services item by its item ID.
Defined:
globally; see XML source
Used:
This attribute is a globally unique ID assigned to this element by .NET My Services.
Defined:
globally; see XML source
Used:
This attribute is a unique identifier typically assigned to the root element of a service.
Defined:
globally; see XML source
Used:
This type defines the types of location pointers allowed by the XMI.
Defined:
globally; see XML source
Used:
Defined:
globally; see XML source
Used:
never
This element is used to specify a Passport Unique ID (PUID).
Defined:
globally; see XML source
Used:
Defined:
globally; see XML source
Used:
at 70 locations
The uuidType is used to specify a universally unique identifier (UUID).
Defined:
globally; see XML source
Used:
at 10 locations
Attribute Group Summary
Content:
Defined:
globally; see XML source
Includes:
definitions of 2 attributes
Used:
at 16 locations
Content:
Defined:
globally; see XML source
Includes:
definitions of 3 attributes
Used:
at 53 locations
Content:
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
XML Source
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/hs/2001/10/core" version="1.0" xmlns="http://schemas.microsoft.com/hs/2001/10/core" xmlns:xdb="urn:schemas-microsoft-com:xdb" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation>
Schema for common .NET My Services types.
Copyright (c) 2001 Microsoft Corporation. All rights reserved.
</xsd:documentation>
</xsd:annotation>
<!--
//
// include additional schema files that are part of this
// core namespace
//
// Service schemas MUST only import hscommon
//
-->
<xsd:include schemaLocation="hsdl.xsd"/>
<xsd:include schemaLocation="hsinfra.xsd"/>
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:simpleType name="string">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="768"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="dirType">
<xsd:annotation>
<xsd:documentation>
This optional attribute specifies the default layout direction
for the localized string. Valid values are
<b>rtl</b>
(right to left) and
<b>ltr</b>
(left to right).
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="string">
<xsd:enumeration value="rtl"/>
<xsd:enumeration value="ltr"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="localizableString">
<xsd:simpleContent>
<xsd:extension base="string">
<xsd:attribute ref="xml:lang" use="required">
<xsd:annotation>
<xsd:documentation>
This required attribute is used to specify an ISO 639 language code
or an ISO 3166 country code as described in
<a href="http://www.ietf.org/rfc/rfc1766.txt">RFC 1766</a>
.
The value of this attribute indicates the language type of
the content within this element.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="dir" type="dirType" use="optional">
<xsd:annotation>
<xsd:documentation>
This optional attribute specifies the default layout direction
for the localized string. Valid values are
<b>rtl</b>
(right to left) and
<b>ltr</b>
(left to right).
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="longText">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute ref="xml:lang" use="required">
<xsd:annotation>
<xsd:documentation>
This required attribute is used to specify an ISO 639 language code
or an ISO 3166 country code as described in
<a href="http://www.ietf.org/rfc/rfc1766.txt">RFC 1766</a>
.
The value of this attribute indicates the language type of
the content within this element.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="dir" type="dirType" use="optional">
<xsd:annotation>
<xsd:documentation>
This optional attribute specifies the base direction of
directionally neutral text. Possible values include
<b>rtl</b>
(right to left)
and
<b>ltr</b>
(left to right).
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="idType">
<xsd:annotation>
<xsd:documentation>
This attribute is a globally unique ID assigned to this element
by .NET My Services. Normally, .NET My Services generates and assigns this
ID during an
<b>insertRequest operation</b>
or possibly during a
<b>replaceRequest</b>
. Application software can override this ID
generation by specifying the
<b>useClientIds</b>
attribute in the
request message. After an ID has been assigned,
the attribute is read only and attempts to write it are silently ignored.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="itemId"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="uuidType"/>
</xsd:simpleType>
<xsd:simpleType name="idRefType">
<xsd:annotation>
<xsd:documentation>
This attribute contains a reference to another .NET My Services item by
its item ID.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="itemIdRef"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="uuidType"/>
</xsd:simpleType>
<xsd:simpleType name="instanceIdType">
<xsd:annotation>
<xsd:documentation>
This attribute is a unique identifier typically assigned to the root
element of a service. It is a read-only element and assigned by the
.NET My Services system when a particular service is provisioned for a user.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="instanceId"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="changeNumberType">
<xsd:annotation>
<xsd:documentation>
The
<b>changeNumber</b>
attribute is designed to facilitate caching of the
element and its descendants. This attribute is assigned to this element
by the .NET My Services system. The attribute is read only to applications.
Attempts to write this attribute are silently ignored.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="changeNumber"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:nonNegativeInteger">
<xsd:maxInclusive value="9223372036854775807"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="creatorType">
<xsd:annotation>
<xsd:documentation>
This attribute identifies the creator in terms of
<b>userId</b>
,
<b>appId</b>
, and
<b>platformId</b>
of the node.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="creator"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:hexBinary"/>
</xsd:simpleType>
<!--
//
// Standard Attribute Group for Document Root
//
-->
<xsd:attributeGroup name="documentRootAttributeGroup">
<xsd:attribute name="changeNumber" type="changeNumberType" use="required"/>
<xsd:attribute name="instanceId" type="instanceIdType"/>
</xsd:attributeGroup>
<!--
//
// Standard Attribute Group for Standard Blue
//
-->
<xsd:attributeGroup name="standardBlueAttributeGroup">
<xsd:attribute name="changeNumber" type="changeNumberType" use="required"/>
<xsd:attribute name="id" type="idType" use="required"/>
<xsd:attribute name="creator" type="creatorType" use="required"/>
</xsd:attributeGroup>
<!--
//
// Standard Attribute Group for Unnamed Blue
//
-->
<xsd:attributeGroup name="unnamedBlueAttributeGroup">
<xsd:attribute name="changeNumber" type="changeNumberType" use="required"/>
</xsd:attributeGroup>
<xsd:simpleType name="nonZeroPercentageType">
<xsd:restriction base="xsd:unsignedByte">
<xsd:minInclusive value="1"/>
<xsd:maxInclusive value="100"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="linkType">
<xsd:annotation>
<xsd:documentation>
The link element points to a .NET service. The type is
defined by the type attribute (
<b>linkType</b>
, and the value is the contents
of this element.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="serviceClass" type="xsd:string"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ownerId" type="xsd:string"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="location" type="locationType"/>
</xsd:sequence>
<xsd:attribute name="type" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="location">
<xsd:annotation>
<xsd:documentation>
The
<b>location</b>
element defines a location type and location value.
The type is defined by the type attribute (
<b>locationType</b>
), and
the value is the contents of this element.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="xsd:anyType">
<xsd:attribute name="type" type="locationType" use="required"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="locationType">
<xsd:annotation>
<xsd:documentation>
This type defines the types of location pointers allowed by the
XMI. Today the only valid value is "xpath". In the future, if additional
XML pointer dialects become standard, they may be added as well.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="xpath"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="uuidType">
<xsd:annotation>
<xsd:documentation>
The
<b>uuidType</b>
is used to specify a universally unique identifier (UUID).
(Note that the
<b>base</b>
type below is probably wrong and needs to be fixed
to match a correct definition for a UUID.)
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="uuid"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:pattern value="([0-9]|[a-f]|[A-F]){8}-([0-9]|[a-f]|[A-F]){4}-([0-9]|[a-f]|[A-F]){4}-([0-9]|[a-f]|[A-F]){4}-([0-9]|[a-f]|[A-F]){12}"/>
</xsd:restriction>
<!-- AZFIX: restriction base="xsd:anyURI" -->
</xsd:simpleType>
<xsd:simpleType name="puidType">
<xsd:annotation>
<xsd:documentation>
This element is used to specify a Passport Unique ID (PUID). The ID itself is in raw form: it is
not encrypted in any way.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<!-- use xsd:hexBinary -->
</xsd:restriction>
</xsd:simpleType>
<!--
//
// categories
//
-->
<!--
//
// catType
//
-->
<xsd:complexType name="catType">
<xsd:annotation>
<xsd:documentation>
This element is used to categorize the element that contains it by
referencing either a global category definition
(in either the .NET Categories service
system document or an external resource containing category definitions), or
by referencing an identity-centered category definition in the content
document of the .NET Categories service for a particular PUID.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="ref" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute references a category definition (
<b>catDef</b>
) element using the
rules outlined in the
<a href="myCategories.html">.NET Categories</a>
section of the
<i>XMI Manual</i>
.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<!--
//
// catDef
//
-->
<xsd:complexType name="catDefType">
<xsd:annotation>
<xsd:documentation>
This element encapsulates the definition of a category and, as outlined in
the
<a href="myCategories.html">.NET Categories</a>
section of the XMI Manual, may appear in the
system or content document of the .NET Categories service, or may appear in an external
resource.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="name" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This element specifies the localized name of the category.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="description" type="longText">
<xsd:annotation>
<xsd:documentation>
This element specifies a full description of the category definition.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="implies" type="catType">
<xsd:annotation>
<xsd:documentation>
This element specifies that this category definition also implies
that another category (designated by the
<b>ref</b>
attribute) also applies.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="catType"/>
</xsd:sequence>
<xsd:attribute name="idName" type="string" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute specifies the name of the category definition in the form of the category name.
The relationship between this value and references to this value is defined using the
rules outlined in the
<a href="myCategories.html">.NET Categories</a>
section of the
<i>XMI Manual</i>
.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="standardBlueAttributeGroup"/>
</xsd:complexType>
<!--
//
// userReference - this is used to capture simple data about a user.
// Generally this occurs when you might want to find more data later, but you
// don't want to store an entire contact
//
-->
<xsd:complexType name="userReference">
<xsd:sequence>
<xsd:element minOccurs="0" name="name" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This optional element specifies the name for the enclosing element.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="puid" type="puidType">
<xsd:annotation>
<xsd:documentation>
This optional element specifies the PUID for the enclosing element.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="email" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
This optional name specifies an e-mail address for the enclosing element.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!--
//
// userReferenceCategorized
//
//
-->
<xsd:complexType name="userReferenceCategorized">
<xsd:complexContent>
<xsd:extension base="userReference">
<xsd:sequence>
<xsd:element name="cat" type="catType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!--
//
// telephoneNumberType
//
//
-->
<xsd:complexType name="telephoneNumberType">
<xsd:annotation>
<xsd:documentation>
This element encapsulates an electronic address for this entity; specifically,
it contains a telephone number.
This element
may be repeated any number of times. Typical use is one
<b>telephoneNumber</b>
element
for each phone number associated with this identity.
<p/>
A telephone number consists of an optional country code, a required
<b>nationalCode</b>
(U.S. area code),
a number, an optional extension, and a optional PIN.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="catType"/>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element minOccurs="0" name="countryCode" type="string">
<xsd:annotation>
<xsd:documentation>
This optional element specifies the country code for this telephone
number.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="nationalCode" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies the national code for this phone number.
For U.S. telephone numbers, this is equivalent to the area code.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="number" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies the actual telephone number within the country
and national code number scheme.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="numberExtension" type="string">
<xsd:annotation>
<xsd:documentation>
This optional element specifies an extension used to reach this
identity at this number.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="pin" type="string">
<xsd:annotation>
<xsd:documentation>
This optional element specifies a PIN number used on this phone number.
A PIN is similar to an extension, but PINs are commonly used to address
pagers while extensions are typically used to address phones relative to a
local PBX.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="subscriptionType">
<xsd:annotation>
<xsd:documentation>
This element defines a subscription node that is designed to
be an
<b>xdb:blue</b>
node which, when placed in a content document, causes
a subscription to be registered. A subscription contains a trigger element
which selects a scope of coverage. When items change that are under this scope
of coverage, and
<b>subscriptionResponse</b>
message is generated and sent to the specified
destination address.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="subscription"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<!--
//
// a subscription contains
// - trigger which specifies the data that will
// trigger a notification
// - an expiration time after which the subscription
// will expire and automatically be removed from the
// document
// - context which is transmitted when this subscription is triggered
// - a location to send the subscription message to
-->
<xsd:element name="trigger">
<xsd:complexType>
<xsd:attribute name="select" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
This item specifies an XPath expression that specifies the nodes that are
to be selected and watched for changes. The selection may select only
<b>xdb:blue</b>
nodes. As changes in this node set occur, they
trigger the generation of subscription messages. These messages are then sent
to the SOAP receiver listed in the
<b>to</b>
element.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="mode" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute specifies whether the content of the changes
that triggered the subscription are delivered in the subscription
message, or the message simply indicates that something changed
under the trigger. The attribute may be:
<dl>
<dt>
<b>includeData</b>
</dt>
<dd>
The data that changed, causing the subscription to trigger, is
included in the subscription message. Note that deleted nodes
are specified by their ID, not by value.
</dd>
<dt>excludeData</dt>
<dd>
The data that changed, causing the subscription to trigger, is
not included in the subscription message.
</dd>
</dl>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="string">
<xsd:enumeration value="includeData"/>
<xsd:enumeration value="excludeData"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="baseChangeNumber" type="changeNumberType" use="optional">
<xsd:annotation>
<xsd:documentation>
This attribute specifies the
<b>changeNumber</b>
value to which the trigger relates. All changes between the specified change number and the current state
of the document relative to the selection are transmitted as subscription
messages. This allows a client application to establish a subscription
relative to some baseline. As with
<b>changeQuery</b>
, if the
<b>baseChangeNumber</b>
is
way out of date relative to the current state of the document, and the service
can not supply the changes in the subscription message, the subscription
insert is rejected. A value of zero means that the current values of
the selected nodes are transmitted in the subscription message.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="expiresAt" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>
This optional element specifies an absolute time after which the
subscription is no longer active. The
<b>subscription</b>
node is
automatically removed when the subscription expires. If this element
is missing, the subscription does not expire.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="context">
<xsd:annotation>
<xsd:documentation>
This element returns the
<b>context</b>
element from the original
subscription. Applications should use this element and only this element
to correlate the subscription response with one of their subscriptions.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
</xsd:sequence>
<xsd:attribute name="uri" type="xsd:anyURI" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute specifies the URI value chosen by the subscriber
that is associated with this subscription.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="1" name="to" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
This attribute specifies the location that is to receive the subscription
message. The value of this element may be one of the following forms:
<ul>
<li>
<b>hs:myAlerts</b>
This URI indicates that generated subscription
messages are to be delivered inside the body of a notification and delivered
to the default .NET Alerts service of the creator.
</li>
<li>
<b>protocol://service</b>
This URI indicates that generated subscription
messages are delivered to the specified service at the domain of the creator's
<b>platformId</b>
. For instance, a
<b>platformId</b>
indicating contoso.com, and a value in this
element of http://subscriptionResponse, would cause delivery of the subscription
message to http://subscriptionResponse.contoso.com.
</li>
</ul>
If this value is not specified, the subscription message is
delivered as a notification to the "creator's" .NET Alerts service.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="standardBlueAttributeGroup"/>
</xsd:complexType>
<!--
//
// scopeType
//
-->
<xsd:complexType name="scopeType">
<xsd:annotation>
<xsd:documentation>
A
<b>scope</b>
contains a
<b>shape</b>
element designed to
restrict the information visible to the user
of the scope. When used within a roleMap, the scope's
shape defines the data shape that is visible to all
members of the role. When used within an ACL, the scope's shape defines
the data shape that is visible for the ACL entry relative to the shape
for the role.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="name" type="localizableString"/>
<xsd:element maxOccurs="1" minOccurs="1" name="shape" type="shapeType"/>
</xsd:sequence>
</xsd:complexType>
<!--
//
// shapeType
//
-->
<xsd:complexType name="shapeType">
<xsd:annotation>
<xsd:documentation>
A shape defines the node set visible through the document when
operating through this
<b>shape</b>
element.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="include" type="shapeAtomType">
<xsd:annotation>
<xsd:documentation>
This element specifies the set of nodes that should be included in the shape,
relative to the possible set of nodes indicated by the
<b>base</b>
attribute.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="exclude" type="shapeAtomType">
<xsd:annotation>
<xsd:documentation>
This element specifies the set of nodes that should be excluded from the shape,
relative to the possible set of nodes indicated by the
<b>base</b>
attribute.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="base">
<xsd:annotation>
<xsd:documentation>
This attribute specifies the initial set of nodes visible through the shape.
<p/>
A value of
<b>t</b>
indicates that the shape is initialized to include all possible
nodes relative to the shape that is currently in effect. For example, each role
defines a scope containing a shape. When defining a shape for a role, the value
<b>t</b>
indicates
all possible nodes available in the specified document for this role. When defining a shape
in an ACL entry, a value of
<b>t</b>
means all of the nodes visible in the shape for the computed
role. When you use a shape in an HSDL operation, a value of
<b>t</b>
indicates all of the possible nodes
selected by the HSDL operation (relative to the ACL shape which itself is relative to the role's shape).
<p/>
The value
<b>nil</b>
indicates the opposite of
<b>t</b>
, which is the empty node set. Nodes from this
set may then be included into the shape.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="t"/>
<xsd:enumeration value="nil"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<!--
//
// shapeAtomType
//
-->
<xsd:complexType name="shapeAtomType">
<xsd:attribute name="select" type="selectType" use="required"/>
</xsd:complexType>
<!--
//
// subscription
//
-->
<xsd:element name="subscription" type="subscriptionType"/>
<!--
//
// operation
// used in VS7 wsdl generation
//
-->
<xsd:element name="operation" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The presence of this element in a .NET My Services WSDL file indicates that the associated operation
should be processed by the .NET My Services SoapExtension.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
//
// addressType
//
-->
<xsd:complexType name="addressType">
<xsd:annotation>
<xsd:documentation>
This element encapsulates a geographic address. The contained
nodes describe the geographic address in detail. Typical use is one
<b>address</b>
element for each geographical address for this identity. For instance,
a user with a primary home and a vacation home might have two
<b>address</b>
elements in this service.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="catType"/>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element minOccurs="0" name="officialAddressLine" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This element contains the most precise, official line for the address relative to
the postal agency serving the area specified by the city(or cities) and
<b>postalCode</b>
. For official postal usage, this element contains the official,
parsable address line that the regional postal system cares about. Typical usage of
this element would be to enclose a street address, post office box address,
private bag, or any other
similar official address. Internal routing information (such as department name, suite number within
a building, internal mailstop number, or other similar properties) should be placed within the
<b>internalAddressLine</b>
element.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="internalAddressLine" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This element contains internal routing information relative to the
address specified by the
<b>officialAddressLine</b>
element. Items such as department name, suite number within
a building, internal mailstop number, or other similar properties should be placed witin this
element.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="primaryCity" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This element defines the primary city for this address.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="secondaryCity" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This optional element defines the secondary city for this address. Example types for this
element include city district, city wards, postal towns, and so on.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="subdivision" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This element contains the offical subdivision name within the country or region for this
address. In the United States, this element would contain the two-letter abbreviation for
the name of the state. This element is also commonly treated as the "first-order admin subdivision" and typically contains subdivision names referring to:
<ul>
<li>
Administrative division
</li>
<li>
Bundesstaat
</li>
<li>
Canton
</li>
<li>
Federal district
</li>
<li>
Province
</li>
<li>
Region
</li>
<li>
State
</li>
<li>
Territory
</li>
</ul>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="postalCode" type="string">
<xsd:annotation>
<xsd:documentation>
This element contains the official postal code for this address.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="countryCode">
<xsd:annotation>
<xsd:documentation>
This element contains the twp-letter ISO-3166 ID of the country, dependency, or functionally
equivalent region for this address.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="latitude" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies the latitude value for this address in
units of decimal degrees. Geodetic datum WGS84 is required.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="longitude" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies the longitude value for this address in
units of decimal degrees. Geodetic datum WGS84 is required.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="elevation" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies the elevation above sea level with respect to
geodetic datum WGS84. The unit of measure for this value is meters.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="velocity">
<xsd:annotation>
<xsd:documentation>
This element specifies the last reported velocity
associated with this address. Obviously for
fixed addresses the velocity node either would not
be present, or would be zero (indicating stationary
position).
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="speed" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies the last-known speed associated
with this report in units of meters per second.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="direction" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies the last known direction associated
with this report in units of decimal degrees.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="confidence" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies a percentage value that indicates the confidence value that
this location is accurate within the specified precision.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="precision" type="string">
<xsd:annotation>
<xsd:documentation>
This element specifies the precision, in meters, of this location. The value defines
a spherical zone that the location falls within.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>