XML Schema "myLocation.xsd"
Target Namespace:
http://schemas.microsoft.com/hs/2001/10/myLocation
Version:
1.0
Defined Components:
elements (1 global + 7 local), complexTypes (2)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Projects\Microsoft Hailstorm\xsd\myLocation.xsd; see XML source
Imports Schemas (1):
hscommon.xsd [src]
Annotation
Schema for .NET Location service. Copyright (c) 2001 Microsoft Corporation. All rights reserved.
All Element Summary
address (in location)
This element specifies the last known current location of the identity bound to this service.
Type:
Content:
complex, 14 elements, elem. wildcard
Defined:
locally within locationType complexType; see XML source
cat (in location)
Type:
Content:
empty, 1 attribute
Defined:
locally within locationType complexType; see XML source
expiresAt (in location)
This optional element specifies the time after wich this location report is considered expires.
Type:
xsd:dateTime
Content:
simple
Defined:
locally within locationType complexType; see XML source
lastUpdateTime (in location)
This element specifies the last update time of this location report.
Type:
xsd:dateTime
Content:
simple
Defined:
locally within locationType complexType; see XML source
location (in myLocation)
Type:
Content:
complex, 3 attributes, 5 elements, elem. wildcard
Defined:
locally within myLocationType complexType; see XML source
myLocation
This element encapsulates the content document for the .NET Location service.
Type:
anonymous complexType (extension of myLocationType)
Content:
complex, 2 attributes, 2 elements, elem. wildcard
Defined:
globally; see XML source
Used:
never
reportingDevice (in location)
This element contains the device name of the device supplying this location information.
Type:
xsd:anyURI
Content:
simple
Defined:
locally within locationType complexType; see XML source
subscription (in myLocation)
Type:
Content:
complex, 3 attributes, 4 elements
Defined:
locally within myLocationType complexType; see XML source
Complex Type Summary
Content:
complex, 3 attributes, 5 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 5 elements, elem. wildcard
Used:
Content:
complex, 2 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 2 elements, elem. wildcard
Used:
XML Source
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/hs/2001/10/myLocation" version="1.0" xmlns="http://schemas.microsoft.com/hs/2001/10/myLocation" xmlns:hs="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 .NET Location service.
Copyright (c) 2001 Microsoft Corporation. All rights reserved.
</xsd:documentation>
<xsd:appinfo>
<xdb:blue select="/myLocation"/>
<xdb:blue select="/myLocation/*"/>
<xdb:red select="//@changeNumber"/>
<xdb:red select="//@id"/>
<xdb:red select="//@creator"/>
<xdb:red select="//cat/@ref"/>
<xdb:red select="//cat"/>
<xdb:red select="//location/expiresAt"/>
<xdb:red select="//location/lastUpdateTime"/>
<xdb:red select="//location/address/$any"/>
<xdb:red select="//location/$any"/>
<xdb:namespaceMap>
<xdb:mapping alias="m" uri="http://schemas.microsoft.com/hs/2001/10/myLocation"/>
<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"/>
<!--
//
// myLocation
// - root element for the .NET Location service
//
-->
<xsd:element name="myLocation">
<xsd:annotation>
<xsd:documentation>
This element encapsulates the content document for the .NET Location service.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="myLocationType">
<xsd:attributeGroup ref="hs:documentRootAttributeGroup"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<!--
//
// myLocationType
//
-->
<xsd:complexType name="myLocationType">
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="location" type="locationType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="subscription" type="hs:subscriptionType"/>
</xsd:sequence>
</xsd:complexType>
<!--
//
// locationType
//
-->
<xsd:complexType name="locationType">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="hs:catType"/>
<xsd:element maxOccurs="1" minOccurs="1" name="address" type="hs:addressType">
<xsd:annotation>
<xsd:documentation>
This element specifies the last known current
location of the identity bound to this service.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="1" name="reportingDevice" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
This element contains the device name of the device supplying this
location information. The name is encoded as a URI.
One common format for this name is a uuid: scheme uri interpreted
as a "Universal Device Number" as
exposed by the
<a href="http://www.upnp.org/resources.htm">
Universal Plug
and Play
</a>
infrastructure.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="1" name="lastUpdateTime" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>
This element specifies the last update time of this location
report.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="expiresAt" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>
This optional element specifies the time after wich this location
report is considered expires. The system is free to delete expired
elements on it's own schedule.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="hs:standardBlueAttributeGroup"/>
</xsd:complexType>
</xsd:schema>