@qualipool/swissrets-json
Version:
A swiss real estate transfer standard.
396 lines • 16.1 kB
JavaScript
;
// This file was automatically generated by scripts/generate-typescript-model.sh.
// DO NOT MODIFY IT BY HAND.
// Instead, modify the source schema/swissRetsSchema.json,
// and run scripts/generate-typescript-model.sh to regenerate this file.
Object.defineProperty(exports, "__esModule", { value: true });
exports.OfferType = exports.DepositType = exports.AdditionalOfferType = exports.MinergieCertificationType = exports.HeatingGenerationType = exports.HeatingDistributionType = exports.DevelopmentState = exports.ApplicableType = exports.PropertyCategory = exports.PriceIntervalType = exports.PriceReferringType = exports.ConstructionStatusType = exports.State = void 0;
/**
* Lifecycle state of properties.
*/
var State;
(function (State) {
State["Active"] = "active";
State["Private"] = "private";
State["Reference"] = "reference";
State["Reserved"] = "reserved";
State["Taken"] = "taken";
})(State || (exports.State = State = {}));
/**
* Construction status of project.
*/
var ConstructionStatusType;
(function (ConstructionStatusType) {
ConstructionStatusType["Completed"] = "completed";
ConstructionStatusType["Planned"] = "planned";
ConstructionStatusType["Ready"] = "ready";
ConstructionStatusType["UnderConstruction"] = "under-construction";
})(ConstructionStatusType || (exports.ConstructionStatusType = ConstructionStatusType = {}));
/**
* For what area the price stands for.
*/
var PriceReferringType;
(function (PriceReferringType) {
PriceReferringType["All"] = "all";
PriceReferringType["Km2"] = "km2";
PriceReferringType["M2"] = "m2";
})(PriceReferringType || (exports.PriceReferringType = PriceReferringType = {}));
/**
* The payment interval, the price stands for.
*/
var PriceIntervalType;
(function (PriceIntervalType) {
PriceIntervalType["Day"] = "day";
PriceIntervalType["Month"] = "month";
PriceIntervalType["Onetime"] = "onetime";
PriceIntervalType["Week"] = "week";
PriceIntervalType["Year"] = "year";
})(PriceIntervalType || (exports.PriceIntervalType = PriceIntervalType = {}));
var PropertyCategory;
(function (PropertyCategory) {
PropertyCategory["AdvertisingArea"] = "advertising-area";
PropertyCategory["AgriculturalLot"] = "agricultural-lot";
PropertyCategory["AllotmentGarden"] = "allotment-garden";
PropertyCategory["Apartment"] = "apartment";
PropertyCategory["Arcade"] = "arcade";
PropertyCategory["Atelier"] = "atelier";
PropertyCategory["AtticCompartment"] = "attic-compartment";
PropertyCategory["AtticFlat"] = "attic-flat";
PropertyCategory["Bakery"] = "bakery";
PropertyCategory["Bar"] = "bar";
PropertyCategory["BoatDryDock"] = "boat-dry-dock";
PropertyCategory["BoatLandingStage"] = "boat-landing-stage";
PropertyCategory["BoatMooring"] = "boat-mooring";
PropertyCategory["BuildingLot"] = "building-lot";
PropertyCategory["Butcher"] = "butcher";
PropertyCategory["Cafe"] = "cafe";
PropertyCategory["Campground"] = "campground";
PropertyCategory["CarPark"] = "car-park";
PropertyCategory["CarRepairShop"] = "car-repair-shop";
PropertyCategory["CarpentryShop"] = "carpentry-shop";
PropertyCategory["Casino"] = "casino";
PropertyCategory["Castle"] = "castle";
PropertyCategory["CellarCompartment"] = "cellar-compartment";
PropertyCategory["Chalet"] = "chalet";
PropertyCategory["CheeseFactory"] = "cheese-factory";
PropertyCategory["ClubDisco"] = "club-disco";
PropertyCategory["CommercialLot"] = "commercial-lot";
PropertyCategory["CommercialSpace"] = "commercial-space";
PropertyCategory["CoveredMotorbikeParkingSpace"] = "covered-motorbike-parking-space";
PropertyCategory["CoveredParkingSpace"] = "covered-parking-space";
PropertyCategory["DepartmentStore"] = "department-store";
PropertyCategory["DetachedHouse"] = "detached-house";
PropertyCategory["DisplayWindow"] = "display-window";
PropertyCategory["DoctorsOffice"] = "doctors-office";
PropertyCategory["DoubleGarage"] = "double-garage";
PropertyCategory["DuplexHouse"] = "duplex-house";
PropertyCategory["EarthShelteredDwelling"] = "earth-sheltered-dwelling";
PropertyCategory["Factory"] = "factory";
PropertyCategory["FarmHouse"] = "farm-house";
PropertyCategory["FuelStation"] = "fuel-station";
PropertyCategory["FurnishedFlat"] = "furnished-flat";
PropertyCategory["GolfCourse"] = "golf-course";
PropertyCategory["GrannyFlat"] = "granny-flat";
PropertyCategory["Hairdresser"] = "hairdresser";
PropertyCategory["HobbyRoom"] = "hobby-room";
PropertyCategory["HorseBox"] = "horse-box";
PropertyCategory["Hospital"] = "hospital";
PropertyCategory["Hotel"] = "hotel";
PropertyCategory["IndoorSwimmingPool"] = "indoor-swimming-pool";
PropertyCategory["IndoorTennisCourt"] = "indoor-tennis-court";
PropertyCategory["IndustrialLot"] = "industrial-lot";
PropertyCategory["IndustrialObject"] = "industrial-object";
PropertyCategory["Kiosk"] = "kiosk";
PropertyCategory["Laboratory"] = "laboratory";
PropertyCategory["Library"] = "library";
PropertyCategory["Loft"] = "loft";
PropertyCategory["Maisonette"] = "maisonette";
PropertyCategory["MarketGarden"] = "market-garden";
PropertyCategory["MiniGolfCourse"] = "mini-golf-course";
PropertyCategory["Motel"] = "motel";
PropertyCategory["MovieTheater"] = "movie-theater";
PropertyCategory["MultiplexHouse"] = "multiplex-house";
PropertyCategory["MultistoreyCarPark"] = "multistorey-car-park";
PropertyCategory["NursingHome"] = "nursing-home";
PropertyCategory["Office"] = "office";
PropertyCategory["OneRoomFlat"] = "one-room-flat";
PropertyCategory["OpenMotorbikeParkingSpace"] = "open-motorbike-parking-space";
PropertyCategory["OpenParkingSpace"] = "open-parking-space";
PropertyCategory["Orphanage"] = "orphanage";
PropertyCategory["OutdoorSwimmingPool"] = "outdoor-swimming-pool";
PropertyCategory["ParkingSpace"] = "parking-space";
PropertyCategory["PartyRoom"] = "party-room";
PropertyCategory["Plot"] = "plot";
PropertyCategory["Pub"] = "pub";
PropertyCategory["ResidentialCommercialBuilding"] = "residential-commercial-building";
PropertyCategory["Restaurant"] = "restaurant";
PropertyCategory["RetailLocation"] = "retail-location";
PropertyCategory["RetirementHome"] = "retirement-home";
PropertyCategory["RidingHall"] = "riding-hall";
PropertyCategory["RoofFlat"] = "roof-flat";
PropertyCategory["RowHouse"] = "row-house";
PropertyCategory["Rustico"] = "rustico";
PropertyCategory["Sanatorium"] = "sanatorium";
PropertyCategory["Sauna"] = "sauna";
PropertyCategory["SharedApartment"] = "shared-apartment";
PropertyCategory["ShoppingCenter"] = "shopping-center";
PropertyCategory["SingleGarage"] = "single-garage";
PropertyCategory["SingleRoom"] = "single-room";
PropertyCategory["Solarium"] = "solarium";
PropertyCategory["SportsHall"] = "sports-hall";
PropertyCategory["SquashBadminton"] = "squash-badminton";
PropertyCategory["SteppedFlat"] = "stepped-flat";
PropertyCategory["SteppedHouse"] = "stepped-house";
PropertyCategory["Stoeckli"] = "stoeckli";
PropertyCategory["StorageRoom"] = "storage-room";
PropertyCategory["TennisCourt"] = "tennis-court";
PropertyCategory["UndergroundParkingSpace"] = "underground-parking-space";
PropertyCategory["Villa"] = "villa";
PropertyCategory["Workshop"] = "workshop";
})(PropertyCategory || (exports.PropertyCategory = PropertyCategory = {}));
/**
* Pets are allowed or not tolerated.
*
* Applicable can have three states, unknown must be treated as default.
*
* Has an attic.
*
* Balcony available.
*
* Restrictions for modifications apply, like monument protection and similar.
*
* Availability of cable tv.
*
* A covered structure used to offer limited protection from rain and snow, for one car.
*
* A covered structure used to offer limited protection from rain and snow, for two cars.
*
* Availability of a cellar.
*
* Whether or not a charging station for e-Cars is provided.
*
* States if the land is fully developed and ready being built on it.
*
* Used for building land, states if there is some demolition property on it (or pieces of
* it).
*
* Availability of a dishwasher.
*
* Availability of an elevator.
*
* A charging station for e-Cars is provided.
*
* Availability of a fiber optic connection.
*
* Includes a framed opening to hold an open fire, indoors.
*
* Whether or not there is a residential community, sharing the living space.
*
* Widely used to control the amount of foreigners buying holiday flats in popular regions.
*
* A shelter for one car.
*
* A shelter for two cars.
*
* Subterranean garage for cars.
*
* A small building for storing garden tools, bicycles, and other equipment.
*
* Direct visibility of a lake.
*
* Provides vertical transportation between building floors, levels or decks, and are
* commonly found in offices, public buildings and other types of multi-story
* accommodation.
*
* Direct visibility of mountains.
*
* Has multimedia wiring.
*
* Has a lovely view, usually from the balcony or the living room.
*
* An uncovered space for one car or more cars.
*
* Whether or not a photovoltaic system is provided.
*
* Has a playground for children nearby.
*
* A sloping floor, walk, or roadway leading from one level to another, usually to make a
* place accessible for wheels.
*
* Indicates that prospects can visit the property virtually (e.g. with a video-call or
* guided virtual-tour hosted by the real estate agent)
*
* Has a steamer.
*
* Storeroom, stowage room.
*
* Availability of a gas connection, usually for heating and cooking.
*
* A connection to the public electric grid.
*
* A connection to the public waste water system.
*
* A connection to the public water supply.
*
* Personal swimming pool.
*
* Whether or not a thermal solar collector system is provided.
*
* A masonry heater or ceramic stove, is a device for warming an interior space usually fed
* with wood.
*
* Dryer for clothes after washing them.
*
* For washing clothes and other cloth.
*
* Suitable for families.
*
* A house situated on the corner of two streets.
*
* If it's a tear-down property or a site of demolished structures.
*
* Old and in poor condition, in a state of decay.
*
* No one used the flat or the building before, since it was built or heavily renovated from
* ground up.
*
* Nearly on a level with the ground.
*
* Half of a stair elevated story, in a building.
*
* Preparation for demolition or a part-demolition, all contaminants, doors, windows, floors
* and non-load bearing walls were removed.
*
* Needs to be renewed in order to be fully usable again.
*
* Needs to be renewed partially in order to be fully usable again.
*
* Used, but as good as new.
*
* Situated between two other houses or buildings.
*
* Modernized means improved, things like a better insulated roof and walls, modern heating
* system and similar improvements.
*
* Newly built house or building.
*
* Refers to the construction method used until 60-80 years ago.
*
* Planned for the future.
*
* Part of a quiet surrounding or neighbourhood.
*
* Fully renovated, neat, clean and restored.
*
* Partially renovated or restored.
*
* Where a person lives part time or less than the majority of the calendar year, typically
* a holiday flat, some laws and landlords do not allow this.
*
* Intentionally missing interior finish in order to allow customization.
*
* Smoking allowed inside.
*
* Sunny surroundings, nor trees, mountains or other buildings do shadow.
*
* Is of temporary use.
*
* Mainly used for parking slots.
*
* Properly looked after.
*
* All aspects are accessible for wheelchair users.
*
* Built on even grounds.
*
* Built on a sloping hillside.
*
* Built on a sloping hillside towards the south.
*/
var ApplicableType;
(function (ApplicableType) {
ApplicableType["Applies"] = "applies";
ApplicableType["DoesNotApply"] = "does-not-apply";
ApplicableType["Unknown"] = "unknown";
})(ApplicableType || (exports.ApplicableType = ApplicableType = {}));
/**
* The development state of the property.
*/
var DevelopmentState;
(function (DevelopmentState) {
DevelopmentState["Full"] = "full";
DevelopmentState["Partial"] = "partial";
DevelopmentState["Undeveloped"] = "undeveloped";
})(DevelopmentState || (exports.DevelopmentState = DevelopmentState = {}));
/**
* How the heating system distributes and maintains temperature.
*/
var HeatingDistributionType;
(function (HeatingDistributionType) {
HeatingDistributionType["Floor"] = "floor";
HeatingDistributionType["Radiator"] = "radiator";
})(HeatingDistributionType || (exports.HeatingDistributionType = HeatingDistributionType = {}));
/**
* Technology used to create heat.
*/
var HeatingGenerationType;
(function (HeatingGenerationType) {
HeatingGenerationType["Coal"] = "coal";
HeatingGenerationType["District"] = "district";
HeatingGenerationType["Electricity"] = "electricity";
HeatingGenerationType["Gas"] = "gas";
HeatingGenerationType["GeothermalProbe"] = "geothermal-probe";
HeatingGenerationType["Heatpump"] = "heatpump";
HeatingGenerationType["HeatpumpAirAndWater"] = "heatpump-air-and-water";
HeatingGenerationType["Oil"] = "oil";
HeatingGenerationType["Photovoltaics"] = "photovoltaics";
HeatingGenerationType["SolarThermal"] = "solar-thermal";
HeatingGenerationType["Wood"] = "wood";
HeatingGenerationType["WoodPellet"] = "wood-pellet";
})(HeatingGenerationType || (exports.HeatingGenerationType = HeatingGenerationType = {}));
/**
* Quality label for new and refurbished low-energy-consumption buildings.
*/
var MinergieCertificationType;
(function (MinergieCertificationType) {
MinergieCertificationType["Minergie"] = "Minergie";
MinergieCertificationType["MinergieA"] = "Minergie-A";
MinergieCertificationType["MinergieAEco"] = "Minergie-A-Eco";
MinergieCertificationType["MinergieAreal"] = "Minergie-Areal";
MinergieCertificationType["MinergieEco"] = "Minergie-Eco";
MinergieCertificationType["MinergieMqsBau"] = "Minergie-Mqs-Bau";
MinergieCertificationType["MinergieMqsBetrieb"] = "Minergie-Mqs-Betrieb";
MinergieCertificationType["MinergieP"] = "Minergie-P";
MinergieCertificationType["MinergiePEco"] = "Minergie-P-Eco";
})(MinergieCertificationType || (exports.MinergieCertificationType = MinergieCertificationType = {}));
var AdditionalOfferType;
(function (AdditionalOfferType) {
AdditionalOfferType["ParkingCarport"] = "parking-carport";
AdditionalOfferType["ParkingDoubleGarage"] = "parking-double-garage";
AdditionalOfferType["ParkingDuplex"] = "parking-duplex";
AdditionalOfferType["ParkingExteriorSpace"] = "parking-exterior-space";
AdditionalOfferType["ParkingGarage"] = "parking-garage";
AdditionalOfferType["ParkingGarageBox"] = "parking-garage-box";
AdditionalOfferType["ParkingGarageConnected"] = "parking-garage-connected";
AdditionalOfferType["ParkingGarageUnderground"] = "parking-garage-underground";
AdditionalOfferType["ParkingHouse"] = "parking-house";
AdditionalOfferType["RoomStorageBasement"] = "room-storage-basement";
AdditionalOfferType["RoomWorkroom"] = "room-workroom";
})(AdditionalOfferType || (exports.AdditionalOfferType = AdditionalOfferType = {}));
/**
* Type of deposit.
*/
var DepositType;
(function (DepositType) {
DepositType["BankGuarantee"] = "bank-guarantee";
DepositType["DepositGuarantee"] = "deposit-guarantee";
})(DepositType || (exports.DepositType = DepositType = {}));
/**
* Specifies rent or buy.
*/
var OfferType;
(function (OfferType) {
OfferType["Buy"] = "buy";
OfferType["Rent"] = "rent";
})(OfferType || (exports.OfferType = OfferType = {}));
//# sourceMappingURL=swissrets-model.js.map