XML Schema "myServices.xsd"
Target Namespace:
http://schemas.microsoft.com/hs/2001/10/myServices
Version:
1.0
Defined Components:
elements (1 global + 7 local), complexTypes (1)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Projects\Microsoft Hailstorm\xsd\myServices.xsd; see XML source
Imports Schemas (1):
hscommon.xsd [src]
Annotation
Schema for .NET Services service Copyright (c) 2001 Microsoft Corporation. All rights reserved.
All Element Summary
cat (in service)
Type:
Content:
empty, 1 attribute
Defined:
locally within serviceType complexType; see XML source
key (in service)
This element specifies key information used to zoom in on the document being manipulated.
Type:
anonymous complexType
Content:
empty, 3 attributes
Defined:
locally within serviceType complexType; see XML source
Includes:
definitions of 3 attributes
myServices
Type:
anonymous complexType
Content:
complex, 2 attributes, 1 element, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 1 element, elem. wildcard
Used:
never
realm (in service)
This element specifies the authentication realm for the spn in question.
Type:
Content:
simple
Defined:
locally within serviceType complexType; see XML source
refer (in service)
This element specifies that the fields below are for a referral.
Type:
Content:
simple
Defined:
locally within serviceType complexType; see XML source
service (in myServices)
Type:
Content:
complex, 4 attributes, 6 elements, elem. wildcard
Defined:
locally within myServices element; see XML source
spn (in service)
This element specifies the spn in question.
Type:
Content:
simple
Defined:
locally within serviceType complexType; see XML source
to (in service)
This element specifies to the to destination URL.
Type:
Content:
simple
Defined:
locally within serviceType complexType; see XML source
Complex Type Summary
Content:
complex, 4 attributes, 6 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 6 elements, elem. wildcard
Used:
XML Source
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/hs/2001/10/myServices" version="1.0" xmlns="http://schemas.microsoft.com/hs/2001/10/myServices" 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 Services service
Copyright (c) 2001 Microsoft Corporation. All rights reserved.
</xsd:documentation>
<xsd:appinfo>
<xdb:blue select="/myServices"/>
<xdb:blue select="/myServices/*"/>
<xdb:red select="//@changeNumber"/>
<xdb:red select="//@id"/>
<xdb:red select="//@creator"/>
<xdb:red select="//cat/@ref"/>
<xdb:red select="/myServices/service/@name"/>
<xdb:red select="/myServices/service/$any"/>
<xdb:namespaceMap>
<xdb:mapping alias="m" uri="http://schemas.microsoft.com/hs/2001/10/myServices"/>
<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"/>
<!--
//
// myServices
// - root element for the .NET Services service
//
-->
<xsd:element name="myServices">
<xsd:complexType>
<xsd:annotation>
<xsd:documentation>
This element encapsulates the content document for the service.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="service" type="serviceType"/>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
</xsd:sequence>
<xsd:attributeGroup ref="hs:documentRootAttributeGroup"/>
</xsd:complexType>
</xsd:element>
<!--
//
// serviceType
//
//
-->
<xsd:complexType name="serviceType">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="hs:catType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="key">
<xsd:annotation>
<xsd:documentation>
This element specifies key information used to zoom in on the document being manipulated.
This information includes the PUID that owns the document, the instance id of the document,
and the cluster or partition key used to locate the machine resources that hold the document.
<p/>
In certain situations, a client will want to send the same message to a number a instances of a particular
service. In order to do this, the client may repeat this element multiple times. The cluster
attributes in all elements must match each other, but the puid and instance attributes may differ. A
unique response message is generated for each key specified.
<p/>
The entire contents of this element come from the .NET Services service.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="puid" type="hs:puidType" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the PUID of the entity that "owns" the service being accessed. In
the case of a "myProfile" service, this element is equivalent to the "my".
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="instance" type="hs:string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the particular instance of the service for this id being accessed.
For example, if a given id is provisioned with multiple .NET Calendar documents on the same
cluster and in the same data center, the documents would differ only by this value.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="cluster" type="hs:string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies information used by the .NET My Services system to locate the document on
a particular back-end server or database. It is used as the virtual partition key for the
document being addressed. This technique is preferable to computing this partition key based
on some hash of the puid/instance.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="refer" type="hs:string">
<xsd:annotation>
<xsd:documentation>
This element specifies that the fields below are for a referral.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="to" type="hs:string">
<xsd:annotation>
<xsd:documentation>
This element specifies to the to destination URL.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spn" type="hs:string">
<xsd:annotation>
<xsd:documentation>
This element specifies the spn in question.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="realm" type="hs:string">
<xsd:annotation>
<xsd:documentation>
This element specifies the authentication realm for the spn in question.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
</xsd:sequence>
<xsd:attribute name="name" type="hs:string" use="required">
<xsd:annotation>
<xsd:documentation>
This element contains the name of the service being accessed by this request message. For example,
to access the .NET Profile service, this attribute will have the value "myProfile".
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="hs:standardBlueAttributeGroup"/>
</xsd:complexType>
</xsd:schema>