<?xml version="1.0" encoding="UTF-8"?>
<!-- yheader version changed from 2.5 to 3.0 -->
<!-- yjob version changed from 2.5 to 3.0 -->
<xs:schema xmlns="http://www.w3.org/2005/Atom" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ycontrol="http://schemas.yahoo.com/ypost/control/1.0" xmlns:yheader="http://schemas.yahoo.com/ypost/jobsHeader/3.0" xmlns:yjob="http://schemas.yahoo.com/ypost/jobs/3.0" targetNamespace="http://www.w3.org/2005/Atom" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://schemas.yahoo.com/ypost/jobs/3.0" schemaLocation="hjats_job.xsd"/>
	<xs:import namespace="http://schemas.yahoo.com/ypost/jobsHeader/3.0" schemaLocation="hjats_auth.xsd"/>
	<xs:import namespace="http://schemas.yahoo.com/ypost/control/1.0" schemaLocation="hjats_control.xsd"/>

	<xs:element name="updated">
		<xs:simpleType>
			<xs:restriction base="xs:dateTime">
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="title" type="xs:string" />
	<xs:element name="summary">
		<xs:complexType>
		    <xs:simpleContent>
                <xs:extension base="xs:string">
					<xs:attribute name="type" use="required">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:enumeration value="html"/>
								<xs:enumeration value="text"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="id" type="xs:string" />
	<xs:element name="feed">
		<xs:complexType>
			<xs:sequence>
				<!-- Modified header to choose between Login and Token -->
				<xs:choice minOccurs="1" maxOccurs="1">
					<xs:element ref="yheader:Credential"/>
				</xs:choice>
				<!-- id element will contain OSS Account ID -->
				<xs:element ref="id"/>
				<xs:element ref="title"/>
				<!-- Same as JobType -->
				<xs:element ref="yjob:ListingType"/>
				<!-- Changed from Mandatory to optional -->
				<xs:element ref="yjob:AccountTagId" minOccurs="0" />
				<xs:element ref="yjob:EmployerProfileId" minOccurs="0"/>
				<!-- Changed from Mandatory to optional -->
				<xs:element ref="yjob:FeedStatusEmail" minOccurs="0" />
				<xs:element ref="yjob:ExtraAttribute" minOccurs="0"/>
				<xs:element ref="entry" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="entry">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ycontrol:Operation" minOccurs="0" />
				
				<!-- id will contain Job Label data -->
				<xs:element ref="id"/>
				<xs:element ref="yjob:IoNumber" minOccurs="0"/>
				
				<!-- Same as ProfileId -->
				<xs:element ref="yjob:EmployerProfileId" minOccurs="0"/>
				<xs:element ref="title"/>
				<xs:element ref="updated"/>
				
				<!-- Same as RecruiterContact -->
				<xs:element ref="yjob:PartnerContact" minOccurs="0"/>
				<xs:element ref="yjob:CustomerAccountId" minOccurs="0"/>
				<xs:element ref="yjob:CustomerAccountName" minOccurs="0"/>
				<xs:element ref="yjob:CustomerAccountContact" minOccurs="0"/>
				<xs:element ref="yjob:CustomerAccountAddress" minOccurs="0"/>
				<xs:element ref="yjob:Public" minOccurs="0"/>
				
				<!-- Change from mandatory to optional -->
				<xs:element ref="yjob:PostDuration" minOccurs="0"/>
				
				<!-- Added new element -->
				<xs:element ref="yjob:BoldJobDuration" minOccurs="0"/>
				
				<!-- Added new element -->
				<xs:element ref="yjob:CompanyConfidential" minOccurs="0"/>

				<!-- Same as HiringCompany -->
				<!-- Change from mandatory to optional -->
				<xs:element ref="yjob:EmployerName" minOccurs="0" />
				<xs:element ref="yjob:EmployerEmail" minOccurs="0"/>
				<xs:element ref="yjob:DisplayEmployerName" minOccurs="0" />

  				<!-- Added new element ApplyType -->
				<xs:element ref="yjob:ApplyType" minOccurs="0"/>
				
				<!-- Added new element ApplySettings -->
				<xs:element ref="yjob:ApplySettings" minOccurs="0" />
				
				<!-- Changed to add minOccurs=1 -->
				<xs:element ref="yjob:Location" minOccurs="1" maxOccurs="6"/>
				
				<!-- Changed to add minOccurs=0, same as Category. -->
				<xs:element ref="yjob:Industry" minOccurs="1" maxOccurs="2"/>
				
				<!-- Same as Sub Category -->
				<xs:element ref="yjob:Function"/>
				
				<!-- Same as PositionType -->
				<xs:element ref="yjob:HireType"/>
				
				<!-- Same as Commitment  -->
				<xs:element ref="yjob:Duration"/>
				
				<!-- Do we need Experience Level -->
				<xs:element ref="yjob:Experience"/>
				
				<!-- Same as Education -->
				<!-- Do we need a Degree Preference -->
				<xs:element ref="yjob:Degree" minOccurs="0"/>
				<xs:sequence minOccurs="0">
                                   <xs:element ref="yjob:SalaryType" />
                                   <!-- Same as MinSal -->
                                   <xs:element ref="yjob:SalaryFrom" />
                                   <!-- Same as MaxSal -->
                                   <xs:element ref="yjob:SalaryTo" />
                                   <!-- Added new element AdditionalComp -->
                                   <xs:element ref="yjob:AdditionalComp" />
                                   <xs:element ref="yjob:DisplaySalary" />
                                </xs:sequence>
                                <!-- Added new element TravelAmount -->
                                <xs:element ref="yjob:TravelAmount" minOccurs="0" />
                                <!-- Same as checkWorkAuth -->
				<xs:element ref="yjob:EmploymentAuthorization" minOccurs="0"/>
				<!-- Same as QuestionnaireId -->
				<xs:element ref="yjob:HiringTest" minOccurs="0"/>
				<xs:element ref="yjob:FilterResume" minOccurs="0"/>
				<!-- Same as shortDescription -->
				<xs:element ref="summary" />
				<!-- Same as Description -->
				<xs:element ref="content"/>
				<!-- Added new element ResponseSettings -->
				<xs:element ref="yjob:ResponseSettings" minOccurs="0" />				
				<xs:element ref="yjob:ExtraAttribute" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="content">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base="xs:string">
					<xs:attribute name="type" use="required">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:enumeration value="html"/>
								<xs:enumeration value="text"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	
</xs:schema>
