<?xml version="1.0" encoding="windows-1252" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns="http://entp.hud.gov/203Kcalculator" targetNamespace="http://entp.hud.gov/203Kcalculator"
            elementFormDefault="qualified">
<!-- elements -->
<xsd:element name="EMORTGAGE_PACKAGE" type="envelopePackageType"/>

<!-- complex types -->
<xsd:complexType name="envelopePackageType">
	<xsd:sequence>
		<xsd:element name="KEY" type="keyType"/>
		<xsd:element name="SMART_DOCUMENT" type="smartDocType"/>
		<xsd:element name="HEADER" type="headerType"/>
		<xsd:element name="DATA" type="dataType"/>
	</xsd:sequence>
	<xsd:attribute name="_ID" type="envelopeType"/>
</xsd:complexType>

<xsd:complexType name="keyType">
	<xsd:attribute name="_Name" type="nameType"/>
	<xsd:attribute name="_Value" type="xsd:string"/>
</xsd:complexType>

<xsd:complexType name="smartDocType">
	<xsd:attribute name="MISMOVersionIdentifier" type="MISMOVersionIdentifierType"/>
	<xsd:attribute name="PopulatingSystemDocumentIdentifier" type="PopulatingSystemDocumentIdentifierType"/>
</xsd:complexType>

<xsd:complexType name="headerType">
	<xsd:sequence>
		<xsd:element name="DOCUMENT_INFORMATION" type="docInfoType"/>
	</xsd:sequence>
	<xsd:attribute name="_ID" type="headerIDType"/>
</xsd:complexType>

<xsd:complexType name="docInfoType">
	<xsd:attribute name="MustBeRecordedIndicator" type="MustBeRecordedIndicatorType"/>
	<xsd:attribute name="NegotiableInstrumentIndicator" type="NegotiableInstrumentIndicatorType"/>
	<xsd:attribute name="SMARTDocumentCategoryType" type="SMARTDocumentCategoryTypeType"/>
	<xsd:attribute name="_FormNumberIdentifier" type="FormNumberIdentifierType"/>
	<xsd:attribute name="_StateType" type="StateTypeType"/>
	<xsd:attribute name="_Type" type="docTypeType"/>
	<xsd:attribute name="_TypeOtherDescription" type="docTypeOtherDescriptionType"/>
</xsd:complexType>

<xsd:complexType name="dataType">
	<xsd:sequence>
		<xsd:element name="MAIN" type="mainType"/>
	</xsd:sequence>
	<xsd:attribute name="_ID" type="docIDType"/>
</xsd:complexType>

<xsd:complexType name="mainType">
	<xsd:sequence>
		<xsd:element name="LOAN" type="loanType"/>
	</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="loanType">
	<xsd:sequence>
		<xsd:element name="_APPLICATION" type="appType"/>
	</xsd:sequence>
	<xsd:attribute name="MISMOVersionIdentifier" type="mismoIDType"/>
</xsd:complexType>

<!-- START HERE -->

<xsd:complexType name="appType">
	<xsd:sequence>
		<xsd:element name="PROPERTY" type="propertyType"/>
		<xsd:element name="BORROWER" type="borrowerType"/>
		<xsd:element name="_203KCaseData" type="caseDataType"/>
		<xsd:element name="_203KCalculator" type="calculatorType"/>
	</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="propertyType">
	<xsd:sequence>
		<xsd:element name="Address1" type="xsd:string"/>
		<xsd:element name="City" type="xsd:string"/>
		<xsd:element name="State" type="stateType"/>
		<xsd:element name="ZIP" type="xsd:integer"/>
	</xsd:sequence>
	 <xsd:attribute name="_HUDOpportunityZone" type="opportunityZoneType"/>
	 <xsd:attribute name="_CensusTract" type="integerType"/>
</xsd:complexType>

<xsd:complexType name="borrowerType">
	<xsd:sequence>
		<xsd:element name="UnparsedName" type="xsd:string"/>
		<xsd:element name="FirstName" type="xsd:string"/>
		<xsd:element name="MiddleName" type="xsd:string"/>
		<xsd:element name="LastName" type="xsd:string"/>
	</xsd:sequence>
	<xsd:attribute name="BORROWERID" type="xsd:string"/>
	<xsd:attribute name="BorrowerType" type="bocType"/>
