XML Schema "myContacts.xsd"
Target Namespace:
http://schemas.microsoft.com/hs/2001/10/myContacts
Version:
1.0
Defined Components:
elements (1 global + 18 local), complexTypes (2)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Projects\Microsoft Hailstorm\xsd\myContacts.xsd; see XML source
Imports Schemas (2):
hscommon.xsd [src], myProfile.xsd [src]
Annotation
Schema for .NET Contacts service. Copyright (c) 2001 Microsoft Corporation. All rights reserved.
All Element Summary
address (in contact)
Type:
Content:
complex, 3 attributes, 14 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
cat (in contact)
Type:
Content:
empty, 1 attribute
Defined:
locally within contactType complexType; see XML source
contact (in myContacts)
A contact
Type:
Content:
complex, 4 attributes, 16 elements, elem. wildcard
Defined:
locally within myContactsType complexType; see XML source
emailAddress (in contact)
Type:
Content:
complex, 3 attributes, 3 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
gender (in contact)
Type:
Content:
simple
Defined:
locally within contactType complexType; see XML source
identificationNumber (in contact)
Type:
Content:
complex, 3 attributes, 2 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
myContacts
This element encapsulates the content document for this service.
Type:
Content:
complex, 2 attributes, 2 elements, elem. wildcard
Defined:
globally; see XML source
Used:
never
name (in contact)
Type:
Content:
complex, 3 attributes, 7 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
notes (in contact)
This element contains free-form notes related to this contact.
Type:
Content:
simple, 2 attributes
Defined:
locally within contactType complexType; see XML source
picture (in contact)
Type:
Content:
complex, 3 attributes, 2 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
puid (in contact)
Type:
Content:
simple
Defined:
locally within contactType complexType; see XML source
screenName (in contact)
Type:
Content:
complex, 3 attributes, 2 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
securityCertificate (in contact)
Type:
Content:
complex, 3 attributes, 2 elements
Defined:
locally within contactType complexType; see XML source
specialDate (in contact)
Type:
Content:
complex, 4 attributes, 2 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
subscription (in myContacts)
Type:
Content:
complex, 3 attributes, 4 elements
Defined:
locally within myContactsType complexType; see XML source
telephoneNumber (in contact)
Type:
Content:
complex, 3 attributes, 6 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
userReference (in contact)
Type:
Content:
complex, 3 attributes, 4 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
webSite (in contact)
Type:
Content:
complex, 3 attributes, 2 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
workInformation (in contact)
Type:
Content:
complex, 3 attributes, 5 elements, elem. wildcard
Defined:
locally within contactType complexType; see XML source
Complex Type Summary
Content:
complex, 4 attributes, 16 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 16 elements, elem. wildcard
Used:
This element defines the basic myContacts types.
Content:
complex, 2 attributes, 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/myContacts" version="1.0" xmlns="http://schemas.microsoft.com/hs/2001/10/myContacts" xmlns:hs="http://schemas.microsoft.com/hs/2001/10/core" xmlns:mp="http://schemas.microsoft.com/hs/2001/10/myProfile" xmlns:xdb="urn:schemas-microsoft-com:xdb" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation>
Schema for .NET Contacts service.
Copyright (c) 2001 Microsoft Corporation. All rights reserved.
</xsd:documentation>
<xsd:appinfo>
<xdb:blue select="/myContacts"/>
<xdb:blue select="/myContacts/*"/>
<xdb:blue select="/myContacts/contact/name"/>
<xdb:blue select="/myContacts/contact/specialDate"/>
<xdb:blue select="/myContacts/contact/picture"/>
<xdb:blue select="/myContacts/contact/address"/>
<xdb:blue select="/myContacts/contact/telephoneNumber"/>
<xdb:blue select="/myContacts/contact/emailAddress"/>
<xdb:blue select="/myContacts/contact/webSite"/>
<xdb:blue select="/myContacts/contact/workInformation"/>
<xdb:blue select="/myContacts/contact/screenName"/>
<xdb:blue select="/myContacts/contact/identificationNumber"/>
<xdb:blue select="/myContacts/contact/userReference"/>
<xdb:blue select="/myContacts/contact/securityCertificate"/>
<xdb:red select="//@id"/>
<xdb:red select="//@creator"/>
<xdb:red select="//@changeNumber"/>
<xdb:red select="//cat"/>
<xdb:red select="//cat/@ref"/>
<xdb:red select="/myContacts/contact/@synchronize"/>
<xdb:red select="/myContacts/contact/gender"/>
<xdb:red select="/myContacts/contact/name/givenName"/>
<xdb:red select="/myContacts/contact/name/surname"/>
<xdb:red select="/myContacts/contact/name/fileAsName"/>
<xdb:red select="/myContacts/contact/puid"/>
<xdb:red select="/myContacts/contact/$any"/>
<xdb:red select="/myContacts/contact/name/$any"/>
<xdb:red select="/myContacts/contact/specialDate/$any"/>
<xdb:red select="/myContacts/contact/picture/$any"/>
<xdb:red select="/myContacts/contact/address/$any"/>
<xdb:red select="/myContacts/contact/emailAddress/$any"/>
<xdb:red select="/myContacts/contact/webSite/$any"/>
<xdb:red select="/myContacts/contact/screenName/$any"/>
<xdb:red select="/myContacts/contact/telephoneNumber/$any"/>
<xdb:red select="/myContacts/contact/identificationNumber/$any"/>
<xdb:red select="/myContacts/contact/workInformation/$any"/>
<xdb:red select="/myContacts/subscription/context/$any"/>
<xdb:red select="/myContacts/contact/emailAddress/email"/>
<xdb:red select="/myContacts/contact/screenName/name"/>
<xdb:red select="/myContacts/contact/telephoneNumber/number"/>
<xdb:red select="//subscription/trigger/@select"/>
<xdb:red select="//subscription/trigger/@baseChangeNumber"/>
<xdb:sqlScript source="myContactsCustomSQL.sql"/>
<xdb:namespaceMap>
<xdb:mapping alias="m" uri="http://schemas.microsoft.com/hs/2001/10/myContacts"/>
<xdb:mapping alias="mp" uri="http://schemas.microsoft.com/hs/2001/10/myProfile"/>
<xdb:mapping alias="mc" uri="http://schemas.microsoft.com/hs/2001/10/myCalendar"/>
<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/myProfile" schemaLocation="myProfile.xsd"/>
<!--
//
// myContacts
// - root element for the .NET Contacts service
//
-->
<xsd:element name="myContacts" type="myContactsType">
<xsd:annotation>
<xsd:documentation>
This element encapsulates the content document for this service. This element
establishes a global cache scope for the service and contains other
root-level system attributes for this instance of the service.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="myContactsType">
<xsd:annotation>
<xsd:documentation>
This element defines the basic myContacts types.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="contact" type="contactType">
<xsd:annotation>
<xsd:documentation>
A contact
</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="contactType">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="hs:catType"/>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="name" type="mp:nameType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="puid" type="hs:puidType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="specialDate" type="mp:specialDateBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="picture" type="mp:pictureBlueType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="gender" type="mp:genderType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="notes" type="hs:longText">
<xsd:annotation>
<xsd:documentation>
This element contains free-form notes related to this contact.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="address" type="mp:addressBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="emailAddress" type="mp:emailAddressBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="webSite" type="mp:webSiteBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="screenName" type="mp:screenNameBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="telephoneNumber" type="mp:telephoneNumberBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="identificationNumber" type="mp:identificationNumberBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="workInformation" type="mp:workInformationBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="userReference" type="mp:categorizedUserReferenceBlueType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="securityCertificate" type="mp:securityCertificateBlueType"/>
</xsd:sequence>
<xsd:attributeGroup ref="hs:standardBlueAttributeGroup"/>
<xsd:attribute name="synchronize" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute controls/enables synchronization
of this contact node. When enabled (value of "yes"),
.NET My Services will attempt to keep the contact
nodes in sync with the reference data stored in the referenced
PUID's myProfile default store. This is subject
to permission, of course. A value of "no" indicates that the system
should not attempt to keep this contact node in sync.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="yes"/>
<xsd:enumeration value="no"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>