Open sipakov opened 1 year ago
Space model (main information without subspaces) to adding for example:
{ "UtilizationTypeId":1, "SpaceAddress":"Unterstaldig 1 6106 Werthenstein", "Latitude":47.04173191647986, "Longitude":8.097301555686508, "SpaceProperty":{ "Name":"", "Description":"", "SpaceDetails":{ "BuildingYear":"2023", "BuildingCategory":"Andere Wohngebäude", "BuildingClass":"Gebäude mit 1 Wohnung", "BuildingName":"", "Levels":"3", "Area":"456.4", "FloorArea":"674", "Flats":"1", "PlaceName":"Werthenstein", "MunicipalityId":"1009", "MunicipalityName":"Werthenstein" }, "SubSpaces":[ ] } }
Space model (with subspaces) to adding for example:
{ "UtilizationTypeId":1, //main utilization type of space (1,Residential 2,Сommercial 3,Production 4,Warehouse 5,Public catering 6,Utility 7,Office space 8,Education 9,Sports 10,Free target 11,Parking 12,Boat ) "SpaceAddress":"Unterstaldig 1 6106 Werthenstein", "Latitude":47.04173191647986, "Longitude":8.097301555686508, "SpaceProperty":{ "Name":"", //free property of space name "Description":"", //free property of space name "SpaceDetails":{ "BuildingYear":"2023", "BuildingCategory":"Andere Wohngebäude", "BuildingClass":"Gebäude mit 1 Wohnung", "BuildingName":"", "Levels":"3", "Area":"456.4", "FloorArea":"674", "Flats":"1", "PlaceName":"Werthenstein", "MunicipalityId":"1009", "MunicipalityName":"Werthenstein" }, "SubSpaces":[ { "SubSpaceDetails":{ "Levels":"1", "Area":"300", "FloorArea":"477", "Flats":"1" }, "UtilizationTypeId":1, "Description":"", "Subspaces":[] }, { "SubSpaceDetails":{ "Levels":"2", "Area":"200", "FloorArea":"287", "Flats":"1" }, "UtilizationTypeId":1, "Description":"", "Subspaces":[] } ] } }
The JSON file describes a space or property with various details. Here's a description of its contents: The JSON file represents a property with the following attributes:
new format? for example
{ "UtilizationTypeId": 1, "SpaceAddress": "Unterstaldig 1 6106 Werthenstein", "Latitude": 47.04173191647986, "Longitude": 8.097301555686508, "SpaceProperty": { "Name": "", "Description": "", "Properties": { "BuildingName": "Name", "Area": "100" }, "SubSpaces": [ { "Properties": { "Levels": "2", "Area": "45" }, "UtilizationTypeId": 1, "Description": "", "Subspaces": [] }, { "Properties": { "Levels": "2", "Area": "44" }, "UtilizationTypeId": 1, "Description": "", "Subspaces": [] } ] } }
Done. May
Add controller and services to space adding