</xsd:complexType>

<xsd:simpleType name="bocType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="Occupant"/>
		<xsd:enumeration value="Landlord"/>
		<xsd:enumeration value="EscrowCommitment"/>
		<xsd:enumeration value="Corporation/Partnership(Refi)"/>
		<xsd:enumeration value="GovernmentAgency/Non-Profit"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="caseDataType">
	<xsd:attribute name="_203KType" type="kType"/>
	<xsd:attribute name="_Condominium" type="BooleanIndicatorType"/>
	<xsd:attribute name="_Minimum_Decision_Credit_Score" type="ficoType"/>
	<xsd:attribute name="_FHAVAPropertyAcquiredAsInheritanceOrGift" type="boolean"/>
	<xsd:attribute name="_FHAVAPropertyAcquiredWithin12Months" type="boolean"/>
	<xsd:attribute name="_loanPurpose" type="lpType"/>
	<xsd:attribute name="_FHAVAApprovedSecondaryResidence" type="secResValueType"/>
	<xsd:attribute name="_EEM" type="BooleanIndicatorType"/>
	<xsd:attribute name="_SolarWind" type="BooleanIndicatorType"/>
	<xsd:attribute name="_REOType" type="reoType"/>
</xsd:complexType>

<xsd:complexType name="calculatorType">
	<xsd:sequence>
		<xsd:element name="Financeable_Repair_and_Improvement_Costs" type="step1Type"/>
		<xsd:element name="Establishing_Value" type="step2Type"/>
		<xsd:element name="Calculating_Maximum_Mortgage" type="step3Type"/>
		<xsd:element name="Additions_to_Base_Mortgage_Amount" type="step4Type"/>
		<xsd:element name="Establishing_the_Rehabilitation_Escrow_Amount" type="step5Type"/>
	</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="step1Type">
        <xsd:annotation>
            <xsd:documentation xml:lang="en">
<!--
Calculated Output Field: source  _Repair_and_Improvement_Costs_and_Fees_Total
	Sum of: 
	_Costs_of_construction_repairs_and_rehabilitation
	_Architectural_or_Engineering_Professional_Fees
	_203k_Consultant_Fees
	_Inspection_Fees
	_Title_Update_Fees
	_Permit_Fees
	_Feasibility_Study_when_necessary

Calculated Output Field: source  _Inspection_Fees
	Work performed during Rehabilitation

Calculated Output Field: source  _Financeable_Mortgage_Fees_Total
	Sum of:
	_Origination_Fee
	_Discount_Points
            
Calculated Output Field: source  _Origination_Fee
	$350 or 1.5% of:
	_Repair_and_Improvement_Costs_and_Fees_Total
	_Financeable_Mortgage_Payment_Reserves
	_Financeable_Contingency_Reserves
-->
            </xsd:documentation>
        </xsd:annotation>
	<xsd:attribute name="_Repair_and_Improvement_Costs_and_Fees_Total" type="xsd:integer"/> 
	<xsd:attribute name="_Costs_of_construction_repairs_and_rehabilitation" type="xsd:integer"/>
 	<xsd:attribute name="_Architectural_or_Engineering_Professional_Fees" type="xsd:integer"/>
 	<xsd:attribute name="_203k_Consultant_Fees" type="xsd:integer"/>
 	<xsd:attribute name="_Inspection_Fees" type="xsd:integer"/> 
 	<xsd:attribute name="_Title_Update_Fees" type="xsd:integer"/>
 	<xsd:attribute name="_Permit_Fees" type="xsd:integer"/>
 	<xsd:attribute name="_Feasibility_Study_when_necessary" type="xsd:integer"/>
 	<xsd:attribute name="_Financeable_Contingency_Reserves" type="xsd:integer"/>
 	<xsd:attribute name="_Financeable_Mortgage_Payment_Reserves" type="xsd:integer"/>
 	<xsd:attribute name="_Financeable_Mortgage_Fees_Total" type="xsd:integer"/> 
 	<xsd:attribute name="_Origination_Fee" type="xsd:integer"/>
 	<xsd:attribute name="_Discount_Points" type="xsd:integer"/>
 	<xsd:attribute name="_Total_Rehabilitation_Cost" type="xsd:integer"/>
