complexType "documentType"
Namespace:
Content:
complex, 3 attributes, 9 elements, elem. wildcard
Defined:
globally in myDocuments.xsd; see XML source
Includes:
definitions of 9 elements, elem. wildcard
Used:
XML Representation Summary
<...
   
 = 
xsd:nonNegativeInteger
 = 
xsd:hexBinary
 = 
xsd:string
   
>
   
Content: 
</...>
Content Model Elements (9):
attributes (type attributeType), cat (in document), creationDate (in document), lastAccessDate (in document), lock (in document), name (type hs:localizableString), properties (in document), ref (in document), stream (in document)
All Direct / Indirect Based Elements (1):
document (in myDocuments)
Known Usage Locations
Annotation
This element defines the basic document type. 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.
XML Source (see within schema source)
<xsd:complexType name="documentType">
<xsd:annotation>
<xsd:documentation>
This element defines the basic document type.

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:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="hs:catType"/>
<xsd:element maxOccurs="1" minOccurs="1" name="name" type="hs:localizableString">
<xsd:annotation>
<xsd:documentation>
The name of the document.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="lock" type="lockType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="attributes" type="attributeType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="lastAccessDate" type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="creationDate" type="xsd:dateTime"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ref" type="refType"/>
<xsd:element maxOccurs="unbounded" minOccurs="1" name="stream" type="streamType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="properties" type="propType"/>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
</xsd:sequence>
<xsd:attributeGroup ref="hs:standardBlueAttributeGroup"/>
</xsd:complexType>
Attribute Detail (all declarations; 3/3)
changeNumber
Type:
Use:
required
Defined:
XML Source (see within schema source)
<xsd:attribute name="changeNumber" type="changeNumberType" use="required"/>

creator
Type:
Use:
required
Defined:
XML Source (see within schema source)
<xsd:attribute name="creator" type="creatorType" use="required"/>

id
Type:
Use:
required
Defined:
XML Source (see within schema source)
<xsd:attribute name="id" type="idType" use="required"/>
Content Element Detail (all declarations; 10/10)
attributes
Type:
attributeType, complex content
Defined:
locally within (this) documentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="attributes" type="attributeType"/>

cat
Type:
hs:catType, empty content
Defined:
locally within (this) documentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="hs:catType"/>

creationDate
Type:
xsd:dateTime, predefined, simple content
Defined:
locally within (this) documentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="creationDate" type="xsd:dateTime"/>

lastAccessDate
Type:
xsd:dateTime, predefined, simple content
Defined:
locally within (this) documentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="lastAccessDate" type="xsd:dateTime"/>

lock
Type:
lockType, empty content
Defined:
locally within (this) documentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="lock" type="lockType"/>

name
Type:
hs:localizableString, simple content
Defined:
locally within (this) documentType complexType
The name of the document.
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="1" name="name" type="hs:localizableString">
<xsd:annotation>
<xsd:documentation>
The name of the document.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

properties
Type:
propType, complex content
Defined:
locally within (this) documentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="properties" type="propType"/>

ref
Type:
refType, complex content
Defined:
locally within (this) documentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ref" type="refType"/>

stream
Type:
streamType, complex content
Defined:
locally within (this) documentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="1" name="stream" type="streamType"/>

{any element with non-schema namespace}
Defined:
within (this) documentType complexType
XML Source (see within schema source)
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>