<?xml version="1.0" encoding="UTF-8"?>
<!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<!--DT (Distributed Thesaurus) format: Ceri Binding, University of Glamorgan-->
	<!--term relationships-->
	<xs:complexType name="relationship">
		<xs:attribute name="href" type="xs:string" use="required"/>
	</xs:complexType>
	<!--term label-->
	<xs:element name="label" type="xs:string"/>
	<!--preferred terms element group-->
	<xs:group name="pt">
		<xs:sequence>
			<xs:element ref="label" minOccurs="1" maxOccurs="1"/>			
			<xs:choice minOccurs="1" maxOccurs="unbounded">
				<xs:element name="bt" type="relationship"/>
				<xs:element name="nt" type="relationship"/>
			</xs:choice>
			<xs:choice minOccurs="0" maxOccurs="unbounded">
				<xs:element name="rt" type="relationship" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="uf" type="relationship" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="alt" type="relationship" minOccurs="0" maxOccurs="unbounded"/>
			</xs:choice>
			<xs:element name="sn" type="xs:string" minOccurs="0" maxOccurs="1"/>
			<xs:element name="hn" type="xs:string" minOccurs="0" maxOccurs="1"/>			
		</xs:sequence>
	</xs:group>
	<!--nonpreferred terms element group-->
	<xs:group name="npt">
		<xs:sequence>
			<xs:element ref="label"/>
			<xs:element name="use" type="relationship" minOccurs="1" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:group>
	<!--main root element term - is either preferred or nonpreferred-->
	<xs:element name="term">
		<xs:complexType>
			<xs:choice minOccurs="1" maxOccurs="1">
				<xs:group ref="pt"/>
				<xs:group ref="npt"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
</xs:schema>