</xsd:complexType>

<xsd:complexType name="step2Type">
        <xsd:annotation>
            <xsd:documentation xml:lang="en">
<!--
Calculated Output Field: source  _AsIs_Property_Value
	When an As-Is Appraisal is performed 
                
Calculated Output Field: source  _Adjusted_AsIs_Value
	Lesser of _Purchase_Price_Less_Inducement_to_Purchase or _AsIs_Property_Value

Calculated Output Field: source  _Appraised_Value
	Subject to repairs and improvements 
-->
            </xsd:documentation>
        </xsd:annotation>
	<xsd:attribute name="_Purchase_Price" type="xsd:integer"/>
	<xsd:attribute name="_Total_Rehabilitation_Cost" type="xsd:integer"/>
	<xsd:attribute name="_Existing_Debt_on_property_being_refinance" type="xsd:integer"/>
	<xsd:attribute name="_Fees_Associated_With_New_Loan" type="xsd:integer"/>
	<xsd:attribute name="_Combined_Financing_Costs" type="xsd:integer"/>
	<xsd:attribute name="_Inducement_to_Purchase" type="xsd:integer"/>
	<xsd:attribute name="_Purchase_Price_Less_Inducement_to_Purchase" type="xsd:integer"/>
	<xsd:attribute name="_AsIs_Property_Value" type="xsd:integer"/> 
	<xsd:attribute name="_Adjusted_AsIs_Value" type="xsd:integer"/> 
	<xsd:attribute name="_Appraised_Value" type="xsd:integer"/> 
</xsd:complexType>

<xsd:complexType name="step3Type">
        <xsd:annotation>
            <xsd:documentation xml:lang="en">
<!--
Calculated Output Field: source  _Adjusted_Appraised_Value
	_Appraised_Value (from step2Type) multiplied by 110% (or 100% for Condominiums)

Calculated Output Field: source  _Adjusted_MAX_Value
	Lesser of: (_Adjusted_AsIs_Value OR _Adjusted_MAX_Value) multiplied by _Appropriate_LTV_Factor

Calculated Output Field: source  _Initial_Base_Mortgage_Amount
	Lesser of:
	_Adjusted_MAX_Value
	_Nationwide_Mortgage_Limit

Calculated Output Field: source  Determining _Appropriate_LTV_Factor for Maximum Mortgage Eligibility
   	Basis			Criteria			Maximum LTV Factor
   	MDCS			At or above 580			96.5%
   	MDCS			Between 500 and 579		90%
   	Identity of Interest	Not Meeting published Exception	85%
   	Secondary Residence	With HOC Approval		85%

Calculated Output Field: source  _MIP_LTV_Factor
	Divide _Initial_Base_Mortgage_Amount by _Appraised_Value (from step2Type)
-->
            </xsd:documentation>
        </xsd:annotation>
        <xsd:attribute name="_Lead_Based_Paint_Credit_Adjustment" type="xsd:integer"/>
        <xsd:attribute name="_Adjusted_Value_plus_AsIs_Value_plus_Estimated_Closing_Costs_and_Prepaid_Expenses_Associated_with_new_loan" type="xsd:integer"/>
        <xsd:attribute name="_Adjusted_MAX_Value" type="xsd:integer"/>
        <xsd:attribute name="_Adjusted_AsIs_Value_plus_Total_Rehabilitation_Cost" type="xsd:integer"/>
        <xsd:attribute name="_Nationwide_Mortgage_Limit" type="xsd:integer"/>
        <xsd:attribute name="_Adjusted_Appraised_Value" type="xsd:integer"/>
        <xsd:attribute name="_Initial_Base_Mortgage_Amount" type="xsd:integer"/>
        <xsd:attribute name="_Adjusted_MAX_Value_times_LTV" type="xsd:integer"/>
        <xsd:attribute name="_Appropriate_LTV_Factor" type="xsd:decimal"/>
        <xsd:attribute name="_MIP_LTV_Factor" type="xsd:decimal"/>
        <xsd:attribute name="_Case_LTV_Factor" type="xsd:decimal"/>
