UNPKG

reso-api-server

Version:
921 lines (887 loc) 43.2 kB
$data.Entity.extend("reso.Property", { ListingId: { type: "string", key: true, computed: false }, ListingKey: { type: "string", maxLength: 255 }, ListAOR: { type: "string", maxLength: 50 }, OriginatingSystemKey: { type: "string", maxLength: 255 }, OriginatingSystemName: { type: "string", maxLength: 255 }, ListingService: { type: "string", maxLength: 25 }, ListingAgreement: { type: "string", maxLength: 25 }, LeaseConsideredYN: { type: "boolean" }, HomeWarrantyYN: { type: "boolean" }, CopyrightNotice: { type: "string", maxLength: 500 }, Disclaimer: { type: "string", maxLength: 500 }, StandardStatus: { type: "string", maxLength: 25 }, MlsStatus: { type: "string", maxLength: 50 }, ApprovalStatus: { type: "string", maxLength: 25 }, ListingContractDate: { type: "date" }, ContractStatusChangeDate: { type: "date" }, ExpirationDate: { type: "date" }, CancelationDate: { type: "date" }, ContingentDate: { type: "date" }, WithdrawnDate: { type: "date" }, PurchaseContractDate: { type: "date" }, CloseDate: { type: "date" }, OnMarketDate: { type: "date" }, OffMarketDate: { type: "date" }, PendingTimestamp: { type: "datetime" }, ModificationTimestamp: { type: "datetime" }, StatusChangeTimestamp: { type: "datetime" }, PriceChangeTimestamp: { type: "datetime" }, MajorChangeType: { type: "string", maxLength: 255 }, MajorChangeTimestamp: { type: "datetime" }, OriginalEntryTimestamp: { type: "datetime" }, OnMarketTimestamp: { type: "datetime" }, OffMarketTimestamp: { type: "datetime" }, DaysOnMarket: { type: "int" }, CumulativeDaysOnMarket: { type: "int" }, ClosePrice: { type: "number" }, ListPrice: { type: "number", required: true }, OriginalListPrice: { type: "number" }, ListPriceLow: { type: "number" }, PreviousListPrice: { type: "number" }, BuyerAgencyCompensation: { type: "string", maxLength: 25 }, BuyerAgencyCompensationType: { type: "string", maxLength: 25 }, SubAgencyCompensation: { type: "string", maxLength: 25 }, SubAgencyCompensationType: { type: "string", maxLength: 25 }, TransactionBrokerCompensation: { type: "string", maxLength: 25 }, TransactionBrokerCompensationType: { type: "string", maxLength: 25 }, DualVariableCompensationYN: { type: "boolean" }, LeaseRenewalCompensation: { type: "string", maxLength: 255 }, VOWEntireListingDisplayYN: { type: "boolean" }, VOWAddressDisplayYN: { type: "boolean" }, VOWConsumerCommentYN: { type: "boolean" }, VOWAutomatedValuationDisplayYN: { type: "boolean" }, SignOnPropertyYN: { type: "boolean" }, IDXEntireListingDisplayYN: { type: "boolean" }, IDXAddressDisplayYN: { type: "boolean" }, IDXConsumerCommentYN: { type: "boolean" }, IDXAutomatedValuationDisplayYN: { type: "boolean" }, PhotosCount: { type: "int" }, PhotosChangeTimestamp: { type: "datetime" }, VideosCount: { type: "int" }, VideosChangeTimestamp: { type: "datetime" }, DocumentsCount: { type: "int" }, DocumentsChangeTimestamp: { type: "datetime" }, DocumentsAvailable: { type: "string", maxLength: 1024 }, VirtualTourURLUnbranded: { type: "string", maxLength: 8000 }, VirtualTourURLBranded: { type: "string", maxLength: 8000 }, PublicRemarks: { type: "string", maxLength: 4000 }, PrivateRemarks: { type: "string", maxLength: 4000 }, PrivateOfficeRemarks: { type: "string", maxLength: 4000 }, ShowingInstructions: { type: "string", maxLength: 4000 }, ShowingContactPhoneNumber: { type: "string", maxLength: 16 }, ShowingContactPhoneExtension: { type: "int" }, ShowingContactName: { type: "string", maxLength: 40 }, ShowingContactType: { type: "string", maxLength: 75 }, LockBoxLocation: { type: "string", maxLength: 255 }, LockBoxType: { type: "string", maxLength: 255 }, LockBoxSerialNumber: { type: "string", maxLength: 25 }, Exclusions: { type: "string", maxLength: 1024 }, Inclusions: { type: "string", maxLength: 1024 }, Disclosures: { type: "string", maxLength: 4000 }, Ownership: { type: "string", maxLength: 1024 }, SpecialListingConditions: { type: "string", maxLength: 1024 }, ListingTerms: { type: "string", maxLength: 1024 }, ListingFinancing: { type: "string", maxLength: 1024 }, BuyerFinancing: { type: "string", maxLength: 1024 }, Contingency: { type: "string", maxLength: 1024 }, Possession: { type: "string", maxLength: 255 }, ClosingTerms: { type: "string", maxLength: 1024 }, StreetNumber: { type: "string", required: true, maxLength: 25 }, StreetNumberNumeric: { type: "int" }, StreetDirPrefix: { type: "string", maxLength: 15 }, StreetName: { type: "string", required: true, maxLength: 50 }, StreetAdditionalInfo: { type: "string", maxLength: 50 }, StreetSuffix: { type: "string", maxLength: 25 }, StreetSuffixModifier: { type: "string", maxLength: 25 }, StreetDirSuffix: { type: "string", maxLength: 15 }, UnitNumber: { type: "string", maxLength: 25 }, City: { type: "string", required: true, maxLength: 50 }, StateOrProvince: { type: "string", required: true, maxLength: 2 }, Country: { type: "string", maxLength: 2 }, PostalCode: { type: "string", required: true, maxLength: 10 }, PostalCodePlus4: { type: "string", maxLength: 4 }, CarrierRoute: { type: "string", maxLength: 9 }, UnparsedAddress: { type: "string", maxLength: 255 }, PostalCity: { type: "string", maxLength: 50 }, CountyOrParish: { type: "string", maxLength: 50 }, Township: { type: "string", maxLength: 50 }, MLSAreaMajor: { type: "string", maxLength: 50 }, MLSAreaMinor: { type: "string", maxLength: 50 }, SubdivisionName: { type: "string", maxLength: 50 }, Latitude: { type: "number" }, Longitude: { type: "number" }, Directions: { type: "string", maxLength: 1024 }, MapCoordinate: { type: "string", maxLength: 25 }, MapCoordinateSource: { type: "string", maxLength: 25 }, MapURL: { type: "string", maxLength: 8000 }, CrossStreet: { type: "string", maxLength: 50 }, ElementarySchool: { type: "string", maxLength: 50 }, ElementarySchoolDistrict: { type: "string", maxLength: 50 }, MiddleOrJuniorSchool: { type: "string", maxLength: 50 }, MiddleOrJuniorSchoolDistrict: { type: "string", maxLength: 50 }, HighSchool: { type: "string", maxLength: 50 }, HighSchoolDistrict: { type: "string", maxLength: 50 }, ListAgentNamePrefix: { type: "string", maxLength: 10 }, ListAgentFirstName: { type: "string", required: true, maxLength: 50 }, ListAgentMiddleName: { type: "string", maxLength: 50 }, ListAgentLastName: { type: "string", required: true, maxLength: 50 }, ListAgentNameSuffix: { type: "string", maxLength: 10 }, ListAgentFullName: { type: "string", maxLength: 150 }, ListAgentPreferredPhone: { type: "string", maxLength: 16 }, ListAgentPreferredPhoneExt: { type: "int" }, ListAgentOfficePhone: { type: "string", maxLength: 16 }, ListAgentOfficePhoneExt: { type: "int" }, ListAgentCellPhone: { type: "string", maxLength: 16 }, ListAgentDirectPhone: { type: "string", maxLength: 16 }, ListAgentHomePhone: { type: "string", maxLength: 16 }, ListAgentFax: { type: "string", maxLength: 16 }, ListAgentPager: { type: "string", maxLength: 16 }, ListAgentVoiceMail: { type: "string", maxLength: 16 }, ListAgentVoiceMailExt: { type: "int" }, ListAgentTollFreePhone: { type: "string", maxLength: 16 }, ListAgentEmail: { type: "string", required: true, maxLength: 80 }, ListAgentURL: { type: "string", maxLength: 8000 }, ListAgentKey: { type: "string", maxLength: 255 }, ListAgentAOR: { type: "string", maxLength: 50 }, ListAgentMlsId: { type: "string", maxLength: 25 }, ListAgentStateLicense: { type: "string", maxLength: 50 }, ListAgentDesignation: { type: "string", maxLength: 50 }, ListOfficeName: { type: "string", required: true, maxLength: 50 }, ListOfficePhone: { type: "string", maxLength: 16 }, ListOfficePhoneExt: { type: "int" }, ListOfficeFax: { type: "string", maxLength: 16 }, ListOfficeEmail: { type: "string", maxLength: 80 }, ListOfficeURL: { type: "string", maxLength: 8000 }, ListOfficeKey: { type: "string", maxLength: 255 }, ListOfficeAOR: { type: "string", maxLength: 50 }, ListOfficeMlsId: { type: "string", maxLength: 25 }, CoListAgentNamePrefix: { type: "string", maxLength: 10 }, CoListAgentFirstName: { type: "string", maxLength: 50 }, CoListAgentMiddleName: { type: "string", maxLength: 50 }, CoListAgentLastName: { type: "string", maxLength: 50 }, CoListAgentNameSuffix: { type: "string", maxLength: 10 }, CoListAgentFullName: { type: "string", maxLength: 150 }, CoListAgentPreferredPhone: { type: "string", maxLength: 16 }, CoListAgentPreferredPhoneExt: { type: "int" }, CoListAgentOfficePhone: { type: "string", maxLength: 16 }, CoListAgentOfficePhoneExt: { type: "int" }, CoListAgentCellPhone: { type: "string", maxLength: 16 }, CoListAgentDirectPhone: { type: "string", maxLength: 16 }, CoListAgentHomePhone: { type: "string", maxLength: 16 }, CoListAgentFax: { type: "string", maxLength: 16 }, CoListAgentPager: { type: "string", maxLength: 16 }, CoListAgentVoiceMail: { type: "string", maxLength: 16 }, CoListAgentVoiceMailExt: { type: "int" }, CoListAgentTollFreePhone: { type: "string", maxLength: 16 }, CoListAgentEmail: { type: "string", maxLength: 80 }, CoListAgentURL: { type: "string", maxLength: 8000 }, CoListAgentKey: { type: "string", maxLength: 255 }, CoListAgentAOR: { type: "string", maxLength: 50 }, CoListAgentMlsId: { type: "string", maxLength: 25 }, CoListAgentStateLicense: { type: "string", maxLength: 50 }, CoListAgentDesignation: { type: "string", maxLength: 50 }, CoListOfficeName: { type: "string", maxLength: 50 }, CoListOfficePhone: { type: "string", maxLength: 16 }, CoListOfficePhoneExt: { type: "int" }, CoListOfficeFax: { type: "string", maxLength: 16 }, CoListOfficeEmail: { type: "string", maxLength: 80 }, CoListOfficeURL: { type: "string", maxLength: 8000 }, CoListOfficeKey: { type: "string", maxLength: 255 }, CoListOfficeAOR: { type: "string", maxLength: 50 }, CoListOfficeMlsId: { type: "string", maxLength: 25 }, BuyerAgentNamePrefix: { type: "string", maxLength: 10 }, BuyerAgentFirstName: { type: "string", maxLength: 50 }, BuyerAgentMiddleName: { type: "string", maxLength: 50 }, BuyerAgentLastName: { type: "string", maxLength: 50 }, BuyerAgentNameSuffix: { type: "string", maxLength: 10 }, BuyerAgentFullName: { type: "string", maxLength: 150 }, BuyerAgentPreferredPhone: { type: "string", maxLength: 16 }, BuyerAgentPreferredPhoneExt: { type: "int" }, BuyerAgentOfficePhone: { type: "string", maxLength: 16 }, BuyerAgentOfficePhoneExt: { type: "int" }, BuyerAgentCellPhone: { type: "string", maxLength: 16 }, BuyerAgentDirectPhone: { type: "string", maxLength: 16 }, BuyerAgentHomePhone: { type: "string", maxLength: 16 }, BuyerAgentFax: { type: "string", maxLength: 16 }, BuyerAgentPager: { type: "string", maxLength: 16 }, BuyerAgentVoiceMail: { type: "string", maxLength: 16 }, BuyerAgentVoiceMailExt: { type: "int" }, BuyerAgentTollFreePhone: { type: "string", maxLength: 16 }, BuyerAgentEmail: { type: "string", maxLength: 80 }, BuyerAgentURL: { type: "string", maxLength: 8000 }, BuyerAgentKey: { type: "string", maxLength: 255 }, BuyerAgentAOR: { type: "string", maxLength: 50 }, BuyerAgentMlsId: { type: "string", maxLength: 25 }, BuyerAgentStateLicense: { type: "string", maxLength: 50 }, BuyerAgentDesignation: { type: "string", maxLength: 50 }, BuyerOfficeName: { type: "string", maxLength: 50 }, BuyerOfficePhone: { type: "string", maxLength: 16 }, BuyerOfficePhoneExt: { type: "int" }, BuyerOfficeFax: { type: "string", maxLength: 16 }, BuyerOfficeEmail: { type: "string", maxLength: 80 }, BuyerOfficeURL: { type: "string", maxLength: 8000 }, BuyerOfficeKey: { type: "string", maxLength: 255 }, BuyerOfficeAOR: { type: "string", maxLength: 50 }, BuyerOfficeMlsId: { type: "string", maxLength: 25 }, CoBuyerAgentNamePrefix: { type: "string", maxLength: 10 }, CoBuyerAgentFirstName: { type: "string", maxLength: 50 }, CoBuyerAgentMiddleName: { type: "string", maxLength: 50 }, CoBuyerAgentLastName: { type: "string", maxLength: 50 }, CoBuyerAgentNameSuffix: { type: "string", maxLength: 10 }, CoBuyerAgentFullName: { type: "string", maxLength: 150 }, CoBuyerAgentPreferredPhone: { type: "string", maxLength: 16 }, CoBuyerAgentPreferredPhoneExt: { type: "int" }, CoBuyerAgentOfficePhone: { type: "string", maxLength: 16 }, CoBuyerAgentOfficePhoneExt: { type: "int" }, CoBuyerAgentCellPhone: { type: "string", maxLength: 16 }, CoBuyerAgentDirectPhone: { type: "string", maxLength: 16 }, CoBuyerAgentHomePhone: { type: "string", maxLength: 16 }, CoBuyerAgentFax: { type: "string", maxLength: 16 }, CoBuyerAgentPager: { type: "string", maxLength: 16 }, CoBuyerAgentVoiceMail: { type: "string", maxLength: 16 }, CoBuyerAgentVoiceMailExt: { type: "int" }, CoBuyerAgentTollFreePhone: { type: "string", maxLength: 16 }, CoBuyerAgentEmail: { type: "string", maxLength: 80 }, CoBuyerAgentURL: { type: "string", maxLength: 8000 }, CoBuyerAgentKey: { type: "string", maxLength: 255 }, CoBuyerAgentAOR: { type: "string", maxLength: 50 }, CoBuyerAgentMlsId: { type: "string", maxLength: 25 }, CoBuyerAgentStateLicense: { type: "string", maxLength: 50 }, CoBuyerAgentDesignation: { type: "string", maxLength: 50 }, CoBuyerOfficeName: { type: "string", maxLength: 50 }, CoBuyerOfficePhone: { type: "string", maxLength: 16 }, CoBuyerOfficePhoneExt: { type: "int" }, CoBuyerOfficeFax: { type: "string", maxLength: 16 }, CoBuyerOfficeEmail: { type: "string", maxLength: 80 }, CoBuyerOfficeURL: { type: "string", maxLength: 8000 }, CoBuyerOfficeKey: { type: "string", maxLength: 255 }, CoBuyerOfficeAOR: { type: "string", maxLength: 50 }, CoBuyerOfficeMlsId: { type: "string", maxLength: 25 }, ListTeamDisplayName: { type: "string", maxLength: 50 }, BuyerTeamDisplayName: { type: "string", maxLength: 50 }, PropertyType: { type: "string", maxLength: 50 }, PropertySubType: { type: "string", maxLength: 50 }, AssociationYN: { type: "boolean" }, AssociationName: { type: "string", maxLength: 50 }, AssociationPhone: { type: "string", maxLength: 16 }, AssociationFee: { type: "number" }, AssociationFeeFrequency: { type: "string", maxLength: 25 }, AssociationName2: { type: "string", maxLength: 50 }, AssociationPhone2: { type: "string", maxLength: 16 }, AssociationFee2: { type: "number" }, AssociationFee2Frequency: { type: "string", maxLength: 25 }, AssociationFeeIncludes: { type: "string", maxLength: 1024 }, AssociationAmenities: { type: "string", maxLength: 1024 }, LotSizeArea: { type: "number" }, LotSizeSource: { type: "string", maxLength: 50 }, LotSizeUnits: { type: "string", maxLength: 25 }, LotSizeDimensions: { type: "string", maxLength: 150 }, LotDimensionsSource: { type: "string", maxLength: 50 }, LotSizeAcres: { type: "number" }, LotSizeSquareFeet: { type: "number" }, FrontageType: { type: "string", maxLength: 50 }, FrontageLength: { type: "string", maxLength: 255 }, RoadFrontageType: { type: "string", maxLength: 255 }, RoadSurfaceType: { type: "string", maxLength: 255 }, RoadResponsibility: { type: "string", maxLength: 50 }, OccupantName: { type: "string", maxLength: 50 }, OccupantPhone: { type: "string", maxLength: 16 }, OccupantType: { type: "string", maxLength: 50 }, OwnerName: { type: "string", maxLength: 50 }, OwnerPhone: { type: "string", maxLength: 16 }, LeaseTerm: { type: "string", maxLength: 25 }, LandLeaseYN: { type: "boolean" }, LandLeaseAmount: { type: "number" }, LandLeaseAmountFrequency: { type: "string", maxLength: 25 }, LandLeaseExpirationDate: { type: "date" }, View: { type: "string", maxLength: 1024 }, ViewYN: { type: "boolean" }, LotFeatures: { type: "string", maxLength: 1024 }, CurrentUse: { type: "string", maxLength: 1024 }, PossibleUse: { type: "string", maxLength: 1024 }, DevelopmentStatus: { type: "string", maxLength: 1024 }, NumberofLots: { type: "int" }, HorseYN: { type: "boolean" }, HorseAmenities: { type: "string", maxLength: 1024 }, CommunityFeatures: { type: "string", maxLength: 1024 }, SeniorCommunityYN: { type: "boolean" }, PoolFeatures: { type: "string", maxLength: 1024 }, PoolPrivateYN: { type: "boolean" }, SpaFeatures: { type: "string", maxLength: 1024 }, SpaYN: { type: "boolean" }, WaterfrontYN: { type: "boolean" }, WaterBodyName: { type: "string", maxLength: 50 }, GrossScheduledIncome: { type: "number" }, IncomeIncludes: { type: "string", maxLength: 1024 }, OperatingExpense: { type: "number" }, OperatingExpenseIncludes: { type: "string", maxLength: 1024 }, NetOperatingIncome: { type: "number" }, CapRate: { type: "number" }, NumberOfUnitsLeased: { type: "int" }, NumberOfUnitsMoMo: { type: "int" }, NumberOfUnitsVacant: { type: "int" }, ExistingLeaseType: { type: "string", maxLength: 75 }, UnitsFurnished: { type: "string", maxLength: 25 }, TotalActualRent: { type: "number" }, RentControlYN: { type: "boolean" }, NumberOfUnitsTotal: { type: "int" }, NumberOfUnitsBuildings: { type: "int" }, TenantPays: { type: "string", maxLength: 255 }, OwnerPays: { type: "string", maxLength: 255 }, VacancyAllowance: { type: "int" }, CableTvExpense: { type: "number" }, ElectricExpense: { type: "number" }, GardnerExpense: { type: "number" }, FurnitureReplacementExpense: { type: "number" }, GasExpense: { type: "number" }, InsuranceExpense: { type: "number" }, OtherExpense: { type: "number" }, LicensesExpense: { type: "number" }, MaintenanceExpense: { type: "number" }, NewTaxesExpense: { type: "number" }, PestControlExpense: { type: "number" }, PoolExpense: { type: "number" }, SuppliesExpense: { type: "number" }, TrashExpense: { type: "number" }, WaterSewerExpense: { type: "number" }, WorkmansCompensationExpense: { type: "number" }, ProfessionalManagementExpense: { type: "number" }, ManagerExpense: { type: "number" }, FinancialDataSource: { type: "string", maxLength: 75 }, RentIncludes: { type: "string", maxLength: 255 }, Utilities: { type: "string", maxLength: 1024 }, Electric: { type: "string", maxLength: 255 }, Gas: { type: "string", maxLength: 255 }, Telephone: { type: "string", maxLength: 255 }, IrrigationWaterRightsYN: { type: "boolean" }, IrrigationWaterRightsAcres: { type: "int" }, IrrigationSource: { type: "string", maxLength: 255 }, WaterSource: { type: "string", maxLength: 1024 }, DistanceToWater: { type: "string", maxLength: 255 }, ElectricOnPropertyYN: { type: "string", maxLength: 1 }, DistanceToElectric: { type: "string", maxLength: 255 }, Sewer: { type: "string", maxLength: 1024 }, DistanceToSewer: { type: "string", maxLength: 255 }, DistanceToGas: { type: "string", maxLength: 255 }, DistanceToPhoneService: { type: "string", maxLength: 255 }, DistanceToStreet: { type: "string", maxLength: 255 }, DistanceToSchools: { type: "string", maxLength: 255 }, DistanceFromShopping: { type: "string", maxLength: 255 }, DistanceToPlaceofWorship: { type: "string", maxLength: 255 }, DistanceToBus: { type: "string", maxLength: 255 }, DistanceToFreeway: { type: "string", maxLength: 255 }, CropsIncludedYN: { type: "boolean" }, GrazingPermitsBlmYN: { type: "boolean" }, GrazingPermitsForestServiceYN: { type: "boolean" }, GrazingPermitsPrivateYN: { type: "boolean" }, CultivatedArea: { type: "number" }, PastureArea: { type: "number" }, RangeArea: { type: "number" }, WoodedArea: { type: "number" }, Vegetation: { type: "string", maxLength: 1024 }, Fencing: { type: "string", maxLength: 255 }, DistanceFromSchoolBus: { type: "string", maxLength: 255 }, FarmCreditServiceInclYN: { type: "boolean" }, FarmLandAreaUnits: { type: "string", maxLength: 25 }, FarmLandAreaSource: { type: "string", maxLength: 50 }, BedroomsTotal: { type: "int", required: true }, BedroomsPossible: { type: "int" }, BathroomsTotal: { type: "string", required: true, maxLength: 25 }, BathroomsFull: { type: "int" }, BathroomsHalf: { type: "int" }, BathroomsThreeQuarter: { type: "int" }, BathroomsOneQuarter: { type: "int" }, LivingArea: { type: "number", required: true }, LivingAreaSource: { type: "string", maxLength: 50 }, LivingAreaUnits: { type: "string", maxLength: 25 }, AboveGradeFinishedArea: { type: "number" }, AboveGradeFinishedAreaSource: { type: "string", maxLength: 50 }, AboveGradeFinishedAreaUnits: { type: "string", maxLength: 25 }, BelowGradeFinishedArea: { type: "number" }, BelowGradeFinishedAreaSource: { type: "string", maxLength: 50 }, BelowGradeFinishedAreaUnits: { type: "string", maxLength: 25 }, BuildingAreaTotal: { type: "number" }, BuildingAreaSource: { type: "string", maxLength: 50 }, BuildingAreaUnits: { type: "string", maxLength: 25 }, CommonWalls: { type: "string", maxLength: 1024 }, PropertyAttachedYN: { type: "boolean" }, FoundationArea: { type: "number" }, GarageYN: { type: "boolean" }, GarageSpaces: { type: "number" }, AttachedGarageYN: { type: "boolean" }, CarportSpaces: { type: "number" }, CarportYN: { type: "boolean" }, OpenParkingYN: { type: "boolean" }, OpenParkingSpaces: { type: "number" }, CoveredSpaces: { type: "number" }, ParkingFeatures: { type: "string", maxLength: 1024 }, OtherParking: { type: "string", maxLength: 1024 }, ParkingTotal: { type: "number" }, RVParkingDimensions: { type: "string", maxLength: 50 }, StoriesTotal: { type: "int" }, Stories: { type: "int" }, Levels: { type: "string", maxLength: 1024 }, EntryLocation: { type: "string", maxLength: 50 }, EntryLevel: { type: "int" }, YearBuilt: { type: "int" }, YearBuiltEffective: { type: "int" }, YearBuiltDetails: { type: "string", maxLength: 1024 }, YearBuiltSource: { type: "string", maxLength: 60 }, NewConstructionYN: { type: "boolean" }, GreenBuildingVerification: { type: "string", maxLength: 1024 }, Green: { type: "object" }, /* * Green subdocuments may include... * Green[type].YearVerified (string) * Green[type].VerificationRating (string) * Green[type].VerificationMetric (int) * Green[type].VerificationURL (string) */ BuilderName: { type: "string", maxLength: 50 }, BuilderModel: { type: "string", maxLength: 50 }, Heating: { type: "string", maxLength: 1024 }, HeatingYN: { type: "boolean" }, Cooling: { type: "string", maxLength: 1024 }, CoolingYN: { type: "boolean" }, InteriorFeatures: { type: "string", maxLength: 1024 }, ExteriorFeatures: { type: "string", maxLength: 1024 }, PatioAndPorchFeatures: { type: "string", maxLength: 1024 }, ArchitecturalStyle: { type: "string", maxLength: 1024 }, FireplaceFeatures: { type: "string", maxLength: 1024 }, FireplacesTotal: { type: "int" }, FireplaceYN: { type: "boolean" }, DoorFeatures: { type: "string", maxLength: 1024 }, WindowFeatures: { type: "string", maxLength: 1024 }, Roof: { type: "string", maxLength: 1024 }, ConstructionMaterials: { type: "string", maxLength: 1024 }, FoundationDetails: { type: "string", maxLength: 1024 }, Basement: { type: "string", maxLength: 1024 }, Flooring: { type: "string", maxLength: 1024 }, OtherStructures: { type: "string", maxLength: 1024 }, DirectionFaces: { type: "string", maxLength: 25 }, OtherEquipment: { type: "string", maxLength: 1024 }, Appliances: { type: "string", maxLength: 1024 }, LaundryFeatures: { type: "string", maxLength: 1024 }, SecurityFeatures: { type: "string", maxLength: 1024 }, NumberOfSeparateElectricMeters: { type: "int" }, NumberOfSeparateGasMeters: { type: "int" }, NumberOfSeparateWaterMeters: { type: "int" }, GreenEnergyEfficient: { type: "string", maxLength: 1024 }, GreenEnergyGeneration: { type: "string", maxLength: 1024 }, GreenSustainability: { type: "string", maxLength: 1024 }, GreenWaterConservation: { type: "string", maxLength: 1024 }, GreenIndoorAirQuality: { type: "string", maxLength: 1024 }, GreenLocation: { type: "string", maxLength: 1024 }, WalkScore: { type: "int" }, HabitableResidenceYN: { type: "boolean" }, MobileLength: { type: "int" }, MobileWidth: { type: "int" }, BodyType: { type: "string", maxLength: 1024 }, Skirt: { type: "string", maxLength: 1024 }, MobileDimUnits: { type: "string", maxLength: 25 }, ParkName: { type: "string", maxLength: 50 }, ParkManagerName: { type: "string", maxLength: 50 }, ParkManagerPhone: { type: "string", maxLength: 16 }, MobileHomeRemainsYN: { type: "boolean" }, Make: { type: "string", maxLength: 50 }, Model: { type: "string", maxLength: 50 }, NumberOfPads: { type: "int" }, SerialU: { type: "string", maxLength: 25 }, DOH1: { type: "string", maxLength: 25 }, License1: { type: "string", maxLength: 25 }, SerialX: { type: "string", maxLength: 25 }, DOH2: { type: "string", maxLength: 25 }, License2: { type: "string", maxLength: 25 }, SerialXX: { type: "string", maxLength: 25 }, DOH3: { type: "string", maxLength: 25 }, License3: { type: "string", maxLength: 25 }, AccessibilityFeatures: { type: "string", maxLength: 1024 }, RoomsTotal: { type: "int" }, RoomType: { type: "string", maxLength: 1024 }, Room: { type: "object" }, /* * Room subdocuments may include... * Room[type].Area (int) * Room[type].AreaUnits (string) * Room[type].AreaSource (string) * Room[type].Dimensions (string) * Room[type].Length (int) * Room[type].Width (int) * Room[type].LengthWidthUnits (string) * Room[type].LengthWidthSource (string) * Room[type].Level (int) * Room[type].Features (string) * Room[type].Description (string) */ UnitType: { type: "object" }, /* * UnitType subdocuments may include... * UnitType[type].UnitsTotal (int) * UnitType[type].BedsTotal (int) * UnitType[type].BathsTotal (int) * UnitType[type].Furnished (string) * UnitType[type].Description (string) * UnitType[type].GarageSpaces (string) * UnitType[type].GarageAttachedYN (string) * UnitType[type].ActualRent (int) * UnitType[type].TotalRent (int) * UnitType[type].ProForma (int) */ Zoning: { type: "string", maxLength: 25 }, ZoningDescription: { type: "string", maxLength: 255 }, ParcelNumber: { type: "string", maxLength: 50 }, AdditionalParcelsYN: { type: "boolean" }, AdditionalParcelsDescription: { type: "string", maxLength: 255 }, TaxLot: { type: "string", maxLength: 25 }, TaxBlock: { type: "string", maxLength: 25 }, TaxTract: { type: "string", maxLength: 25 }, TaxLegalDescription: { type: "string", maxLength: 6000 }, TaxAmount: { type: "int" }, TaxAmountFrequency: { type: "string", maxLength: 25 }, TaxYear: { type: "int" }, TaxAssessedValue: { type: "int" }, TaxExemptions: { type: "string", maxLength: 1024 }, TaxOtherAssessmentAmount: { type: "int" }, TaxOtherAssessmentAmountFrequency: { type: "string", maxLength: 25 }, TaxBookNumber: { type: "string", maxLength: 25 }, TaxMapNumber: { type: "string", maxLength: 25 }, TaxParcelLetter: { type: "string", maxLength: 25 }, TaxStatusCurrent: { type: "string", maxLength: 50 }, PublicSurveySection: { type: "string", maxLength: 20 }, PublicSurveyTownship: { type: "string", maxLength: 20 }, PublicSurveyRange: { type: "string", maxLength: 20 } }); $data.Entity.extend("reso.Member", { id: { key: true, type: "id", nullable: false, computed: true }, MemberKey: { type: "string", maxLength: 255 }, OriginatingSystemMemberKey: { type: "string", maxLength: 255 }, OriginatingSystemName: { type: "string", maxLength: 255 }, MemberMlsId: { type: "string", maxLength: 25 }, MemberLoginId: { type: "string", maxLength: 25 }, MemberNrdsID: { type: "string", maxLength: 25 }, MemberPassword: { type: "string", maxLength: 25 }, MemberNamePrefix: { type: "string", maxLength: 10 }, MemberFirstName: { type: "string", maxLength: 50 }, MemberMiddleName: { type: "string", maxLength: 10 }, MemberLastName: { type: "string", maxLength: 150 }, MemberNickname: { type: "string", maxLength: 50 }, JobTitle: { type: "string", maxLength: 50 }, MemberEmail: { type: "string", maxLength: 80 }, MemberPreferredPhone: { type: "string", maxLength: 16 }, MemberPreferredPhoneExt: { type: "int" }, MemberOfficePhone: { type: "string", maxLength: 16 }, MemberOfficePhoneExt: { type: "int" }, MemberMobilePhone: { type: "string", maxLength: 16 }, MemberDirectPhone: { type: "string", maxLength: 16 }, MemberHomePhone: { type: "string", maxLength: 16 }, MemberFax: { type: "string", maxLength: 16 }, MemberPager: { type: "string", maxLength: 16 }, MemberVoiceMail: { type: "string", maxLength: 16 }, MemberVoiceMailExt: { type: "int" }, MemberTollFreePhone: { type: "string", maxLength: 16 }, MemberPhoneTTY: { type: "string", maxLength: 16 }, MemberOtherPhone: { type: "object" }, /* * MemberOtherPhone subdocuments may include... * MemberOtherPhone[555-555-5555].Type (string) * MemberOtherPhone[555-555-5555].Number (string) * MemberOtherPhone[555-555-5555].Ext (int) */ SocialMedia: { type: "object" }, /* * SocialMedia subdocuments may include... * SocialMedia[type].UrlOrId (string) */ MemberAOR: { type: "string", maxLength: 50 }, MemberAORMlsId: { type: "string", maxLength: 25 }, MemberAORkey: { type: "string", maxLength: 255 }, MemberStateLicense: { type: "string", maxLength: 50 }, MemberStateLicenseState: { type: "string", maxLength: 2 }, MemberDesignation: { type: "string", maxLength: 50 }, MemberAddress1: { type: "string", maxLength: 50 }, MemberAddress2: { type: "string", maxLength: 50 }, MemberCity: { type: "string", maxLength: 50 }, MemberStateOrProvince: { type: "string", maxLength: 2 }, MemberPostalCode: { type: "string", maxLength: 10 }, MemberPostalCodePlus4: { type: "string", maxLength: 4 }, MemberCarrierRoute: { type: "string", maxLength: 9 }, MemberCountyOrParish: { type: "string", maxLength: 50 }, MemberCounty: { type: "string", maxLength: 2 }, MemberMlsAccess: { type: "int" }, MemberStatus: { type: "string", maxLength: 25 }, MemberMlsSecurityClass: { type: "string", maxLength: 25 }, MemberType: { type: "string", maxLength: 25 }, MemberAssociationComments: { type: "string", maxLength: 500 }, MemberLanguages: { type: "string", maxLength: 1024 }, OfficeName: { type: "string", maxLength: 50 }, OfficeKey: { type: "string", maxLength: 255 }, OfficeMlsId: { type: "string", maxLength: 25 }, TimstampEntered: { type: "datetime" }, TimestampLastLoggedIn: { type: "datetime" }, TimestampModified: { type: "datetime" } }); $data.Entity.extend("reso.Office", { id: { key: true, type: "id", nullable: false, computed: true }, OfficeKey: { type: "string", maxLength: 255 }, OriginatingSystemOfficeKey: { type: "string", maxLength: 255 }, OriginatingSystemName: { type: "string", maxLength: 255 }, OfficeMlsId: { type: "string", maxLength: 25 }, OfficeName: { type: "string", maxLength: 50 }, OfficePhone: { type: "string", maxLength: 16 }, OfficePhoneExt: { type: "int" }, OfficeFax: { type: "string", maxLength: 16 }, OfficeEmail: { type: "string", maxLength: 80 }, OfficeType: { type: "string", maxLength: 50 }, OfficeBranchType: { type: "string", maxLength: 50 }, OfficeUrlType: { type: "object" }, /* * OfficeUrlType subdocuments may include... * OfficeUrlType[int] (string) */ OfficeUrlOrId: { type: "object" }, /* * OfficeUrlOld subdocuments may include... * OffoceUrlOld[int] (string) */ OfficeAOR: { type: "string", maxLength: 50 }, OfficeAORMlsId: { type: "string", maxLength: 25 }, OfficeAORKey: { type: "string", maxLength: 255 }, OfficeNrdsId: { type: "string", maxLength: 25 }, OfficeCorporateLicense: { type: "string", maxLength: 50 }, OfficeBrokerMlsId: { type: "string", maxLength: 25 }, OfficeBrokerKey: { type: "string", maxLength: 255 }, OfficeManagerMlsId: { type: "string", maxLength: 25 }, OfficeManagerKey: { type: "string", maxLength: 255 }, OfficeAddress1: { type: "string", maxLength: 50 }, OfficeAddress2: { type: "string", maxLength: 50 }, OfficeCity: { type: "string", maxLength: 50 }, OfficeStateOrProvince: { type: "string", maxLength: 2 }, OfficePostalCode: { type: "string", maxLength: 10 }, OfficePostalCodePlus4: { type: "string", maxLength: 4 }, OfficeCountyOrParish: { type: "string", maxLength: 50 }, OfficeStatus: { type: "string", maxLength: 25 }, OfficeASsociationComments: { type: "string", maxLength: 500 }, TimestampEntered: { type: "datetime" }, TimestampLastLoggedIn: { type: "datetime" }, TimestampModified: { type: "datetime" }, MainOfficeKey: { type: "string", maxLength: 255 }, MainOfficeMlsId: { type: "string", maxLength: 25 }, FranchiseAffiliation: { type: "string", maxLength: 50 }, IDXOfficePariticpationYN: { type: "boolean" } }); $data.Entity.extend("reso.Contact", { id: { key: true, type: "id", nullable: false, computed: true }, ContactKey: { type: "string", maxLength: 255 }, ContactLoginId: { type: "string", maxLength: 25 }, ContactPassword: { type: "string", maxLength: 25 }, OriginatingSystemContactKey: { type: "string", maxLength: 255 }, OriginatingSystemName: { type: "string", maxLength: 255 }, OwnerMemberMlsID: { type: "string", maxLength: 255 }, OwnerMemberKey: { type: "string", maxLength: 255 }, NamePrefix: { type: "string", maxLength: 10 }, FirstName: { type: "string", maxLength: 50 }, LastName: { type: "string", maxLength: 50 }, NameSuffix: { type: "string", maxLength: 10 }, FullName: { type: "string", maxLength: 150 }, Nickname: { type: "string", maxLength: 50 }, ReferedBy: { type: "string", maxLength: 150 }, JobTitle: { type: "string", maxLength: 50 }, Notes: { type: "string", maxLength: 1024 }, HomeAddress1: { type: "string", maxLength: 50 }, HomeAddress2: { type: "string", maxLength: 50 }, HomeCity: { type: "string", maxLength: 50 }, HomeStateOrProvince: { type: "string", maxLength: 2 }, HomePostalCode: { type: "string", maxLength: 10 }, HomePostalCodePlus4: { type: "string", maxLength: 4 }, HomeCarrierRoute: { type: "string", maxLength: 9 }, HomeCountyOrParish: { type: "string", maxLength: 50 }, HomeCounty: { type: "string", maxLength: 2 }, WorkAddress1: { type: "string", maxLength: 50 }, WorkAddress2: { type: "string", maxLength: 50 }, WorkCity: { type: "string", maxLength: 50 }, WorkStateOrProvince: { type: "string", maxLength: 2 }, WorkPostalCode: { type: "string", maxLength: 10 }, WorkPostalCodePlus4: { type: "string", maxLength: 4 }, WorkCarrierRoute: { type: "string", maxLength: 9 }, WorkCountyOrParish: { type: "string", maxLength: 50 }, WorkCounty: { type: "string", maxLength: 2 }, OtherAddress1: { type: "string", maxLength: 50 }, OtherAddress2: { type: "string", maxLength: 50 }, OtherCity: { type: "string", maxLength: 50 }, OtherStateOrProvince: { type: "string", maxLength: 2 }, OtherPostalCode: { type: "string", maxLength: 10 }, OtherPostalCodePlus4: { type: "string", maxLength: 4 }, OtherCarrierRoute: { type: "string", maxLength: 9 }, OtherCountyOrParish: { type: "string", maxLength: 50 }, OtherCounty: { type: "string", maxLength: 2 }, PreferedAddress: { type: "string", maxLength: 255 }, PreferedPhone: { type: "string", maxLength: 255 }, Email: { type: "string", maxLength: 80 }, Email2: { type: "string", maxLength: 80 }, Email3: { type: "string", maxLength: 80 }, OfficePhone: { type: "string", maxLength: 16 }, OfficePhoneExt: { type: "int" }, MobilePhone: { type: "string", maxLength: 16 }, DirectPhone: { type: "string", maxLength: 16 }, HomePhone: { type: "string", maxLength: 16 }, HomeFax: { type: "string", maxLength: 16 }, BusinessFax: { type: "string", maxLength: 16 }, Pager: { type: "string", maxLength: 16 }, VoiceMail: { type: "string", maxLength: 16 }, VoiceMailExt: { type: "int" }, TollFreePhone: { type: "string", maxLength: 50 }, PhoneTTY: { type: "string", maxLength: 50 }, OtherPhoneType: { type: "object" }, /* * OtherPhoneType subdocuments may include... * OtherPhoneType[int] (string) */ OtherPhone: { type: "object" }, /* * OtherPhone subdocuments may include... * OtherPhone[int] (string) */ OtherPhoneExt: { type: "string" }, /* * OtherPhoneExt subdocuments may include... * OtherPhoneExt[int] (int) */ Company: { type: "string", maxLength: 50 }, Department: { type: "string", maxLength: 50 }, SocialMedia: { type: "object" }, /* * SocialMedia subdocuments may include... * SocialMedia[type].UrlOrId (string) */ SocialMediaUrlOrId: { type: "object" }, /* * SocialMediaUrlOrId subdocuments may include... * SocialMediaUrlOrId[int] (string) */ Birthdate: { type: "date" }, Anniversary: { type: "date" }, TimestampEntered: { type: "datetime" }, TimestampModified: { type: "datetime" }, UserDefinedFieldName: { type: "object" }, /* * UserDefinedFieldName subdocuments may include... * UserDefineFieldName[int] (string) */ UserDefinedFieldValue: { type: "object" }, /* * UserDefinedFieldValue subdocuments may include... * UserDefineFieldValue[int] (string) */ AssistantName: { type: "string", maxLength: 150 }, AssistantPhone: { type: "string", maxLength: 16 }, AssistantPhoneExt: { type: "int" }, AssistantEmail: { type: "string", maxLength: 80 }, SpousePartnername: { type: "string", maxLength: 150 }, Children: { type: "string", maxLength: 150 }, Gender: { type: "string", maxLength: 6 }, Language: { type: "string", maxLength: 150 }, Groups: { type: "string", maxLength: 150 }, ContactStatus: { type: "string", maxLength: 25 }, ContactType: { type: "string", maxLength: 150 } }); $data.Entity.extend("reso.Media", { id: { key: true, type: "id", nullable: false, computed: true }, MediaKey: { type: "string", maxLength: 255 }, ResourceRecordKey: { type: "string", maxLength: 255 }, ResourceRecordID: { type: "string", maxLength: 255 }, OriginatingSystemMediaKey: { type: "string", maxLength: 255 }, OriginatingSystemName: { type: "string", maxLength: 255 }, ObjectID: { type: "string", maxLength: 255 }, ChangedByMemberMlsID: { type: "string", maxLength: 255 }, ChangedByMemberKey: { type: "string", maxLength: 255 }, MediaCategory: { type: "string", maxLength: 50 }, MediaType: { type: "string", maxLength: 50 }, ShortDescription: { type: "string", maxLength: 50 }, LongDescription: { type: "string", maxLength: 1024 }, ModificationTimestamp: { type: "datetime" }, MediaModificationTimestamp: { type: "datetime" }, MediaURL: { type: "string", maxLength: 8000 }, ObjectHTML: { type: "string", maxLength: 8500 }, Order: { type: "int" }, Group: { type: "string", maxLength: 50 }, ImageWidth: { type: "int" }, ImageHeight: { type: "int" }, ImageSizeDescription: { type: "string", maxLength: 50 }, ClassName: { type: "string", maxLength: 255 }, ResourceName: { type: "string", maxLength: 255 }, Permission: { type: "string", maxLength: 255 }, MediaStatus: { type: "string", maxLength: 50 } }); $data.Entity.extend("reso.History", { id: { key: true, type: "id", nullable: false, computed: true }, HistoryRecordKey: { type: "string", maxLength: 255 }, OriginatingSystemHistoryKey: { type: "string", maxLength: 255 }, OriginatingSystemName: { type: "string", maxLength: 255 }, ChangedByMemberMlsID: { type: "string", maxLength: 255 }, ChangedByMemberKey: { type: "string", maxLength: 255 }, ChangeType: { type: "string", maxLength: 255 }, ChangeTimestamp: { type: "datetime" }, FieldKey: { type: "string", maxLength: 255 }, FieldName: { type: "string", maxLength: 255 }, PreviousValue: { type: "string", maxLength: 8000 }, NewValue: { type: "string", maxLength: 8000 }, ClassName: { type: "string", maxLength: 255 }, ResourceName: { type: "string", maxLength: 255 }, ResourceRecordKey: { type: "string", maxLength: 255 }, ResourceRecordID: { type: "string", maxLength: 255 } }); $data.Entity.extend("reso.SavedSearch", { id: { key: true, type: "id", nullable: false, computed: true }, SavedSearchKey: { type: "string", maxLength: 255 }, SaveSearchName: { type: "string", maxLength: 255 }, SavedSearchDescription: { type: "string", maxLength: 4000 }, SavedSearchType: { type: "string", maxLength: 50 }, OriginatingSystemKey: { type: "string", maxLength: 255 }, OriginatingSystemName: { type: "string", maxLength: 255 }, SavedSearchQuery: { type: "string", maxLength: 8000 }, OriginalEntryTimestamp: { type: "datetime" }, ModificationTimestamp: { type: "datetime" }, ResourceName: { type: "string", maxLength: 50 }, ClassName: { type: "string", maxLength: 50 }, MemberKey: { type: "string", maxLength: 255 }, OriginatingSystemMemeberKey: { type: "string", maxLength: 255 }, OriginatingSystemMemberName: { type: "string", maxLength: 255 }, MemberMlsId: { type: "string", maxLength: 25 } }); $data.Entity.extend("reso.OpenHouse", { id: { key: true, type: "id", nullable: false, computed: true }, OpenHouseKey: { type: "string", maxLength: 255 }, OpenHouseId: { type: "string", maxLength: 255 }, OriginatingSystemKey: { type: "string", maxLength: 255 }, OriginatingSystemName: { type: "string", maxLength: 255 }, ListingKey: { type: "string", maxLength: 255 }, ListingId: { type: "string", maxLength: 255 }, ModificationTimestamp: { type: "datetime" }, OriginalEntryTimestamp: { type: "datetime" }, OpenHouseDate: { type: "date" }, OpenHouseStartTime: { type: "datetime" }, OpenHouseEndTime: { type: "datetime" }, ShowingAgentMlsID: { type: "string", maxLength: 25 }, ShowingAgentKey: { type: "string", maxLength: 255 }, ShowingAgentFirstName: { type: "string", maxLength: 50 }, ShowingAgentLastName: { type: "string", maxLength: 50 }, OpenHouseType: { type: "string", maxLength: 25 }, AppointmentRequiredYN: { type: "boolean" }, Refreshments: { type: "string", maxLength: 255 }, Attended: { type: "string", maxLength: 25 }, OpenHouseRemarks: { type: "string", maxLength: 500 }, Status: { type: "string", maxLength: 1 }, ClassName: { type: "string", maxLength: 50 } }); $data.EntityContext.extend("reso", { Property: { type: $data.EntitySet, elementType: reso.Property }, Member: { type: $data.EntitySet, elementType: reso.Member }, Office: { type: $data.EntitySet, elementType: reso.Office }, Contact: { type: $data.EntitySet, elementType: reso.Contact }, Media: { type: $data.EntitySet, elementType: reso.Media }, History: { type: $data.EntitySet, elementType: reso.History }, SavedSearch: { type: $data.EntitySet, elementType: reso.SavedSearch }, OpenHouse: { type: $data.EntitySet, elementType: reso.OpenHouse } }); module.exports = exports = reso;