<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by Paolo (ISTI 
	- CNR) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified">
	<xs:annotation>
		<xs:documentation>Standard part of any Resource Profile
		</xs:documentation>
	</xs:annotation>
	<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="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="DATEType" />
		</xs:all>
	</xs:complexType>
	<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="RESOURCE_IDENTIFIERType">
		<xs:attribute name="value" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="RESOURCE_TYPEType">
		<xs:attribute name="value" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="MetadataFormatDSResourceType" />
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="RESOURCE_KINDType">
		<xs:attribute name="value" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="VocabularyDSResources" />
				</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="DATEType">
		<xs:attribute name="value" type="xs:dateTime" use="required" />
	</xs:complexType>
	<xs:annotation>
		<xs:documentation>Customisable part of any Resource Profile
		</xs:documentation>
	</xs:annotation>
	<xs:complexType name="CONFIGURATIONType">
		<xs:sequence>
			<xs:element ref="VOCABULARY_NAME" />
			<xs:element ref="VOCABULARY_DESCRIPTION" />
			<xs:element name="METADATAFORMATS" type="VOCABULARYTERMType" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="VOCABULARYTERMType">
		<xs:sequence>
			<xs:element name="METADATAFORMAT" type="TERMType"
				maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TERMType">
		<xs:attribute name="name" type="xs:string" use="required" />
		<xs:attribute name="Prefix" type="xs:string" use="required" />
		<xs:attribute name="NameSpace" type="xs:string" use="required" />
		<xs:attribute name="Schema" type="xs:string" use="required" />
		<xs:attribute name="IndexPrefix" type="xs:string" use="optional" />
		<xs:attribute name="IndexLayout" type="xs:string" use="optional" />
		<xs:attribute name="IndexDate" type="xs:string" use="optional" />
		<xs:attribute name="IndexQuery" type="xs:string" use="optional" />
	</xs:complexType>
	<xs:complexType name="STATUSType">
		<xs:all>
			<xs:element name="LAST_UPDATE" type="DATEType" />
		</xs:all>
	</xs:complexType>
	<xs:element name="VOCABULARY_NAME" type="xs:string" />
	<xs:element name="VOCABULARY_DESCRIPTION" type="xs:string" />
	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
</xs:schema>