</xsd:complexType>

<xsd:complexType name="step4Type">
        <xsd:annotation>
            <xsd:documentation xml:lang="en">
<!--
Calculated Output Field: source  _Intermediate_Base_Mortgage_Amount
	Sum of:
	Energy_Efficient_Improvements_Amount
	Initial_Base_Mortgage_Amount (from step3Type)

Calculated Output Field: source  _20_Percent_of_Appraised_Value
	20% of Appraised_Value (from step2Type)

Calculated Output Field: source  _Amount_Added_to_Base_Mortgage_Amount
	Lesser of:
	_Solar_Energy_System_Cost_and_Installation
	_20_Percent_of_Appraised_Value
	
Calculated Output Field: source  _120_Percent_of_Nationwide_Mortgage_Limit
	120% of _Nationwide_Mortgage_Limit (from step3Type)

Calculated Output Field: source  _Final_Base_Mortgage_Amount
	Lesser of:
	Sum of _Intermediate_Base_Mortgage_Amount and _Amount_Added_to_Base_Mortgage_Amount
	OR
	_120_Percent_of_Nationwide_Mortgage_Limit
	
Ootput only field
	_Lead_Based_Paint_Credit_Adjustment
	For Purchase:
	Lead-Based Paint Credit Adjustment (Step 3C on FHAC screen)
	
	For Refinance:
	Lead-Based Paint Credit Adjustment (N/A)
-->
            </xsd:documentation>
        </xsd:annotation>
	<xsd:attribute name="_Energy_Efficient_Improvements_Amount" type="xsd:integer"/>
	<xsd:attribute name="_Intermediate_Base_Mortgage_Amount" type="xsd:integer"/>
	<xsd:attribute name="_Solar_Energy_System_Cost_and_Installation" type="xsd:integer"/>
	<xsd:attribute name="_Lead_Based_Paint_Credit_Adjustment" type="xsd:integer"/>
	<xsd:attribute name="_20_Percent_of_Appraised_Value" type="xsd:integer"/>
	<xsd:attribute name="_Amount_Added_to_Base_Mortgage_Amount" type="xsd:integer"/>
	<xsd:attribute name="_120_Percent_of_Nationwide_Mortgage_Limit" type="xsd:integer"/>
	<xsd:attribute name="_Final_Base_Mortgage_Amount" type="xsd:integer"/>
</xsd:complexType>

<xsd:complexType name="step5Type">
        <xsd:annotation>
            <xsd:documentation xml:lang="en">
<!--
Calculated Output Field: source  _Repair_and_Improvement_Costs_Fees_Reserves
	Amount from _Total_Rehabilitation_Cost (from step1Type)

Calculated Output Field: source  _Cost_of_Energy_Efficient_Improvement_Amount
	Amount from _Energy_Efficient_Improvements_Amount (from step4Type)

Calculated Output Field: source  _Cost_of_Solar_Energy_Systems_Improvement
	Amount from _Amount_Added_to_Base_Mortgage_Amount (from step4Type)

Calculated Output Field: source  _Rehabilitation_Escrow_Amount_Total
	Sum of:
	_Repair_and_Improvement_Costs_Fees_Reserves
	_Cost_of_Energy_Efficient_Improvement_Amount
	_Cost_of_Solar_Energy_Systems_Improvement

Calculated Output Field: source  _Initial_Draw_at_Closing_Total
	Sum of:
	_203K_Consultant_Fees
	_Architectural_or_Engineering_Fees
	_Permit_Fees
	_Origination_Fees
	_Discount_Point_on_Repair_Costs_and_Fees
	_Material_cost_for_items_ordered_and_prepaid_by_Borrower_or_contractor
	_Up_to_50_percent_of_material_costs_for_items_ordered_buy_not_yet_paid_for

