import { PropertyResponseAPI } from 'types';

export const test_property_search: PropertyResponseAPI = {
  input: {
    comps: true,
    id: 9444522,
    exact_match: true,
  },
  data: {
    id: 175468968,
    MFH2to4: false,
    MFH5plus: false,
    absenteeOwner: false,
    adjustableRate: false,
    assumable: false,
    auction: false,
    equity: 293000,
    bankOwned: null,
    cashBuyer: false,
    cashSale: false,
    corporateOwned: false,
    death: true,
    deathTransfer: false,
    deedInLieu: false,
    equityPercent: 43,
    estimatedEquity: 321216,
    estimatedMortgageBalance: '420784',
    estimatedMortgagePayment: '2692',
    estimatedValue: 742000,
    floodZone: true,
    floodZoneDescription: 'AREA OF MINIMAL FLOOD HAZARD',
    floodZoneType: 'X',
    freeClear: false,
    highEquity: true,
    inStateAbsenteeOwner: false,
    inherited: false,
    investorBuyer: false,
    judgment: false,
    lastSaleDate: '2020-06-30',
    lastSalePrice: '475000',
    lastUpdateDate: '2025-07-25 00:00:00 UTC',
    lien: false,
    loanTypeCodeFirst: 'COV',
    loanTypeCodeSecond: null,
    loanTypeCodeThird: null,
    maturityDateFirst: '2051-01-01T00:00:00.000Z',
    mlsActive: false,
    mlsCancelled: false,
    mlsDaysOnMarket: null,
    mlsFailed: false,
    mlsFailedDate: null,
    mlsHasPhotos: false,
    mlsLastSaleDate: null,
    mlsLastStatusDate: null,
    mlsListingDate: null,
    mlsListingPrice: null,
    mlsListingPricePerSquareFoot: null,
    mlsPending: false,
    mlsSold: false,
    mlsSoldPrice: null,
    mlsStatus: null,
    mlsTotalUpdates: null,
    mlsType: null,
    mobileHome: false,
    noticeType: null,
    openMortgageBalance: 449000,
    outOfStateAbsenteeOwner: false,
    ownerOccupied: true,
    preForeclosure: false,
    privateLender: false,
    propertyType: 'OTHER',
    quitClaim: false,
    reapi_loaded_at: null,
    sheriffsDeed: false,
    spousalDeath: false,
    taxLien: false,
    trusteeSale: false,
    vacant: false,
    warrantyDeed: false,
    auctionInfo: {},
    currentMortgages: [
      {
        amount: 449000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2021-000905',
        deedType: '',
        documentDate: '2020-12-23T00:00:00.000Z',
        granteeName: 'Ryan Westfall, Teresa Marie Westfall',
        interestRate: null,
        interestRateType: null,
        lenderCode: 'M',
        lenderName: 'Home Point Financial Corporation',
        lenderType: 'Mortgage Company',
        loanType: 'New Conventional',
        loanTypeCode: 'COV',
        maturityDate: '2051-01-01T00:00:00.000Z',
        mortgageId: '1073281',
        position: 'First',
        recordingDate: '2021-01-05T00:00:00.000Z',
        seqNo: 1,
        term: '360',
        termType: 'Month',
        transactionType: null,
      },
    ],
    demographics: {
      fmrEfficiency: '1440',
      fmrFourBedroom: '2700',
      fmrOneBedroom: '1560',
      fmrThreeBedroom: '2270',
      fmrTwoBedroom: '1790',
      fmrYear: '2023',
      hudAreaCode: 'METRO16980M16980',
      hudAreaName: 'Chicago-Joliet-Naperville, IL HUD Metro FMR Area',
      medianIncome: '110592',
      suggestedRent: null,
    },
    foreclosureInfo: [],
    lastSale: {
      book: null,
      page: null,
      documentNumber: 'R2025-023071',
      armsLength: false,
      buyerNames: 'Ryan Westfall Trust',
      documentType: 'Transfer On Death Deed',
      documentTypeCode: 'DTDD',
      downPayment: 0,
      ltv: null,
      ownerIndividual: true,
      priorOwnerIndividual: true,
      priorOwnerMonthsOwned: 58,
      purchaseMethod: 'Cash Purchase',
      recordingDate: '2025-04-23',
      saleAmount: 0,
      saleDate: '2025-04-22T00:00:00.000Z',
      sellerNames: 'Ryan Westfall',
      seqNo: 1,
      transactionType: "Non-Arm's Length Transactions",
    },
    linkedProperties: {},
    lotInfo: {
      apn: '05-29-407-013',
      apnUnformatted: '0529407013',
      censusBlock: '3004',
      censusBlockGroup: '4',
      censusTract: '842601',
      landUse: 'Residential',
      legalDescription: 'BUTTERFIELD RIDGE UNIT NO 6 ALL',
      legalSection: null,
      lotAcres: '0.29',
      lotNumber: null,
      lotSquareFeet: 12632,
      lotDepthFeet: 157.1,
      lotWidthFeet: 121.4,
      propertyClass: 'The general use for the property is for residential purposes',
      propertyUse: null,
      subdivision: null,
      zoning: null,
    },
    mlsHistory: [],
    mlsKeywords: {},
    mortgageHistory: [
      {
        amount: 449000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2021-000905',
        deedType: '',
        documentDate: '2020-12-23T00:00:00.000Z',
        granteeName: 'Ryan Westfall, Teresa Marie Westfall',
        interestRate: null,
        interestRateType: null,
        lenderCode: 'M',
        lenderName: 'Home Point Financial Corporation',
        lenderType: 'Mortgage Company',
        loanType: 'New Conventional',
        loanTypeCode: 'COV',
        maturityDate: '2051-01-01T00:00:00.000Z',
        mortgageId: '1073281',
        open: true,
        position: 'First',
        recordingDate: '2021-01-05T00:00:00.000Z',
        seqNo: 1,
        term: '360',
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 40000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2015-119963',
        deedType: null,
        documentDate: '2015-10-23T00:00:00.000Z',
        granteeName: 'Richard Maciejewski, Jean Maciejewski',
        interestRate: 3.25,
        interestRateType: 'Variable',
        lenderCode: 'B',
        lenderName: 'Inland Bank & Trust',
        lenderType: 'Bank',
        loanType: 'Credit Line (Revolving)',
        loanTypeCode: 'LOC',
        maturityDate: null,
        mortgageId: '942198',
        open: false,
        position: null,
        recordingDate: '2015-10-30T00:00:00.000Z',
        seqNo: 2,
        term: null,
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 325000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2012-152788',
        deedType: null,
        documentDate: '2012-10-19T00:00:00.000Z',
        granteeName: 'Richaro Maciejewski, Jean Maciejewski',
        interestRate: 0,
        interestRateType: null,
        lenderCode: 'M',
        lenderName: 'Fairway Independent Mortgage Corp',
        lenderType: 'Mortgage Company',
        loanType: 'New Conventional',
        loanTypeCode: 'COV',
        maturityDate: '2042-11-01T00:00:00.000Z',
        mortgageId: '854771',
        open: false,
        position: null,
        recordingDate: '2012-10-30T00:00:00.000Z',
        seqNo: 3,
        term: '360',
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 325000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2011-143855',
        deedType: null,
        documentDate: '2011-11-14T00:00:00.000Z',
        granteeName: 'Richard Maciejewski, Jean Maciejewski',
        interestRate: 0,
        interestRateType: null,
        lenderCode: 'M',
        lenderName: 'Fairway Independent Mortgage Corp',
        lenderType: 'Mortgage Company',
        loanType: 'New Conventional',
        loanTypeCode: 'COV',
        maturityDate: '2041-12-01T00:00:00.000Z',
        mortgageId: '816787',
        open: false,
        position: null,
        recordingDate: '2011-11-28T00:00:00.000Z',
        seqNo: 4,
        term: '360',
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 325000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2010-172395',
        deedType: null,
        documentDate: '2010-11-23T00:00:00.000Z',
        granteeName: 'Richard Maciejewski, Jean Maciejewski',
        interestRate: 0,
        interestRateType: null,
        lenderCode: 'M',
        lenderName: 'Fairway Independent Mortgage Corp',
        lenderType: 'Mortgage Company',
        loanType: 'New Conventional',
        loanTypeCode: 'COV',
        maturityDate: '2040-12-01T00:00:00.000Z',
        mortgageId: '784635',
        open: false,
        position: null,
        recordingDate: '2010-12-10T00:00:00.000Z',
        seqNo: 5,
        term: '360',
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 325000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2010-117571',
        deedType: null,
        documentDate: '2010-07-19T00:00:00.000Z',
        granteeName: 'Richard Maciejewski, Jean Maciejewski',
        interestRate: 0,
        interestRateType: null,
        lenderCode: 'M',
        lenderName: 'Fairway Independent Mortgage Corp',
        lenderType: 'Mortgage Company',
        loanType: 'New Conventional',
        loanTypeCode: 'COV',
        maturityDate: '2040-08-01T00:00:00.000Z',
        mortgageId: '771632',
        open: false,
        position: null,
        recordingDate: '2010-09-08T00:00:00.000Z',
        seqNo: 6,
        term: '350',
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 25000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2009-140215',
        deedType: null,
        documentDate: '2009-07-01T00:00:00.000Z',
        granteeName: 'Richard L Maciejewski, Jean M Maciejewski',
        interestRate: 3.25,
        interestRateType: 'Variable',
        lenderCode: 'B',
        lenderName: 'First Choice Bank',
        lenderType: 'Bank',
        loanType: 'Credit Line (Revolving)',
        loanTypeCode: 'LOC',
        maturityDate: null,
        mortgageId: '727300',
        open: false,
        position: null,
        recordingDate: '2009-09-10T00:00:00.000Z',
        seqNo: 7,
        term: null,
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 325000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2009-140214',
        deedType: null,
        documentDate: '2009-06-30T00:00:00.000Z',
        granteeName: 'Richard Maciejewski, Jean Maciejewski',
        interestRate: 0,
        interestRateType: null,
        lenderCode: 'M',
        lenderName: 'Metlife Home Loans',
        lenderType: 'Mortgage Company',
        loanType: 'New Conventional',
        loanTypeCode: 'COV',
        maturityDate: '2039-08-01T00:00:00.000Z',
        mortgageId: '727299',
        open: false,
        position: null,
        recordingDate: '2009-09-10T00:00:00.000Z',
        seqNo: 8,
        term: '350',
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 325000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2009-039645',
        deedType: null,
        documentDate: '2008-12-03T00:00:00.000Z',
        granteeName: 'Richard Maciejewski, Jean Maciejewski',
        interestRate: 0,
        interestRateType: null,
        lenderCode: 'B',
        lenderName: 'Jpmorgan Chase Bank Na',
        lenderType: 'Bank',
        loanType: 'Unknown',
        loanTypeCode: 'U',
        maturityDate: '2039-01-01T00:00:00.000Z',
        mortgageId: '705262',
        open: false,
        position: null,
        recordingDate: '2009-03-19T00:00:00.000Z',
        seqNo: 9,
        term: '350',
        termType: 'Month',
        transactionType: null,
      },
      {
        amount: 107000,
        assumable: false,
        book: null,
        page: null,
        documentNumber: 'R2007-162440',
        deedType: null,
        documentDate: '2007-08-11T00:00:00.000Z',
        granteeName: 'Richard Maciejewski, Jean Maciejewski',
        interestRate: 8.25,
        interestRateType: 'Variable',
        lenderCode: 'B',
        lenderName: 'Jpmorgan Chase Bank Na',
        lenderType: 'Bank',
        loanType: 'Credit Line (Revolving)',
        loanTypeCode: 'LOC',
        maturityDate: '2037-08-11T00:00:00.000Z',
        mortgageId: '645363',
        open: false,
        position: null,
        recordingDate: '2007-08-31T00:00:00.000Z',
        seqNo: 10,
        term: '360',
        termType: 'Month',
        transactionType: null,
      },
    ],
    neighborhood: {
      center: 'POINT(-88.118480587841 41.8328129099628)',
      id: '323789',
      name: 'Stonehedge',
      type: 'subdivision',
    },
    ownerInfo: {
      absenteeOwner: false,
      companyName: null,
      corporateOwned: false,
      equity: 293000,
      inStateAbsenteeOwner: false,
      mailAddress: {
        address: '1968 Greensboro Dr',
        addressFormat: 'S',
        carrierRoute: 'C049',
        city: null,
        county: null,
        fips: '17043',
        house: null,
        label: '',
        preDirection: null,
        state: null,
        street: 'Greensboro',
        streetType: null,
        unit: null,
        unitType: null,
        zip: null,
        zip4: null,
      },
      outOfStateAbsenteeOwner: false,
      owner1FirstName: 'Ryan',
      owner1FullName: 'Ryan Westfall',
      owner1LastName: 'Westfall',
      owner1Type: 'Individual',
      owner2FirstName: null,
      owner2FullName: '',
      owner2LastName: null,
      owner2Type: 'Other',
      ownerOccupied: true,
      ownershipLength: 3,
    },
    propertyInfo: {
      address: {
        address: '1968 Greensboro Dr',
        carrierRoute: 'C049',
        city: 'Wheaton',
        congressionalDistrict: '03',
        county: 'Dupage County',
        fips: '17043',
        house: '1968',
        jurisdiction: 'Dupage County',
        label: '1968 Greensboro Dr, Wheaton, IL 60189',
        preDirection: null,
        state: 'IL',
        street: 'Greensboro',
        streetType: 'Dr',
        unit: null,
        unitType: null,
        zip: '60189',
        zip4: '8132',
      },
      airConditioningType: 'Central',
      attic: false,
      basementFinishedPercent: 0,
      basementSquareFeet: 1127,
      basementSquareFeetFinished: 0,
      basementSquareFeetUnfinished: 0,
      basementType: null,
      bathrooms: 3,
      bedrooms: null,
      breezeway: false,
      buildingSquareFeet: 2598,
      buildingsCount: 0,
      carport: false,
      construction: 'Mixed',
      deck: false,
      deckArea: 0,
      featureBalcony: false,
      fireplace: false,
      fireplaces: null,
      garageSquareFeet: 528,
      garageType: 'Garage',
      heatingFuelType: null,
      heatingType: 'Central',
      hoa: false,
      interiorStructure: null,
      latitude: 41.833230929728565,
      livingSquareFeet: 2598,
      longitude: -88.12083257242568,
      lotSquareFeet: 12632,
      parcelAccountNumber: null,
      parkingSpaces: 2,
      partialBathrooms: 0,
      patio: false,
      patioArea: '0',
      plumbingFixturesCount: 0,
      pool: false,
      poolArea: 0,
      porchArea: null,
      porchType: null,
      pricePerSquareFoot: 183,
      propertyUse: 'Single Family Residence',
      propertyUseCode: 385,
      roofConstruction: null,
      roofMaterial: '109',
      roomsCount: 0,
      rvParking: false,
      safetyFireSprinklers: false,
      stories: null,
      taxExemptionHomeownerFlag: true,
      unitsCount: 0,
      utilitiesSewageUsage: null,
      utilitiesWaterSource: null,
      yearBuilt: 1984,
    },
    saleHistory: [
      {
        book: null,
        page: null,
        documentNumber: 'R2025-023071',
        armsLength: false,
        buyerNames: 'Ryan Westfall Trust',
        documentType: 'Transfer On Death Deed',
        documentTypeCode: 'DTDD',
        downPayment: 0,
        ltv: null,
        ownerIndividual: true,
        purchaseMethod: 'Cash Purchase',
        recordingDate: '2025-04-23T00:00:00.000Z',
        saleAmount: 0,
        saleDate: '2025-04-22T00:00:00.000Z',
        sellerNames: 'Ryan Westfall',
        seqNo: 1,
        transactionType: "Non-Arm's Length Transactions",
      },
      {
        book: null,
        page: null,
        documentNumber: 'R2020-068127',
        armsLength: true,
        buyerNames: 'Ryan Westfall, Teresa Marie Westfall',
        documentType: 'Warranty Deed',
        documentTypeCode: 'DTWD',
        downPayment: 23750,
        ltv: 95,
        ownerIndividual: true,
        purchaseMethod: 'Financed',
        recordingDate: '2020-06-30T00:00:00.000Z',
        saleAmount: 475000,
        saleDate: '2020-06-26T00:00:00.000Z',
        sellerNames: 'Jean Maciejewski',
        seqNo: 2,
        transactionType: 'Arms Length Residential Transactions (Purchase/Resales)',
      },
    ],
    schools: [
      {
        city: 'Wheaton',
        enrollment: 1982,
        grades: '9-12',
        levels: {
          elementary: null,
          high: true,
          middle: null,
          preschool: null,
        },
        location: 'POINT(-88.146118 41.834869)',
        name: 'Wheaton Warrenville South High School',
        parentRating: 3,
        rating: 8,
        state: 'IL',
        street: '1920 Wiesbrook Road South',
        type: 'Public',
        zip: '60189',
      },
      {
        city: 'Wheaton',
        enrollment: 620,
        grades: '6-8',
        levels: {
          elementary: null,
          high: null,
          middle: true,
          preschool: null,
        },
        location: 'POINT(-88.109077 41.852871)',
        name: 'Edison Middle School',
        parentRating: 4,
        rating: 4,
        state: 'IL',
        street: '1125 South Wheaton Avenue',
        type: 'Public',
        zip: '60189',
      },
      {
        city: 'Wheaton',
        enrollment: 507,
        grades: 'PK-5',
        levels: {
          elementary: true,
          high: null,
          middle: null,
          preschool: true,
        },
        location: 'POINT(-88.129822 41.851345)',
        name: 'Madison Elementary School',
        parentRating: 4,
        rating: 4,
        state: 'IL',
        street: '1620 Mayo Avenue',
        type: 'Public',
        zip: '60189',
      },
      {
        city: 'Wheaton',
        enrollment: 459,
        grades: 'K-5',
        levels: {
          elementary: true,
          high: null,
          middle: null,
          preschool: null,
        },
        location: 'POINT(-88.108467 41.857048)',
        name: 'Whittier Elementary School',
        parentRating: 5,
        rating: 4,
        state: 'IL',
        street: '218 West Park Avenue',
        type: 'Public',
        zip: '60189',
      },
    ],
    taxInfo: {
      assessedImprovementValue: 150477,
      assessedLandValue: 51778,
      assessedValue: 202255,
      assessmentYear: 2024,
      estimatedValue: null,
      marketImprovementValue: 451431,
      marketLandValue: 155334,
      marketValue: 606765,
      propertyId: 175468968,
      taxAmount: '12520.12',
      taxDelinquentYear: null,
      year: 2024,
    },
    comps: [],
  },
  statusCode: 200,
  statusMessage: 'Success',
  live: true,
  requestExecutionTimeMS: '29ms',
  propertyLookupExecutionTimeMS: '23ms',
  compsLookupExecutionTimeMS: null,
};
