<!ELEMENT FHAENTITYDATA ((
 BORROWER
  | FHAVA
  | GOVERNMENTMONITORING
  | PARTY
  | PROJECT
  | PROPERTY
  | PROCESSSTATUS
  | SUBJECTPROPERTY
)*)>
<!ATTLIST FHAENTITYDATA FHAVersionID CDATA #FIXED '1.0'>
<!ELEMENT BORROWER (
  Age?,
  UnparsedName?,
  FirstName?,
  MiddleName?,
  LastName?,
  NameSuffix?,
  SSN?,
  UnitedStatesTaxPayerIdentificationNumber?,
  CanadianSocialInsuranceNumber?,
  DunAndBradstreetIdentifier?,
  SpouseIdentifier?,
  ALIAS*,
  BORROWERASSET*,
  BORROWERLIABILITY*,
  BORROWERRESIDENCE*,
  CAIVRSAuthorizationCode?,
  CAIVRSAgencyNegativeReports?,
  CONTACTDETAIL?,
  DECLARATIONS?,
  DEMOGRAPHICS?,
  EMPLOYMENT*,
  GOVERNMENTMONITORING?)>
<!ATTLIST BORROWER
  BORROWERID ID #IMPLIED
  BorrowerEntityType
    (NonPerson |
     Person) #IMPLIED
  APPLICATIONIDREF IDREF #IMPLIED
  CREDITSCOREIDREFS IDREFS #IMPLIED
  INCOMEIDREFS IDREFS #IMPLIED>