Calculated Output Field: source  _Rehabilitation_Escrow_Amount_Balance
	_Rehabilitation_Escrow_Amount_Total minus _Initial_Draw_at_Closing_Total
-->
            </xsd:documentation>
        </xsd:annotation>
	<xsd:attribute name="_Total_Rehabilitation_Cost" type="xsd:integer"/>
	<xsd:attribute name="_Cost_of_Energy_Efficient_Improvement_Amount" type="xsd:integer"/>
	<xsd:attribute name="_Cost_of_Solar_Energy_Systems_Improvement" type="xsd:integer"/>
	<xsd:attribute name="_Borrower_Contingency_Reserve" type="xsd:integer"/>
	<xsd:attribute name="_Rehabilitation_Escrow_Amount_Total" type="xsd:integer"/>
	<xsd:attribute name="_Initial_Draw_at_Closing_Total" type="xsd:integer"/>
	<xsd:attribute name="_203K_Consultant_Fees" type="xsd:integer"/>
	<xsd:attribute name="_Architectural_or_Engineering_Fees" type="xsd:integer"/>
	<xsd:attribute name="_Permit_Fees" type="xsd:integer"/>
	<xsd:attribute name="_Origination_Fees" type="xsd:integer"/>
	<xsd:attribute name="_Discount_Point_on_Repair_Costs_and_Fees" type="xsd:integer"/>
	<xsd:attribute name="_Material_cost_for_items_ordered_and_prepaid_by_Borrower_or_contractor" type="xsd:integer"/>
	<xsd:attribute name="_Up_to_50_percent_of_material_costs_for_items_ordered_buy_not_yet_paid_for" type="xsd:integer"/>
	<xsd:attribute name="_Rehabilitation_Escrow_Amount_Balance" type="xsd:integer"/>
</xsd:complexType>

<!-- simple types -->

<xsd:simpleType name="iopportunityZoneType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="No"/>
		<xsd:enumeration value="Yes"/>
		<xsd:enumeration value="override"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="reoType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="StandardREO
		<xsd:enumeration value="100DownREO
		<xsd:enumeration value="NotREO
		<xsd:enumeration value="StandardREO
		<xsd:enumeration value="100DownREO"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="iInterestType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="No"/>
		<xsd:enumeration value="Yes"/>
		<xsd:enumeration value="Exempt"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="secResValueType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="No"/>
		<xsd:enumeration value="AwaitingApproval"/>
		<xsd:enumeration value="Approved"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="lpType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="Purchase"/>
		<xsd:enumeration value="Refinance"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="ficoType">
	<xsd:union>
            <xsd:simpleType>
		<xsd:restriction base="xsd:integer">
			<xsd:minInclusive value="0"/>
			<xsd:maxInclusive value="999"/>
		</xsd:restriction>
            </xsd:simpleType>
            <xsd:simpleType>
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="N/A"/>
			<xsd:enumeration value="N/a"/>
			<xsd:enumeration value="n/a"/>
			<xsd:enumeration value="n/A"/>
			<xsd:enumeration value="NA"/>
			<xsd:enumeration value="Na"/>
			<xsd:enumeration value="na"/>
			<xsd:enumeration value="nA"/>
		</xsd:restriction>		
            </xsd:simpleType>
	</xsd:union>
</xsd:simpleType>

