﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="MdGuidelines.xsl" type="text/xsl"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" >
	<annotation>
		<documentation xml:lang="en">
			JobDetails schema for Reed Guidelines API
		</documentation>
	</annotation>

	<element type="integer" name="JobSourceId"/>
	<element type="string" name="JobSource"/>
	<element type="string" name="JobSourceDescription"/>
	<element type="string" name="JobSourceVersion"/>
	<element type="string" name="JobCode"/>
	<element type="string" name="JobTitle"/>
	<element type="string" name="JobDescription"/>
	<element type="string" name="JobClass"/>
	<element type="string" name="JobClassDescription"/>
	<element type="string" name="ONETCitation"/>
	<element name="DOTDetails">
		<complexType>
			<sequence>
				<element type="string" name="DOTJobCode"/>
				<element type="string" name="DOTJobTitle"/>
				<element name="DOTComponents">
					<complexType>
						<sequence>
							<element type="string" name="Component"/>
							<element type="string" name="ComponentName"/>
							<element type="integer" name="ComponentLevel"/>
							<element type="string" name="ComponentDescription"/>
							<element type="string" name="ComponentRange"/>
						</sequence>
					</complexType>
				</element>
			</sequence>
		</complexType>
	</element>
	<element name="ONETAbilities">
		<complexType>
			<sequence>
				<element type="string" name="ONETAbilityId"/>
				<element type="integer" name="ONETAbilityHierarchy"/>
				<element type="string" name="ONETAbilityName"/>
				<element type="string" name="ONETAbilityDescription"/>
				<element type="decimal" name="ONETAbilityScore"/>
				<element type="decimal" name="ONETAbilityQuantile"/>
				<element name="OnetAbilities">
					<complexType>
						<sequence>
							<element type="string" name="ONETAbilityId"/>
							<element type="integer" name="ONETAbilityHierarchy"/>
							<element type="string" name="ONETAbilityName"/>
							<element type="string" name="ONETAbilityDescription"/>
							<element type="decimal" name="ONETAbilityScore"/>
							<element type="decimal" name="ONETAbilityQuantile"/>
							<element name="OnetAbilities">
								<complexType>
									<sequence>
										<element type="string" name="ONETAbilityId"/>
										<element type="integer" name="ONETAbilityHierarchy"/>
										<element type="string" name="ONETAbilityName"/>
										<element type="string" name="ONETAbilityDescription"/>
										<element type="decimal" name="ONETAbilityScore"/>
										<element type="decimal" name="ONETAbilityQuantile"/>
									</sequence>
								</complexType>
							</element>
						</sequence>
					</complexType>
				</element>
			</sequence>
		</complexType>
	</element>
</schema>