<!ELEMENT Age  (#PCDATA)>
<!ELEMENT UnparsedName (#PCDATA)>
<!ELEMENT FirstName (#PCDATA)>
<!ELEMENT MiddleName (#PCDATA)>
<!ELEMENT LastName (#PCDATA)>
<!ELEMENT NameSuffix (#PCDATA)>
<!ELEMENT SSN (#PCDATA)>
<!ELEMENT UnitedStatesTaxPayerIdentificationNumber (#PCDATA)>
<!ELEMENT CanadianSocialInsuranceNumber (#PCDATA)>
<!ELEMENT DunAndBradstreetIdentifier (#PCDATA)>
<!ELEMENT SpouseIdentifier (#PCDATA)>
<!ELEMENT BORROWERASSET EMPTY>
<!ATTLIST BORROWERASSET
  BORROWERASSETID ID #IMPLIED
  ASSETIDREF IDREF #IMPLIED>
<!ELEMENT BORROWERLIABILITY EMPTY>
<!ATTLIST BORROWERLIABILITY
  BORROWERLIABILITYID ID #IMPLIED
  BORROWERRECONCILEDLIABILITYIDREF IDREF #IMPLIED
  MERGEDLIABILITYIDREFS IDREFS #IMPLIED>
<!ELEMENT BORROWERRECONCILEDLIABILITY (
  AlimonyOwedToName?,
  ChildSupportOwedToName?,
  HELOCMaximumBalanceAmount?,
  HELOCMaximumPaymentAmount?,
  HELOCTwelveMonthDrawAmount?,
  LiabilityAccountIdentifier?,
  LiabilityMonthlyPaymentAmount?,
  LiabilityRemainingTermMonths?,
  LiabilityUnpaidBalanceAmount?,
  SeparateMaintenanceOwedToName?,
  SubjectPropertyLiabilityAgeMonths?,
  VERIFICATION?)>
<!ATTLIST BORROWERRECONCILEDLIABILITY
  BORROWERRECONCILEDLIABILITYID ID #IMPLIED
  LiabilityExclusionReasonType
    (AlreadyPaid |
     Duplicate |
     OtherPartiesObligation) #IMPLIED
  LiabilityPayoffStatusType
    (NotPaidContinue |
     PaidByBorrowerAtClosing |
     PaidByBorrowerBeforeClosing |
     PaidByOtherAtOrBeforeClosing) #IMPLIED
  LiabilityType
    (Alimony |
     ChildCare |
     ChildSupport |
     CollectionsJudgmentsAndLiens |
     DelinquentTaxes |
     FederalTax |
     Garnishments |
     HELOCREOProperty |
     HELOCSubjectProperty |
     Installment |
     JobRelatedExpenses |
     LeasePayments |
     LocalTax |
     MortgageLoanREO |
     MortgageLoanSubjectProperty |
     OpenThirtyDayChargeAccount |
     OtherLiability |
     Revolving |
     SeparateMaintenanceExpense |
     SocialSecurityTax |
     StateTax |
     UnionDues |
     UnsecuredHomeImprovementLoanInstallment |
     UnsecuredHomeImprovementLoanRevolving) #IMPLIED
  ContingentLiabilityIndicator (Y | N) #IMPLIED
  ResubordinationIndicator (Y | N) #IMPLIED
  PARTYIDREF IDREF #IMPLIED>
<!ELEMENT AlimonyOwedToName (#PCDATA)>
<!ELEMENT ChildSupportOwedToName (#PCDATA)>
<!ELEMENT HELOCMaximumBalanceAmount (#PCDATA)>
<!ELEMENT HELOCMaximumPaymentAmount (#PCDATA)>
<!ELEMENT HELOCTwelveMonthDrawAmount (#PCDATA)>
<!ELEMENT LiabilityAccountIdentifier (#PCDATA)>
<!ELEMENT LiabilityMonthlyPaymentAmount (#PCDATA)>
<!ELEMENT LiabilityRemainingTermMonths (#PCDATA)>
<!ELEMENT LiabilityUnpaidBalanceAmount (#PCDATA)>
<!ELEMENT SeparateMaintenanceOwedToName (#PCDATA)>
<!ELEMENT SubjectPropertyLiabilityAgeMonths (#PCDATA)>
<!ELEMENT BORROWERRESIDENCE (
  Address1?,
  Address2?,
  City?,
  State?,
  PostalCode?,
  Country?,
  ResidencyDurationYears?,
  PARSEDSTREETNAME?)>
<!ATTLIST BORROWERRESIDENCE
  BORROWERRESIDENCEID ID #IMPLIED
  ResidencyBasisType
    (LivingRentFree |
     Own |
     Rent |
     Unknown) #IMPLIED
  EXPENSEIDREFS IDREFS #IMPLIED
  ResidencyType
    (Current |
     Prior) #IMPLIED>
<!ELEMENT Address1 (#PCDATA)>
<!ELEMENT Address2 (#PCDATA)>
<!ELEMENT City (#PCDATA)>
<!ELEMENT State (#PCDATA)>
<!ELEMENT PostalCode (#PCDATA)>
<!ELEMENT Country (#PCDATA)>
<!ELEMENT ResidencyDurationYears (#PCDATA)>
<!ELEMENT CAIVRSAuthorizationCode (#PCDATA)>
<!ELEMENT CAIVRSAgencyNegativeReports (
  AgencyName?,
  CaseNumber?,
  CaseType?,
  PhoneReferral?)>
<!ATTLIST CAIVRSAgencyNegativeReports
  CAIVRSAgencyNegativeReportsID ID #IMPLIED>
<!ELEMENT AgencyName (#PCDATA)>
<!ELEMENT CaseNumber (#PCDATA)>
<!ELEMENT CaseType (#PCDATA)>
<!ELEMENT PhoneReferral (#PCDATA)>
<!ELEMENT CONTACTDETAIL (
  ContactName?,
  CONTACTPOINT*)>
<!ATTLIST CONTACTDETAIL
  CONTACTDETAILID ID #IMPLIED>
<!ELEMENT ContactName (#PCDATA)>
<!ELEMENT CONTACTPOINT (
  ContactPointValue?)>
<!ATTLIST CONTACTPOINT
  CONTACTPOINTID ID #IMPLIED
  ContactPointRoleType
    (Home |
     Mobile |
     Work) #IMPLIED
  ContactPointType
    (Email |
     Fax |
     Other |
     Phone) #IMPLIED
  PreferenceIndicator (Y | N) #IMPLIED>
<!ELEMENT ContactPointValue (#PCDATA)>
<!ELEMENT DECLARATIONS (
  OtherDeclarationDescription?)>
<!ATTLIST DECLARATIONS
  DECLARATIONSID ID #IMPLIED
  CitizenshipResidencyType
    (NonPermanentAlien |
     NonResidentAlien |
     PermanentResidentAlien |
     UnitedStatesCitizen) #IMPLIED
  PriorPropertyTitleType
    (JointWithOtherThanSpouse |
     JointWithSpouse |
     SoleIndividual) #IMPLIED
  PriorPropertyUsageType
    (Investment |
     PrimaryResidence |
     SecondaryResidence) #IMPLIED
  AlimonyChildSupportObligationsIndicator (Y | N) #IMPLIED
  BankruptcyPastSevenYearsIndicator (Y | N) #IMPLIED
  BorrowedDownPaymentIndicator (Y | N) #IMPLIED
  BorrowerFirstTimeHomebuyerIndicator (Y | N) #IMPLIED
  ComakerEndorserOfNoteIndicator (Y | N) #IMPLIED
  HomeownerPastThreeYearsIndicator (Y | N) #IMPLIED
  IntentToOccupyIndicator (Y | N) #IMPLIED
  LoanForeclosureOrJudgmentIndicator (Y | N) #IMPLIED
  OutstandingJudgmentsIndicator (Y | N) #IMPLIED
  PartyToLawsuitIndicator (Y | N) #IMPLIED
  PresentlyDelinquentIndicator (Y | N) #IMPLIED
  PropertyForeclosurePastSevenYearsIndicator (Y | N) #IMPLIED
  VeteranStatusIndicator (Y | N) #IMPLIED>
<!ELEMENT OtherDeclarationDescription (#PCDATA)>
<!ELEMENT DEMOGRAPHICS (
  BirthDate?,
  DependentAgesCommaSeparatedList?,
  DependentCount?,
  SchoolingYears?)>
<!ATTLIST DEMOGRAPHICS
  DEMOGRAPHICSID ID #IMPLIED
  MaritalStatusType
    (Married |
     NotProvided |
     Separated |
     Unknown |
     UnmarriedSingleDivorcedWidowed) #IMPLIED>
<!ELEMENT BirthDate (#PCDATA)>
<!ELEMENT DependentAgesCommaSeparatedList (#PCDATA)>
<!ELEMENT DependentCount (#PCDATA)>
<!ELEMENT SchoolingYears (#PCDATA)>
<!ELEMENT EMPLOYMENT (
  EmployerName?,
  EmployerID?,
  PositionDescription?,
  PositionTitle?,
  BusinessTypeDescription?,
  SelfEmployedBusinessOwnershipPercent?,
  TimeInLineOfWorkMonths?,
  StartDate?,
  EndDate?,
  Certification?)>
<!ATTLIST EMPLOYMENT
  EMPLOYMENTID ID #IMPLIED
  BorrowerSelfEmployedIndicator (Y | N) #IMPLIED
  CurrentEmploymentIndicator (Y | N) #IMPLIED
  PrimaryEmploymentIndicator (Y | N) #IMPLIED
  PARTYIDREF IDREF #IMPLIED
  INCOMEIDREFS IDREFS #IMPLIED>
<!ELEMENT EmployerName (#PCDATA)>
<!ELEMENT EmployerID (#PCDATA)>
<!ELEMENT PositionDescription (#PCDATA)>
<!ELEMENT PositionTitle (#PCDATA)>
<!ELEMENT BusinessTypeDescription (#PCDATA)>
<!ELEMENT SelfEmployedBusinessOwnershipPercent (#PCDATA)>
<!ELEMENT TimeInLineOfWorkMonths (#PCDATA)>
<!ELEMENT StartDate (#PCDATA)>
<!ELEMENT EndDate (#PCDATA)>
<!ELEMENT Certification (#PCDATA)>
<!ELEMENT GOVERNMENTMONITORING (
  DemographicDistribution?,
  OtherRaceNationalOriginDescription?)>
<!ATTLIST GOVERNMENTMONITORING
  GOVERNMENTMONITORINGID ID #IMPLIED
  GenderType
    (Female |
     InformationNotProvidedUnknown |
     Male |
     NotApplicable) #IMPLIED
  RaceNationalOriginType
    (AmericanIndianOrAlaskanNative |
     AsianOrPacificIslander |
     BlackNotOfHispanicOrigin |
     Hispanic |
     InformationNotProvided |
     NotApplicable |
     Other |
	 HispanicBlack |
	 AsianIndianAmerican |
     WhiteNotOfHispanicOrigin) #IMPLIED
  ReportingEntityType ( StateOfRecord | LenderID | LenderGreaterThan99 | All ) #IMPLIED
  ReportingEntity CDATA #IMPLIED
  RaceNationalOriginRefusalIndicator (Y | N) #IMPLIED>
<!ELEMENT DemographicDistribution (
CDATA |
  ServiceProvided?)>
<!ATTLIST DemographicDistribution 
	GenderType (Female | Male | All | InformationNotProvidedUnknown)  #IMPLIED
	Minority (Yes | No | All)  #IMPLIED
    RaceNationalOriginType
    (AmericanIndianOrAlaskanNative |
     AsianOrPacificIslander |
     BlackNotOfHispanicOrigin |
     Hispanic |
     InformationNotProvided |
     NotApplicable |
     Other |
	 HispanicBlack |
	 AsianIndianAmerican |
     WhiteNotOfHispanicOrigin) #IMPLIED
	Type (TotalCount | PercentUtilizedOfState | PercentOfState)  #IMPLIED>
<!ELEMENT ServiceProvided (#PCDATA)>
<!ATTLIST ServiceProvided
	ServiceCategoryOrType (Appraisal | Inspection) #IMPLIED
	ServiceVolume CDATA #IMPLIED>
<!ELEMENT OtherRaceNationalOriginDescription (#PCDATA)>
<!ELEMENT FHAVA (
  FHAVA203KApproved?,
  FHAVA203KConsultantIdentifier?,
  FHAVAlocalMortgageLimit?)>
 <!ATTLIST FHAVA
  DataRangeSpecifier (Low | Standard | High | SpecialCase) #IMPLIED
  SectionOfActType
    (203b |
     203b2 |
     203b251 |
     203h |
     203I |
     203k |
     203k251 |
     221d2 |
     221d2251 |
     234c |
     234c251) #IMPLIED>
<!ELEMENT FHAVA203KApproved (#PCDATA)>
<!ELEMENT FHAVA203KConsultantIdentifier (#PCDATA)>
<!ELEMENT FHAVAlocalMortgageLimit (#PCDATA)>
<!ATTLIST FHAVAlocalMortgageLimit ResidentialBasis CDATA #IMPLIED>
<!ELEMENT PARTY (
  PartyName?,
  FirstName?,
  PartySurName?,
  SSN?,
  FormerName?,
  PhoneNumber?,
  Address1?,
  Address2?,
  HouseNumber?,
  DirectionPrefix?,
  StreetName?,
  StreetSuffix?,
  DirectionSuffix?,
  ApartmentOrUnit?,
  City?,
  State?,
  PostalCode?,
  Country?,
  CONTACTDETAIL*,
  DEMOGRAPHICS?,
  EMPLOYMENT*,
  GOVERNMENTMONITORING?,
  LicenseStatusInformation?,
  PARTYMEMO?)>
<!ATTLIST PARTY
  PARTYID ID #IMPLIED
  PartyType
    (203KConsultant |
	 Appraiser |
     AssetHolder |
     AuthorizedRepresentative |
     BrokerContact |
     CreditBureau |
     CreditTradeReference |
     Employer |
     FulfillmentParty |
     InformationContact |
	 Inspector |
     Interviewer |
     InterviewersEmployer |
     Lender |
     LendersBranch |
     LendersContactPerson |
     LiabilityHolder |
     NotificationContact |
     OwningBureau |
     ReceivingParty |
     RequestingParty |
     ResponseParty |
     SubmittingParty |
     Underwriter) #IMPLIED
	 IDExpirationDate CDATA #IMPLIED
    LicenseStatusInformation (Active | Terminated | Sanctioned) #IMPLIED>
	 
<!ELEMENT PARTYMEMO (#PCDATA)>
<!ATTLIST PARTYMEMO
	PARTYMEMOID ID #IMPLIED
	MemoType CDATA #IMPLIED
	MemoDate CDATA #IMPLIED>
 
<!ELEMENT PartyName (#PCDATA)>
<!ELEMENT PartySurName (#PCDATA)>
<!ELEMENT LicenseStatusInformation (#PCDATA)>
<!ATTLIST LicenseStatusInformation 
	CurrentLicenseStatus (Active | Terminated | Both) #IMPLIED
	MonitoredExamPassed (Yes | No) #IMPLIED
	CurrentLicenseState CDATA #IMPLIED
	CurrentLicenseStatusTerminationDate CDATA #IMPLIED
	CurrentLicenseStatusExpirationDate CDATA #IMPLIED
	MonitoredExamPassedDate CDATA #IMPLIED
	FHAVAAppraiserID CDATA #IMPLIED
	FHAVAAppraiserSanctionIndicator (Yes | No) #IMPLIED>
	
	
	

<!ELEMENT PROJECT (
  ProjectAlias?,
  ProjectSpecialCondition*,
  FHAVAFieldOfficeCode?,
  FannieMaeProjectCodeIdentifier?,
  ProjectName?,
  ProjectRentedUnitCount?,
  ProjectSoldUnitCount?,
  ProjectTotalUnitCount?,
  ProjectCity?,
  ProjectState?,
  ProjectCounty?)>
  
<!ATTLIST PROJECT
  PROJECTID ID #IMPLIED
  ProjectStatus (Approved | Rejected | Withdrawn) #IMPLIED
  ProjectStatusDate CDATA #IMPLIED
  ProjectTransactionDate CDATA #IMPLIED
  FreddieMacProjectCodeType
    (ApprovedFHAVACondominiumProjectOrSpotLoan |
     CompleteControlledHomeownersAssociationLessThanOneYear |
     CompleteControlledHomeownersAssociationOneOrMoreYears |
     UnderDevelopment) #IMPLIED
  FHAVAApprovedCondominiumClassIndicator (
  PUD |
  Subdivision |
  Condominium
  ) #IMPLIED
  FHAVAApprovedCondominiumCooperativePhase CDATA #IMPLIED
  FHAVAApprovedCondominiumCooperativeSpotLot (Y | N) #IMPLIED>

<!ELEMENT ProjectAlias (#PCDATA)>
<!ELEMENT ProjectSpecialCondition (#PCDATA)>
<!ATTLIST ProjectSpecialCondition ProjectSpecialConditionID ID #IMPLIED>
<!ELEMENT FHAVAFieldOfficeCode (#PCDATA)>
<!ELEMENT FannieMaeProjectCodeIdentifier (#PCDATA)>
<!ELEMENT ProjectName (#PCDATA)>
<!ELEMENT ProjectRentedUnitCount (#PCDATA)>
<!ELEMENT ProjectSoldUnitCount (#PCDATA)>
<!ELEMENT ProjectTotalUnitCount (#PCDATA)>
<!ELEMENT ProjectCity (#PCDATA)>
<!ELEMENT ProjectState (#PCDATA)>
<!ELEMENT ProjectCounty (#PCDATA)>

<!ELEMENT PROPERTY (
  Address1?,
  Address2?,
  City?,
  State?,
  PostalCode?,
  Country?,
  County?,
  DWELLING*,
  FHAVAFieldOfficeCode?,
  PARSEDSTREETNAME?)>
<!-- FHAVA/B2B -->
<!ATTLIST PROPERTY
  PROPERTYID ID #IMPLIED
  PropertyCategoryType
    (Attached |
     Church |
     CommercialNonresidential |
     CommercialResidential |
     Detached |
     Farm |
     HighRise |
     LowRise |
     Manufactured |
     MobileHome |
     Modular |
     SiteBuilt |
     Stacked |
     TownhouseRowhouse |
	 Condo |
	 SemiDetached |
	 Row) #IMPLIED
  PriorPropertyDisposition (Y | N) #IMPLIED
  PropertyUsageType
    (Investor |
     PrimaryResidence |
     SecondHome) #IMPLIED
  REOStatusType
    (PendingSaleListedForSale |
     RetainForRental |
     RetainNotForSale |
     Sold) #IMPLIED
  PROJECTIDREF IDREF #IMPLIED
  EXPENSEIDREFS IDREFS #IMPLIED
  INCOMEIDREFS IDREFS #IMPLIED
  VALUATIONSIDREFS IDREFS #IMPLIED
  PropertyType
    (REO |
     Subject) #IMPLIED>
<!ELEMENT County (#PCDATA)>
<!ELEMENT PROCESSSTATUS (
     LastActionTaken?,
	 LastActionTakenDate?,
	 InputRangeMagnitude?,
	 OutputRangeMagnitude?,
	 OutputRangeSpecification?,
     ProcessStatusCode?,
     ProcessStatusMessage?,
	 ProcessStatusRequestor?,
	 PropertyAddressValidationIndicator?,
	 QuantityComparablePropertiesEntered?)>
<!ELEMENT LastActionTaken (#PCDATA)>
<!ELEMENT LastActionTakenDate (#PCDATA)>
<!ELEMENT ProcessStatusCode (#PCDATA)>
<!--
  Valid values:
  (output)
  SuccessUpdatesAllowed
  SuccessNoUpdatesAllowed
  Warning
  Error
  Unavailable
  (input)
  Query
  Add
  Update
-->
<!ELEMENT OutputRangeSpecification (#PCDATA)>
<!ATTLIST OutputRangeSpecification RangeEntityInitialRecord CDATA #IMPLIED>
<!ELEMENT OutputRangeMagnitude (#PCDATA)>
<!ELEMENT ProcessStatusMessage (#PCDATA)>
<!ATTLIST ProcessStatusMessage sCode CDATA #IMPLIED>
<!ELEMENT QuantityComparablePropertiesEntered (#PCDATA)>
<!ELEMENT ProcessStatusRequestor (#PCDATA)>
<!ELEMENT SUBJECTPROPERTY (
  CountyCode?,
  FinancedNumberOfUnits?,
  LotAcquiredYear?,
  LotPhysicalDescription?,
  PropertyAcquiredYear?,
  StructureBuiltYear?,
  SubjectPropertyAppraisedValueAmount?,
  SubjectPropertyEstimatedValueAmount?,
  SubjectPropertyLeaseholdExpirationDate?,
  SubjectPropertyLongLegalDescription?,
  SubjectPropertyOriginalCostAmount?,
  SubjectPropertyShortLegalDescription?,
  SubjectPropertyShortLegalDescriptionBlk?,
  SubjectPropertyShortLegalDescriptionPlt?,
  SubjectPropertyShortLegalDescriptionLot?,
  IMPROVEMENT*,
  GEOGRAPHICREGION*)>
<!ATTLIST SUBJECTPROPERTY
  SUBJECTPROPERTYID ID #IMPLIED
  PropertyOwnershipType
    (Condominium |
     CondominiumHotel |
     Cooperative) #IMPLIED
  PropertyRightsType
    (FeeSimple |
     Leasehold |
     Unassigned) #IMPLIED
  EnergyEfficientHomeIndicator (Y | N) #IMPLIED
  UnitResaleIndicator (Y | N) #IMPLIED
  PROPERTYIDREF IDREF #IMPLIED>
<!ELEMENT CountyCode (#PCDATA)>
<!ELEMENT FinancedNumberOfUnits (#PCDATA)>
<!ELEMENT LotAcquiredYear (#PCDATA)>
<!ELEMENT LotPhysicalDescription EMPTY>
<!ATTLIST LotPhysicalDescription 
  PropertyAcreage CDATA #IMPLIED
  PropertySquareFootage CDATA #IMPLIED>
  <!ELEMENT PropertyAcquiredYear (#PCDATA)>
<!ELEMENT StructureBuiltYear (#PCDATA)>
<!ELEMENT SubjectPropertyAppraisedValueAmount (#PCDATA)>
<!ELEMENT SubjectPropertyEstimatedValueAmount (#PCDATA)>
<!ELEMENT SubjectPropertyLeaseholdExpirationDate (#PCDATA)>
<!ELEMENT SubjectPropertyLongLegalDescription (#PCDATA)>
<!ELEMENT SubjectPropertyShortLegalDescriptionBlk (#PCDATA)>
<!ELEMENT SubjectPropertyShortLegalDescriptionPlt (#PCDATA)>
<!ELEMENT SubjectPropertyShortLegalDescriptionLot (#PCDATA)>
<!ELEMENT SubjectPropertyOriginalCostAmount (#PCDATA)>
<!ELEMENT SubjectPropertyShortLegalDescription (#PCDATA)>
