<?xml version="1.0" encoding="UTF-8"?>
<csw:DescribeRecordResponse  
xmlns:ows="http://www.opengis.net/ows" xmlns:ogc="http://www.opengis.net/ogc" 
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:xlink="http://www.w3.org/1999/xlink" 
xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsCommon.xsd http://www.opengis.net/ogc http://schemas.opengis.net/filter/1.1.0/filterCapabilities.xsd http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd http://www.w3.org/1999/xlink http://schemas.opengis.net/xlink/1.0.0/xlinks.xsd">

	<csw:SchemaComponent targetNamespace="rim" schemaLanguage="XMLSCHEMA">	
		<!--For TypeName: Organization-->
		<TypeName name="Organization">		
			<!--Excerpted from ebRIM 3.0-->			
			<complexType name="IdentifiableType">
				<annotation>
					<documentation xml:lang="en">
						Common base type for all types that have unique identity.     
						If id is provided and is not in proper URN syntax then it is used for
						linkage within document and is ignored by the registry. In this case the
						registry generates a UUID URN for id attribute.
						id must not be null when object is retrieved from the registry.
				  </documentation>
				</annotation>
				<sequence>
					<element ref="rim:Slot" minOccurs="0" maxOccurs="unbounded"/>
				</sequence>
				<attribute name="id" type="anyURI" use="required"/>
				<attribute name="home" type="anyURI" use="optional"/>
				<!-- home attribute is required only for remote ObjectRef -->
			</complexType>


			<complexType name="RegistryObjectType">
				<complexContent>
					<extension base="rim:IdentifiableType">
						<sequence minOccurs="0">
							<element ref="rim:Name" minOccurs="0"/>
							<element ref="rim:Description" minOccurs="0"/>
							<element name="VersionInfo" type="rim:VersionInfoType" minOccurs="0"/>
							<element ref="rim:Classification" minOccurs="0" maxOccurs="unbounded"/>
							<element ref="rim:ExternalIdentifier" minOccurs="0" maxOccurs="unbounded"/>
						</sequence>
						<attribute name="lid" type="anyURI" use="optional"/>
						<attribute name="objectType" type="rim:referenceURI" use="optional"/>
						<attribute name="status" type="rim:referenceURI" use="optional"/>
					</extension>
				</complexContent>
			</complexType>
			<element name="RegistryObject" type="rim:RegistryObjectType" substitutionGroup="rim:Identifiable"/>
		
			<complexType name="OrganizationType">
				<annotation>
					<documentation xml:lang="en">Mapping of the same named interface in ebRIM.</documentation>
				</annotation>
				<complexContent>
					<extension base="rim:RegistryObjectType">
						<sequence>
							<element ref="rim:Address" minOccurs="0" maxOccurs="unbounded"/>
							<element ref="rim:TelephoneNumber" minOccurs="0" maxOccurs="unbounded"/>
							<element ref="rim:EmailAddress" minOccurs="0" maxOccurs="unbounded"/>
						</sequence>
						<attribute name="parent" type="rim:referenceURI"/>
						<attribute name="primaryContact" type="rim:referenceURI" use="optional"/>
					</extension>
				</complexContent>
			</complexType>
			
			<element name="Organization" type="rim:OrganizationType" substitutionGroup="rim:Identifiable"/>
		</TypeName>
	</csw:SchemaComponent>
	
	<!--For TypeName: Service-->
	<csw:SchemaComponent targetNamespace="rim" schemaLanguage="XMLSCHEMA">
		<TypeName name="Service">		
			<!--Excerpted from ebRIM 3.0-->			
			<complexType name="IdentifiableType">
				<annotation>
					<documentation xml:lang="en">
						Common base type for all types that have unique identity.     
						If id is provided and is not in proper URN syntax then it is used for
						linkage within document and is ignored by the registry. In this case the
						registry generates a UUID URN for id attribute.
						id must not be null when object is retrieved from the registry.
				  </documentation>
				</annotation>
				<sequence>
					<element ref="rim:Slot" minOccurs="0" maxOccurs="unbounded"/>
				</sequence>
				<attribute name="id" type="anyURI" use="required"/>
				<attribute name="home" type="anyURI" use="optional"/>
				<!-- home attribute is required only for remote ObjectRef -->
			</complexType>


			<complexType name="RegistryObjectType">
				<complexContent>
					<extension base="rim:IdentifiableType">
						<sequence minOccurs="0">
							<element ref="rim:Name" minOccurs="0"/>
							<element ref="rim:Description" minOccurs="0"/>
							<element name="VersionInfo" type="rim:VersionInfoType" minOccurs="0"/>
							<element ref="rim:Classification" minOccurs="0" maxOccurs="unbounded"/>
							<element ref="rim:ExternalIdentifier" minOccurs="0" maxOccurs="unbounded"/>
						</sequence>
						<attribute name="lid" type="anyURI" use="optional"/>
						<attribute name="objectType" type="rim:referenceURI" use="optional"/>
						<attribute name="status" type="rim:referenceURI" use="optional"/>
					</extension>
				</complexContent>
			</complexType>
			<element name="RegistryObject" type="rim:RegistryObjectType" substitutionGroup="rim:Identifiable"/>
		
			<complexType name="ServiceType">
				<complexContent>
					<extension base="rim:RegistryObjectType">
						<sequence>
							<element ref="rim:ServiceBinding" minOccurs="0" maxOccurs="unbounded"/>
						</sequence>
					</extension>
				</complexContent>
			</complexType>
			<element name="Service" type="rim:ServiceType" substitutionGroup="rim:Identifiable"/>
		</TypeName>
	</csw:SchemaComponent>

</csw:DescribeRecordResponse>

