XML Schema "myDevices.xsd"
Target Namespace:
http://schemas.microsoft.com/hs/2001/10/myDevices
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\myDevices.xsd; see XML source
Imports Schemas (1):
hscommon.xsd [src]
Annotation
Schema for .NET Devices service. Copyright (c) 2001 Microsoft Corporation. All rights reserved.
All Element Summary
address (in device)
This element contains addresses in the form of URIs that can be used to address this device.
Type:
xsd:anyURI
Content:
simple
Defined:
locally within deviceType complexType; see XML source
carrierId (in device)
This element contains the URI of the carrier that is responsible for servicing this device.
Type:
xsd:anyURI
Content:
simple
Defined:
locally within deviceType complexType; see XML source
cat (in device)
Type:
Content:
empty, 1 attribute
Defined:
locally within deviceType complexType; see XML source
device (in myDevices)
Type:
Content:
complex, 3 attributes, 5 elements, elem. wildcard
Defined:
locally within myDevicesType complexType; see XML source
deviceId (in device)
This element contains the device name/ID in URI form.
Type:
xsd:anyURI
Content:
simple
Defined:
locally within deviceType complexType; see XML source
myDevices
This element encapsulates the content document for the Microsoft® .NET Devices service.
Type:
anonymous complexType (extension of myDevicesType)
Content:
complex, 2 attributes, 2 elements, elem. wildcard
Defined:
globally; see XML source
Used:
never
name (in device)
This element contains a user-readable, non-unique friendly name for the device.
Type:
Content:
simple, 2 attributes
Defined:
locally within deviceType complexType; see XML source
subscription (in myDevices)
Type:
Content:
complex, 3 attributes, 4 elements
Defined:
locally within myDevicesType complexType; see XML source
Complex Type Summary
This element defines a communication device within the .NET Devices service.
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/myDevices" version="1.0" xmlns="http://schemas.microsoft.com/hs/2001/10/myDevices" 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 Devices service.
Copyright (c) 2001 Microsoft Corporation. All rights reserved.
</xsd:documentation>
<xsd:appinfo>
<xdb:blue select="/myDevices"/>
<xdb:blue select="/myDevices/*"/>
<xdb:red select="//@changeNumber"/>
<xdb:red select="//@id"/>
<xdb:red select="//@creator"/>
<xdb:red select="//cat/@ref"/>
<xdb:red select="//cat"/>
<xdb:red select="//device/deviceId"/>
<xdb:red select="//device/carrierId"/>
<xdb:red select="//device/address"/>
<xdb:red select="//device/$any"/>
<xdb:namespaceMap>
<xdb:mapping alias="m" uri="http://schemas.microsoft.com/hs/2001/10/myDevices"/>
<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"/>
<!--
//
// myDevices
// - root element for the .NET Devices service
//
-->
<xsd:element name="myDevices">
<xsd:annotation>
<xsd:documentation>
This element encapsulates the content document for the Microsoft&#174; .NET Devices service.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="myDevicesType">
<xsd:attributeGroup ref="hs:documentRootAttributeGroup"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<!--
//
// myDevicesType
//
-->
<xsd:complexType name="myDevicesType">
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="device" type="deviceType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="subscription" type="hs:subscriptionType"/>
</xsd:sequence>
</xsd:complexType>
<!--
//
// deviceType
//
-->
<xsd:complexType name="deviceType">
<xsd:annotation>
<xsd:documentation>
This element defines a communication device within the .NET Devices service.
Each device is an extensible, categorized item containing the name of the
device encoded as a URI, the name of the carrier that services the device
encoded as a URI, a friendly name for the device, a list of URIs that can
be used to address the device, and so on.
<p/>
Devices are categorized into classes using simple categorization. For example,
a device is classified as a cell phone through the "system#callPhone" categorization.
Additionally, a device is marked as a primary device through categorization
using the "system#primary" category reference.
<p/>
A validated device is one that has been digitally signed and certified by
some entity. Microsoft .NET My Services accomodates this by allowing the use of extension
elements holding certified digital signatures or holding references to
verification services that may validate a node on the fly.
</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="deviceId" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
This element contains the device name/ID in URI form.
This element is encoded as a URI to allow richer and more extensible naming
for the device than can be expressed using a simple UUID. The URI name will
be of the form http://mydevices.microsoft.com/carrierID/deviceID#9c20f0e8-c0ef-472d-8bec-4cc6f8b0f456.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="1" name="carrierId" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
This element contains the URI of the carrier that is responsible
for servicing this device. The element is encoded as a URI, Which
allows for both UUID-based carrier identification and
richer identification mechanisms.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="1" name="name" type="hs:localizableString">
<xsd:annotation>
<xsd:documentation>
This element contains a user-readable, non-unique friendly name for
the device.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="address" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
This element contains addresses in the form of URIs that
can be used to address this device. For example, if the device
is addressible through e-mail, an address entry of "mailto:someone@microsoft.com"
may appear in this element. If the device is also addressible through an HTTP
gateway, an additional address of "http://microsoft.com/somepath/someid" can be
specified in this element. This element is repeated for each address that can be used
to address the device.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="hs:standardBlueAttributeGroup"/>
</xsd:complexType>
</xsd:schema>