<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified">
	<xs:complexType name="BODYType">
		<xs:sequence>
			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
			<xs:element name="STATUS" type="STATUSType" />
			<xs:element ref="SECURITY_PARAMETERS" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CHILDType">
		<xs:attribute name="id" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="CHILDRENType">
		<xs:sequence>
			<xs:element name="CHILD" type="CHILDType" minOccurs="0"
				maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CONFIGURATIONType">
		<xs:all>
			<xs:element ref="IMAGE_URL" />
			<xs:element ref="NAME" />
			<xs:element name="OWNER" type="OWNERType" />
			<xs:element name="MANAGERS" type="MANAGERSType" minOccurs="0" />
			<xs:element name="BASKET" type="BASKETType" minOccurs="0" />
			<xs:element name="FATHER" type="FATHERType" />
			<xs:element name="DESCRIPTION" type="DESCRIPTIONType" />
			<xs:element ref="SUBJECT" />
			<xs:element ref="PRIVATE" />
			<xs:element ref="VISIBLE" />
			<xs:element ref="CONTAINER" />
			<xs:element name="CHILDREN" type="CHILDRENType" />
			<xs:element ref="MEMBERSHIP_CONDITION" />
			<xs:element ref="ICON_URI" />
		</xs:all>
	</xs:complexType>
	<xs:element name="CONTAINER">
		<xs:simpleType>
			<xs:restriction base="xs:int">
				<xs:enumeration value="0" />
				<xs:enumeration value="1" />
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:complexType name="COUNT_DOCSType">
		<xs:attribute name="number" type="xs:int" use="required" />
		<xs:attribute name="last_update" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="DATE_OF_CREATIONType">
		<xs:attribute name="value" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="MANAGERSType">
		<xs:sequence>
			<xs:element name="MANAGER" type="MANAGERType" minOccurs="0"
				maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DESCRIPTIONType">
		<xs:sequence>
			<xs:element name="FIELD" type="FIELDType" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="FATHERType">
		<xs:attribute name="id" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="BASKETType">
		<xs:sequence>
			<xs:element name="DOCUMENT" type="BASKETDOCUMENTType"
				minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MANAGERType" mixed="true">
		<xs:attribute name="id" type="xs:string" use="required" />
		<xs:attribute name="role" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="BASKETDOCUMENTType" mixed="true">
		<xs:attribute name="id" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="FIELDType" mixed="true">
		<xs:attribute name="ord" type="xs:int" use="required" />
		<xs:attribute name="label" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="HEADERType">
		<xs:all>
			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
		</xs:all>
	</xs:complexType>
	<xs:element name="MEMBERSHIP_CONDITION" type="xs:string" />
	<xs:element name="NAME" type="xs:string" />
	<xs:element name="IMAGE_URL" type="xs:string" />
	<xs:complexType name="OWNERType">
		<xs:attribute name="id" type="xs:string" use="required" />
	</xs:complexType>
	<xs:element name="PRIVATE">
		<xs:simpleType>
			<xs:restriction base="xs:int">
				<xs:enumeration value="0" />
				<xs:enumeration value="1" />
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:complexType name="RESOURCE_IDENTIFIERType">
		<xs:attribute name="value" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="RESOURCE_KINDType">
		<xs:attribute name="value" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="CollectionDSResources" />
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="RESOURCE_PROFILE">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="HEADER" type="HEADERType" />
				<xs:element name="BODY" type="BODYType" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="RESOURCE_TYPEType">
		<xs:attribute name="value" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="CollectionDSResourceType" />
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="RESOURCE_URIType">
		<xs:attribute name="value" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="RETRIEVAL_CONDITIONType" mixed="true">
		<xs:attribute name="frozen" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:int">
					<xs:enumeration value="0" />
					<xs:enumeration value="1" />
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
	<xs:complexType name="STATUSType">
		<xs:all>
			<xs:element name="COUNT_DOCS" type="COUNT_DOCSType" />
			<xs:element name="RETRIEVAL_CONDITION" type="RETRIEVAL_CONDITIONType" />
		</xs:all>
	</xs:complexType>
	<xs:element name="SUBJECT" type="xs:string" />
	<xs:element name="VISIBLE">
		<xs:simpleType>
			<xs:restriction base="xs:int">
				<xs:enumeration value="0" />
				<xs:enumeration value="1" />
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="ICON_URI" type="xs:string" />
</xs:schema>
