<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Nicolas Cochard (Porism Limited) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schema.bsi-global.com/BS8723-5/" xmlns:bs8723="http://schema.bsi-global.com/BS8723-5/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:eGMS="http://www.govtalk.gov.uk/CM/gms" targetNamespace="http://schema.bsi-global.com/BS8723-5/" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="BS8723-5-Common.xsd"/>
	<xs:import namespace="http://www.govtalk.gov.uk/CM/gms" schemaLocation="BS8723-5-eGms.xsd"/>
	<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="BS8723-5-DCTerms.xsd"/>
	<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="BS8723-5-DC.xsd"/>
	<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
	<xs:element name="Thesaurus" type="ThesaurusCoreStructure">
		<xs:annotation>
			<xs:documentation>Root element of the file defining a Thesaurus in the BS8723-5-Core format.</xs:documentation>
		</xs:annotation>
		<xs:unique name="ThesaurusConceptIdentifier">
			<xs:annotation>
				<xs:documentation>Makes the identifier of the custom types of equivalence unique.</xs:documentation>
			</xs:annotation>
			<xs:selector xpath="bs8723:ThesaurusConcept"/>
			<xs:field xpath="@dc:identifier"/>
		</xs:unique>
		<xs:unique name="ThesaurusTermIdentifier">
			<xs:annotation>
				<xs:documentation>Makes the identifier of the terms unique.</xs:documentation>
			</xs:annotation>
			<xs:selector xpath="bs8723:ThesaurusConcept/bs8723:PreferredTerm|bs8723:ThesaurusConcept/bs8723:NonPreferredTerm"/>
			<xs:field xpath="@dc:identifier"/>
		</xs:unique>
		<xs:keyref name="ThesaurusConceptBroader" refer="ThesaurusConceptIdentifier">
			<xs:annotation>
				<xs:documentation>Validates the references to broader concepts.</xs:documentation>
			</xs:annotation>
			<xs:selector xpath="bs8723:ThesaurusConcept/bs8723:HasBroaderConcept"/>
			<xs:field xpath="."/>
		</xs:keyref>
		<xs:keyref name="ThesaurusConceptNarrower" refer="ThesaurusConceptIdentifier">
			<xs:annotation>
				<xs:documentation>Validates the references to narrower concepts.</xs:documentation>
			</xs:annotation>
			<xs:selector xpath="bs8723:ThesaurusConcept/bs8723:HasNarrowerConcept"/>
			<xs:field xpath="."/>
		</xs:keyref>
		<xs:keyref name="ThesaurusConceptRelated" refer="ThesaurusConceptIdentifier">
			<xs:annotation>
				<xs:documentation>Validates the references to narrower concepts.</xs:documentation>
			</xs:annotation>
			<xs:selector xpath="bs8723:ThesaurusConcept"/>
			<xs:field xpath="bs8723:HasRelatedConcept"/>
		</xs:keyref>
	</xs:element>
	<xs:complexType name="ThesaurusCoreStructure">
		<xs:annotation>
			<xs:documentation>Data type defining the structure of a Thesaurus in the BS8723-5-Core format</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ThesaurusConcept" type="ThesaurusConceptCoreStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Concepts composing the Thesaurus</xs:documentation>
				</xs:annotation>
				<xs:unique name="TermIdentifier">
					<xs:annotation>
						<xs:documentation>Make the identifier of the terms unique.</xs:documentation>
					</xs:annotation>
					<xs:selector xpath="bs8723:ThesaurusConcept/bs8723:PreferredTerm|bs8723:ThesaurusConcept/bs8723:NonPreferredTerm"/>
					<xs:field xpath="@dc:identifier"/>
				</xs:unique>
				<xs:unique name="PreferredTermIdentifier">
					<xs:annotation>
						<xs:documentation>Make the identifier of the preferred terms unique.</xs:documentation>
					</xs:annotation>
					<xs:selector xpath="bs8723:ThesaurusConcept/bs8723:PreferredTerm"/>
					<xs:field xpath="@dc:identifier"/>
				</xs:unique>
				<xs:unique name="NonPreferredTermIdentifier">
					<xs:annotation>
						<xs:documentation>Make the identifier of the non-preferred terms unique.</xs:documentation>
					</xs:annotation>
					<xs:selector xpath="bs8723:ThesaurusConcept/bs8723:NonPreferredTerm"/>
					<xs:field xpath="@dc:identifier"/>
				</xs:unique>
				<xs:keyref name="UF" refer="NonPreferredTermIdentifier">
					<xs:annotation>
						<xs:documentation>Validates the "Use For" references.</xs:documentation>
					</xs:annotation>
					<xs:selector xpath="bs8723:ThesaurusConcept/bs8723:PreferredTerm"/>
					<xs:field xpath="bs8723:UF"/>
				</xs:keyref>
				<xs:keyref name="USE" refer="PreferredTermIdentifier">
					<xs:annotation>
						<xs:documentation>Validates the "Use" relationships.</xs:documentation>
					</xs:annotation>
					<xs:selector xpath="bs8723:ThesaurusConcept/bs8723:NonPreferredTerm"/>
					<xs:field xpath="bs8723:USE"/>
				</xs:keyref>
			</xs:element>
		</xs:sequence>
		<xs:attribute ref="dc:identifier" use="optional"/>
	</xs:complexType>
	<xs:complexType name="ThesaurusConceptCoreStructure">
		<xs:annotation>
			<xs:documentation>Data type defining the structure of a concept in the BS8723-5-Core format</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ThesaurusConceptCommonStructure">
				<xs:sequence>
					<xs:sequence>
						<xs:element name="ScopeNote" type="ScopeNoteCoreStructure" minOccurs="0"/>
						<xs:element name="PreferredTerm" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Preferred term of the concept.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="PreferredTermCoreStructure"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
						<xs:element name="NonPreferredTerm" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Non-preferred terms of the concept.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:complexContent>
									<xs:extension base="SimpleNonPreferredTermCoreStructure"/>
								</xs:complexContent>
							</xs:complexType>
						</xs:element>
						<xs:element name="HasBroaderConcept" type="HierarchicalRelationshipCoreType" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Reference to the broader concepts of this concept.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="HasNarrowerConcept" type="HierarchicalRelationshipCoreType" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Reference to the narrower concepts of this concept.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="HasRelatedConcept" type="AssociativeRelationshipCoreType" minOccurs="0" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Reference to the related concepts of this concept.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ScopeNoteCoreStructure">
		<xs:annotation>
			<xs:documentation>Data type defining the structure of scope notes in the BS8723-5-Core format</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="LexicalValue"/>
			<xs:element ref="dcterms:created" minOccurs="0"/>
			<xs:element ref="dcterms:modified" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PreferredTermCoreStructure">
		<xs:annotation>
			<xs:documentation>Data type defining the structure of a preferred term in the BS8723-5-Core format</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ThesaurusTermCoreStructure">
				<xs:sequence>
					<xs:element name="UF" type="EquivalenceCoreType" minOccurs="0" maxOccurs="unbounded">
						<xs:annotation>
							<xs:documentation>References the non-preferred terms of the concept.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="SimpleNonPreferredTermCoreStructure">
		<xs:annotation>
			<xs:documentation>Data type defining the structure of non-preferred term in the BS8723-5-Core format</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="ThesaurusTermCoreStructure">
				<xs:sequence>
					<xs:element name="USE" type="EquivalenceCoreType">
						<xs:annotation>
							<xs:documentation>References the preferred term of the concept.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>