<xsd:simpleType name="kType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="Limited"/>
		<xsd:enumeration value="Standard"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="stateType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="AL"/>
		<xsd:enumeration value="AK"/>
		<xsd:enumeration value="AS"/>
		<xsd:enumeration value="AZ"/>
		<xsd:enumeration value="AR"/>
		<xsd:enumeration value="CA"/>
		<xsd:enumeration value="CO"/>
		<xsd:enumeration value="CT"/>
		<xsd:enumeration value="DE"/>
		<xsd:enumeration value="DC"/>
		<xsd:enumeration value="FL"/>
		<xsd:enumeration value="GA"/>
		<xsd:enumeration value="GU"/>
		<xsd:enumeration value="HI"/>
		<xsd:enumeration value="ID"/>
		<xsd:enumeration value="IL"/>
		<xsd:enumeration value="IN"/>
		<xsd:enumeration value="IA"/>
		<xsd:enumeration value="KS"/>
		<xsd:enumeration value="KY"/>
		<xsd:enumeration value="LA"/>
		<xsd:enumeration value="ME"/>
		<xsd:enumeration value="MD"/>
		<xsd:enumeration value="MA"/>
		<xsd:enumeration value="MI"/>
		<xsd:enumeration value="MN"/>
		<xsd:enumeration value="MP"/>
		<xsd:enumeration value="MS"/>
		<xsd:enumeration value="MO"/>
		<xsd:enumeration value="MP"/>
		<xsd:enumeration value="MT"/>
		<xsd:enumeration value="NE"/>
		<xsd:enumeration value="NV"/>
		<xsd:enumeration value="NH"/>
		<xsd:enumeration value="NJ"/>
		<xsd:enumeration value="NM"/>
		<xsd:enumeration value="NY"/>
		<xsd:enumeration value="NC"/>
		<xsd:enumeration value="ND"/>
		<xsd:enumeration value="OH"/>
		<xsd:enumeration value="OK"/>
		<xsd:enumeration value="OR"/>
		<xsd:enumeration value="PA"/>
		<xsd:enumeration value="PR"/>
		<xsd:enumeration value="RI"/>
		<xsd:enumeration value="SC"/>
		<xsd:enumeration value="SD"/>
		<xsd:enumeration value="TN"/>
		<xsd:enumeration value="TX"/>
		<xsd:enumeration value="UT"/>
		<xsd:enumeration value="VT"/>
		<xsd:enumeration value="VI"/>
		<xsd:enumeration value="VA"/>
		<xsd:enumeration value="WA"/>
		<xsd:enumeration value="WV"/>
		<xsd:enumeration value="WI"/>
		<xsd:enumeration value="WY"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="nameType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="TransactionMode"/>
		<xsd:enumeration value="Requestor"/>
		<xsd:enumeration value="FHACaseNumber"/>
		<xsd:enumeration value="Status"/>
		<xsd:enumeration value="StatusMessage"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="envelopeType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="HUD_BINDER"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="MISMOVersionIdentifierType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="1.01"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="headerIDType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="FHAVA_Header"/>
	</xsd:restriction>
</xsd:simpleType>


<xsd:simpleType name="PopulatingSystemDocumentIdentifierType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="FHAVA"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="MustBeRecordedIndicatorType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="False"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="NegotiableInstrumentIndicatorType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="False"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="SMARTDocumentCategoryTypeType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="5"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="FormNumberIdentifierType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="OMB-2502-0524"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="StateTypeType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="Populated"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="docTypeType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="Other"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="docTypeOtherDescriptionType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="FHAVA_203k_Calculator"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="docIDType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="FHAVA_203k_Calculator"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="mismoIDType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="2.3"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="BooleanIndicatorType">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="YES"/>
		<xsd:enumeration value="Yes"/>
		<xsd:enumeration value="yes"/>
		<xsd:enumeration value="Y"/>
		<xsd:enumeration value="y"/>
		<xsd:enumeration value="NO"/>
		<xsd:enumeration value="No"/>
		<xsd:enumeration value="no"/>
		<xsd:enumeration value="N"/>
		<xsd:enumeration value="n"/>
		<xsd:enumeration value="N/A"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="boolean">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="Y"/>
		<xsd:enumeration value="Y"/>
		<xsd:enumeration value="Yes"/>
		<xsd:enumeration value="YES"/>
		<xsd:enumeration value="yes"/>
		<xsd:enumeration value="n"/>
		<xsd:enumeration value="N"/>
		<xsd:enumeration value="No"/>
		<xsd:enumeration value="NO"/>
		<xsd:enumeration value="no"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="integerType">
  <xsd:union>
    <xsd:simpleType>
      <xsd:restriction base='xsd:string'>
        <xsd:length value="0"/>
      </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType>
      <xsd:restriction base='xsd:integer' />
    </xsd:simpleType>
  </xsd:union>
</xsd:simpleType>

</xsd:schema>