<?xml version="1.0" encoding="UTF-8"?>
<!--W3C Schema generated by XMLSpy v2007 sp2 (http://www.altova.com)-->
<xs:schema xmlns="http://schemas.yahoo.com/ypost/jobs/3.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.yahoo.com/ypost/jobs/3.0">

  <xs:element name="CountryCode" type="xs:string" />
  
  <xs:simpleType name="COUNTRY_CODE">
    <xs:restriction base="xs:string">
      <xs:length value="2"/>
    </xs:restriction>
  </xs:simpleType>
  
  
  <xs:element name="Municipality" type="xs:string" />
  <xs:element name="Region" type="xs:string" />
  <xs:element name="PostalCode" type="xs:string" />
  <xs:element name="LocationText" type="xs:string" />
  
  <xs:complexType name="LOCATION">
    <xs:choice>
      <xs:sequence>
        <!-- Same as City -->
        <xs:element ref="Municipality"  minOccurs="0"/>

        <!-- Same as State -->
        <xs:element ref="Region"  minOccurs="0"/>

        <!-- Same as Zip -->
        <xs:element ref="PostalCode"  minOccurs="0"/>

        <!-- Same as Country -->
        <xs:element ref="CountryCode" minOccurs="0"/>
      </xs:sequence>
      <xs:element ref="LocationText"/>
    </xs:choice>
  </xs:complexType>
    
  <xs:element name="AddressLine" type="xs:string"/>
  
  <xs:complexType name="ADDRESS">
    <xs:choice>
      <xs:sequence>
        <xs:element ref="AddressLine" minOccurs="1" maxOccurs="unbounded"/>
        <xs:element ref="Municipality" minOccurs="0"/>
        <xs:element ref="Region" minOccurs="0"/>
        <xs:element ref="PostalCode" minOccurs="0"/>
        <xs:element ref="CountryCode" minOccurs="0"/>
      </xs:sequence>
      <xs:element name="AddressText" type="xs:string"/>
    </xs:choice>
  </xs:complexType>
  
  <xs:complexType name="NAME">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="Type" type="xs:string"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  
  <xs:complexType name="PHONE_NUMBER">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="Type" type="xs:string"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  
  <xs:simpleType name="URL">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  
  <xs:complexType name="EMAIL">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="Type" type="xs:string"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  
  <xs:element name="Name" type="NAME"/>
  <xs:element name="Phone" type="PHONE_NUMBER"/>
  <xs:element name="Email" type="EMAIL"/> 
      
  <xs:complexType name="CONTACT">
    <xs:sequence>
      <xs:element ref="Name" minOccurs="1" maxOccurs="unbounded"/>
      <xs:element ref="Phone" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="Email" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  
  <xs:complexType name="CURRENCY_VALUE">
    <xs:simpleContent>
      <xs:extension base="xs:decimal">
        <xs:attribute name="Currency" use="required">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:length value="3"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  
  <xs:complexType name="UNIT_VALUE">
    <xs:simpleContent>
      <xs:extension base="xs:decimal">
        <xs:attribute name="Unit" use="required" type="xs:string"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  
  <xs:complexType name="EXTRA_ATTRIBUTE">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="Name" use="required" type="xs:string"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>


  	<xs:element name="SalaryType" type="xs:string" />
	<xs:element name="SalaryTo" type="CURRENCY_VALUE" />
	<xs:element name="SalaryFrom" type="CURRENCY_VALUE" />
    	<!-- Added new element AdditionalComp -->
    	<xs:element name="AdditionalComp" type="xs:string" />

    	<!-- Added new element TravelAmount -->
    	<xs:element name="TravelAmount" type="CURRENCY_VALUE" />
	<xs:element name="Public" type="xs:string" default="Y" />
	<!-- Change the data type from string to integer -->
	<xs:element name="PostDuration" type="xs:integer" />

	<!-- Added new element BoldJobDuration -->
	<xs:element name="BoldJobDuration" type="xs:integer" />
	
	<!-- Added new element CompanyConfidential -->
	<xs:element name="CompanyConfidential" type="xs:string" />

	<xs:element name="PartnerContact" type="CONTACT" />
	<xs:element name="Location" type="LOCATION" />
	<xs:element name="ListingType" type="xs:string" />
	<xs:element name="IoNumber" type="xs:string" />
	<xs:element name="Industry" type="xs:string" />

	<!-- Added new element HiringTest -->
	<xs:element name="HiringTest" type="xs:string" />
	<!-- Added new element FilterResume -->
	<xs:element name="FilterResume" type="xs:string" />

  	<xs:element name="HireType" type="xs:string" />
	<xs:element name="Function" type="xs:string" />
	<xs:element name="FeedStatusEmail" type="EMAIL" />
	<xs:element name="ExtraAttribute" type="EXTRA_ATTRIBUTE" />
	<xs:element name="Experience">
		<xs:complexType>
			<xs:simpleContent> 
        			<xs:extension base="xs:string"> 
        				<xs:attribute name="level" type="xs:string" use="required"/> 
      				</xs:extension> 
        		</xs:simpleContent> 
		</xs:complexType>
	</xs:element>
	<xs:element name="EnableApplyEmail" type="xs:string" default="Y"/>
	<xs:element name="EmploymentAuthorization" type="xs:string" />
	<xs:element name="EmployerProfileId" type="xs:string" />
	<xs:element name="EmployerName" type="xs:string" />
	<xs:element name="EmployerEmail" type="EMAIL" />
	<xs:element name="Duration" type="xs:string" />
	<xs:element name="DisplaySalary" type="xs:string" />
	<xs:element name="DisplayEmployerName" type="xs:string" default="Y"/>
	<xs:element name="Degree">
		<xs:complexType>
			<xs:simpleContent> 
        			<xs:extension base="xs:string"> 
        				<xs:attribute name="pref" type="xs:string" use="required"/> 
      				</xs:extension> 
        		</xs:simpleContent> 
		</xs:complexType>
	</xs:element>
	<xs:element name="CustomerAccountName" type="xs:string" />
	<xs:element name="CustomerAccountId" type="xs:string" />
	<xs:element name="CustomerAccountContact" type="CONTACT" />
	<xs:element name="CustomerAccountAddress" type="ADDRESS" />

	<!-- Addded new element ApplyType -->
	<xs:element name="ApplyType" type="xs:string" />

	<!-- Added new element ApplyContactName -->
	<xs:element name="ApplyContact" type="CONTACT" />

	<xs:element name="ApplyURL" type="URL" />
	<xs:element name="ApplyFax" type="PHONE_NUMBER" />
	<xs:element name="ApplyEmail" type="EMAIL" />
	<xs:element name="ApplyAddress" type="ADDRESS" />

	<xs:element name="AccountTagId" type="xs:string" />

	<xs:element name="AttachResume" type="xs:string" />
	<xs:element name="Format" type="xs:string" />

	<xs:element name="ResponseSettings">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="AttachResume" />
        			<xs:element ref="Email" minOccurs="0" maxOccurs="3" />
        			<xs:element ref="Format" />
      			</xs:sequence>
    		</xs:complexType>
  	</xs:element>
  	
  	<xs:element name="ApplySettings">
  		<xs:complexType>
  			<xs:sequence>
				<!-- Added new element ApplyContact -->
				<xs:element ref="ApplyContact" minOccurs="0"/>
			
				<xs:element ref="ApplyFax" minOccurs="0" />
				<xs:element ref="ApplyURL" minOccurs="0" />
				<xs:element ref="ApplyEmail" minOccurs="0"  />
				<xs:element ref="EnableApplyEmail" minOccurs="0" />
				<xs:element ref="ApplyAddress" minOccurs="0"  />
  			</xs:sequence>
  		</xs:complexType>
  	</xs:element>
	
</xs:schema>
