All Element Summary (local elements unified by type) |
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
If this element exists, it specifies an HTTP GET operation to be performed to delete the reference cleanly.
|
||||||||||
The document is the myDocuments root object for document properties, references, and content.
|
||||||||||
|
||||||||||
If 0, then the document should be displayed in normal UI.
|
||||||||||
The value of this optional element is returned by the .NET Documents service for an HTTP GET operation in
the response headers.
|
||||||||||
|
||||||||||
|
||||||||||
This element encapsulates the content document for the Microsoft® .NET Documents service.
|
||||||||||
|
||||||||||
|
||||||||||
The maximum number of bytes of storage that can be used by this instance of the .NET Documents service.
|
||||||||||
|
||||||||||
If 0, then the document is read/write, if 1, then read-only.
|
||||||||||
|
||||||||||
If this element exists, it specifies a URL that can be used to render HTML to display the referenced object.
|
||||||||||
|
||||||||||
|
||||||||||
If 0, then the file is not a system file.
|
||||||||||
The number of bytes actually in use by this instance of the .NET Documents service.
|
Complex Type Summary |
||||||||||
This element contains all file system store attributes for the document
|
||||||||||
This element defines the basic document type.
|
||||||||||
This element defines the basic folder type.
|
||||||||||
This element is used for document level locking.
|
||||||||||
This element defines the basic myDocuments types.
|
||||||||||
This element defines the basic property type.
|
||||||||||
Used by the service to restrict and report usage of storage.
|
||||||||||
This element defines a reference to a document.
|
||||||||||
This element contains information about a single stream within a document.
|
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/hs/2001/10/myDocuments" xmlns="http://schemas.microsoft.com/hs/2001/10/myDocuments" 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>
</xsd:annotation>
Schema for .NET Documents service.
</xsd:documentation>
Copyright (c) 2001 Microsoft Corporation. All rights reserved.
<xdb:blue select="/myDocuments"/>
</xsd:appinfo>
<xdb:blue select="/myDocuments/*"/>
<xdb:red select="//@creator"/>
<xdb:red select="//@changeNumber"/>
<xdb:red select="//@id"/>
<xdb:red select="//cat/@ref"/>
<xdb:red select="/myDocuments/document/name"/>
<xdb:red select="/myDocuments/document/$any"/>
<xdb:red select="/myDocuments/document/ref/@folderId"/>
<xdb:red select="/myDocuments/document/stream/@name"/>
<xdb:red select="/myDocuments/folder/name"/>
<xdb:red select="/myDocuments/folder/@parent"/>
<xdb:namespaceMap>
<xdb:mapping alias="m" uri="http://schemas.microsoft.com/hs/2001/10/myDocuments"/>
</xdb:namespaceMap>
<xdb:mapping alias="hs" uri="http://schemas.microsoft.com/hs/2001/10/core"/>
<xsd:import namespace="http://schemas.microsoft.com/hs/2001/10/core" schemaLocation="hscommon.xsd"/>
<!--
// // myDocuments // - root element for the .NET Documents service // -->
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
</xsd:complexType>
This element encapsulates the content document for the Microsoft® .NET Documents service.
</xsd:documentation>
This service provides scaleable storage for opaque file data. While some of the meta data can be promoted into the .NET My Services content document, the primary purpose of this service is to provide file storage, and to allow other services to access and grant access to this data. The cache scope for this document is the entire content document. That is, there is a single <b>changeNumber</b>
attribute, and it occurs at the root element. Any change to the document
changes this attribute. <!--
// // myDocumentsType // -->
<xsd:annotation>
</xsd:annotation>
</xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="document" type="documentType">
</xsd:sequence>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
The document is the
</xsd:documentation>
<b>myDocuments</b>
root object for document properties, references, and content.
<!--
// // documentType // -->
<xsd:annotation>
</xsd:complexType>
<xsd:documentation>
</xsd:annotation>
This element defines the basic document type.
</xsd:documentation>
As with a traditional operating system file store, documents in the .NET Documents service store opaque binary data. The content of this data is completely unknown to the service. Documents support multiple streams, and they always have at least a single stream with a null name. When adding a document, it must contain a single reference to an existing folder ID, and the name given must be unique within that folder. Otherwise the operation will fail. When the document is created, it automatically creates an empty stream object with a null name. Document attributes and properties can be updated if appropriate. Restrictions concerning references and streams are enforced when updating a document. If an individual document is deleted (by specifying the document ID in the .NET My Services Delete method) then all references will be deleted, all streams will be deleted, and the document will be deleted immediately. If the final reference object within the document object is deleted, then the document object and all streams will be deleted. <xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="hs:catType"/>
</xsd:sequence>
<xsd:annotation>
</xsd:annotation>
</xsd:element>
<!--
// // folderType // -->
<xsd:annotation>
</xsd:complexType>
<xsd:documentation>
</xsd:annotation>
This element defines the basic folder type.
</xsd:documentation>
Folders have both a path and a unique server-generated ID. Documents are associated, through a reference, only with the folder ID. They are not "contained" within a folder in the .NET Documents content document. When adding a folder, the folder must have a unique path name, and if the folder has a parent, then the first portion of the folder path must match the path of the parent. When changing the path name of a folder, the name must not conflict with an existing name. If the name does not conflict, then an update of a folder that is the parent of other folders has the side-effect of changing the path="..." attribute of all child folders to reflect the new parent path name. For a folder to be deleted, there must exist no other folder which is a child of the folder and there must be no documents that are referenced by the folder. <xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="name" type="hs:localizableString">
</xsd:sequence>
</xsd:attribute>
<xsd:annotation>
</xsd:annotation>
</xsd:element>
<xsd:annotation>
</xsd:annotation>
</xsd:attribute>
<!--
// // attributeType // -->
<xsd:annotation>
</xsd:complexType>
<xsd:documentation>
</xsd:annotation>
This element contains all file system store attributes for the document
</xsd:documentation>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="hidden" type="xsd:int">
</xsd:sequence>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
If 0, then the document should be displayed in normal UI. If 1, then it should be hidden from most views.
</xsd:documentation>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
If 0, then the file is not a system file. If 1, then file should be treated as a special system file.
</xsd:documentation>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
If 0, then the document is read/write, if 1, then read-only.
</xsd:documentation>
<!--
// // refType // -->
<xsd:annotation>
</xsd:complexType>
<xsd:documentation>
</xsd:annotation>
This element defines a reference to a document.
</xsd:documentation>
Documents are all ref-counted objects. These references can be deleted through the standard delete method. When the final reference is deleted, the file and all associated metadata are deleted. References always refer to a specific folder. This means that documents conceptually "exist" within one or more Folders. The traditional "file name" for the document is unique per reference. References can also specify a time to live. This allows other services to post data to a user's store temporarily. For example, they can use the user's store to create temp files. If all references have expired then the document is automatically deleted. However, if any reference exists that has not expired, then all references, including ones that have expired, remain valid. When adding a reference to an existing document, the reference must refer to an existing folder ID, and the name given must be unique within that folder. Updates to references require that any update leave the name unique within the referencing folder. If the final reference to a document is deleted, then the deletion of the reference results in the deletion of the document and all associated streams. <xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="delete" type="xsd:int">
</xsd:sequence>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
If this element exists, it specifies an HTTP GET operation to be performed to delete the reference cleanly.
</xsd:documentation>
This would be placed here by another service that stored data in the .NET Documents service.
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
If this element exists, it specifies a URL that can be used to render HTML to display the referenced object.
</xsd:documentation>
For example, if the document is a photograph in a photo album, this URL would show the document in the appropriate context.
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
The ID of the folder object that holds this reference to this object.
</xsd:documentation>
<xsd:annotation>
</xsd:annotation>
</xsd:attribute>
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
If this attribute exists, then it specifies the number of minutes this reference is valid relative to the last
</xsd:documentation>
access time for the document. <!--
// // streamType // -->
<xsd:annotation>
</xsd:complexType>
<xsd:documentation>
</xsd:annotation>
This element contains information about a single stream within a document.
</xsd:documentation>
Documents support multiple streams of data. Each stream is stored as a separate object from the document in the .NET My Services content document. Streams have names that must be unique to a given document. When adding a stream, stream names must be unique for a given document. When updating a stream, stream names must be unique within a given document. The null stream can not be renamed. The null stream may not be deleted. Any other stream may be deleted. <xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="httpHeaders" type="xsd:string">
</xsd:sequence>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
The value of this optional element is returned by the .NET Documents service for an HTTP GET operation in
</xsd:documentation>
the response headers. If this element is empty, then no additional response headers will be returned. If this element does not exist, the default response header for the file extension will be returned.
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
This attribute specifies a name for the stream which is unique within this document.
</xsd:documentation>
There is always one stream with the null name ("").
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
This attribute specifies the HTTP reference to the actual stream object data.
</xsd:documentation>
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
This attribute specifies the size of the stream data in bytes.
</xsd:documentation>
<!--
// // lockType // -->
<xsd:annotation>
</xsd:complexType>
<xsd:documentation>
</xsd:annotation>
This element is used for document level locking.
</xsd:documentation>
Because locks must be taken in an atomic fashion, this method, rather than a standard update, is necessary . If the lock is successfully taken, then it can be released by calling the update <b>method</b>
and setting
the taken attribute to 0. If a lock has been taken but should be renewed, set the <b>Force</b>
flag to TRUE
when calling this method. The <b>Force</b>
flag should be used only to renew a lock that was previously successfully
taken. Parameters <li>
The query must result in a LOCK element for a specific document.
</li>
<li>
The single BOOL parameter
</li>
<b>Force</b>
which, if true, takes the lock and ignores the current state of the
<b>Taken</b>
attribute.
<li>
A
</li>
<b>datetime</b>
that specifies when the lock should automatically expire. To avoid holding locks when the client holding the lock crashes, this should be set to a reasonably
small delta from the time the lock is taken. It is best to periodically refresh the lock and have relatively small lock expirations times.
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
If 0, then no lock has been taken. If 1, then a lock is being held for the document.
</xsd:documentation>
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
If the lock has been taken, then this optional attribute specifies when the lock should be automatically released.
</xsd:documentation>
<!--
// // quotaType // -->
<xsd:annotation>
</xsd:complexType>
<xsd:documentation>
</xsd:annotation>
Used by the service to restrict and report usage of storage.
</xsd:documentation>
The <b>quota</b>
element can be updated only by a client mapped to the Provision role.
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="provisioned" type="xsd:int">
</xsd:sequence>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
The maximum number of bytes of storage that can be used by this instance of the .NET Documents service.
</xsd:documentation>
<xsd:annotation>
</xsd:element>
<xsd:documentation>
</xsd:annotation>
The number of bytes actually in use by this instance of the .NET Documents service.
</xsd:documentation>
<!--
// // propType // -->
<xsd:annotation>
</xsd:annotation>
</xsd:complexType>
<xsd:sequence>
</xsd:sequence>
</xsd:schema>
|