<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://schemas.monster.com/Monster" xmlns="http://schemas.monster.com/Monster" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xsd:include schemaLocation="http://schemas.monster.com/current/xsd/Job.xsd"/>
	<xsd:element name="EmployerCandidateSearch" type="CandidateSearchType"/>
	<xsd:element name="TrovixCandidateSearch" type="TrovixCandidateSearchType"/>
	<xsd:complexType name="TrovixCandidateSearchType">
		<xsd:sequence>
			<xsd:element name="EmployerCandidateSearch" type="CandidateSearchType"/>
			<xsd:element ref="Job" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CandidateSearchType">
		<xsd:sequence>
			<xsd:element name="SearchReference" type="SearchReferenceType"/>
			<xsd:element name="NumSearchResultsDesired" type="xsd:int"/>
			<xsd:element name="SearchCriteria" type="SearchCriteriaType"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SearchReferenceType">
		<xsd:attribute name="monsterId" type="xsd:string" use="required"/>
	</xsd:complexType>
	<xsd:complexType name="SearchCriteriaType">
		<xsd:annotation>
			<xsd:documentation>Holds the set of search criteria for the candidate search</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="SearchDateRange" type="xsd:string" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<definition>Trovix date range used to control the set of candidates to search. Default is all candidates are searched</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="SearchTitles" type="SearchTitlesType">
				<xsd:annotation>
					<xsd:documentation>
						<definition>The set of titles to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="SearchLocations" type="SearchLocationsType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<definition>The set of locations to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="SkillKeywords" type="SkillKeywordsType">
				<xsd:annotation>
					<xsd:documentation>
						<definition>The set of skill/keywords to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="YearsOfExperience" type="xsd:string" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<definition>total years of experience to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Schools" type="SchoolsType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<definition>The set of schools to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="EducationLevels" type="EducationLevelsType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<definition>Education Level criteria to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Corporation" type="CorporationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<definition>Corporation criteria to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="JobDescription" type="xsd:string" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<definition>The Job description to use to drive the search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CorporationType">
		<xsd:sequence>
			<xsd:element name="CorporationName" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<definition>Company Name  to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="EducationLevelsType">
		<xsd:sequence>
			<xsd:element name="Degree" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<definition>School Degree to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SchoolsType">
		<xsd:sequence>
			<xsd:element name="SchoolNames" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<definition>School Names to search</definition>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SkillKeywordsType">
		<xsd:sequence>
			<xsd:element name="SkillKeyword" type="SkillKeywordType" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SkillKeywordType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
				<xsd:attribute name="context" type="xsd:string"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:complexType name="SearchTitlesType">
		<xsd:sequence>
			<xsd:element name="SearchTitle" type="SearchTitleType" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SearchTitleType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
				<xsd:attribute name="context" type="xsd:string"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:complexType name="SearchLocationsType">
		<xsd:sequence>
			<xsd:element name="SearchLocation" type="SearchLocationType" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SearchLocationType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
				<xsd:attribute name="locationId" type="xsd:string"/>
				<xsd:attribute name="locationRadius" type="xsd:string"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<!-- Faults -->
	<xsd:complexType name="EmployerCandidateSearchExceptionType">
		<xsd:sequence/>
	</xsd:complexType>
	<xsd:complexType name="TrovixCandidateSearchExceptionType">
		<xsd:sequence/>
	</xsd:complexType>
</xsd:schema>
