Overview
The property object is the core data structure containing all information about a real estate listing. It is accessed viadata.property in the JSON response.
Top-Level Structure
Property data is returned in a nested structure:Top-level wrapper object
Indicates if the request was successful
Property Object Fields
Thedata.property object contains the following fields:
Identification
Unique identifier for the propertyExample:
"bbb8185d-2ee3-48a4-ba7f-8fecaba6e549"Numeric property identifierExample:
"5157395"Node ID from the source systemExample:
49695472717Basic Information
Property listing titleExample:
"Apartamento en Venta en Las Cabañas, Bello"Detailed property description including features, location, and nearby amenitiesExample:
"Apartamento en venta de 79m2, con vista exterior..."Media
Array of image objects for the property. See Image Schema for details.Images are sorted by the
order field before display.URL to a 360-degree virtual tour of the propertyExample:
"https://apartamento-dubai.vercel.app/?m=bE7cSwnyKad"Services & Features
Array of utility service objects with costs. See Services Schema for details.
Array of property feature stringsExample:
["Interior", "Balcón", "Conjunto Cerrado", "Instalación de gas"]Property Details
Nested object containing detailed property information
Data Normalization
ThenormalizeProperty() function in app.js transforms the raw property data into a flattened structure for easier rendering:
Key Normalization Rules
- Field Merging: Top-level and
detalles_propiedadfields are merged, withdetalles_propiedadtaking precedence - Fallback Values: Multiple field names are checked (e.g.,
conjunto,conjunto_edificio) - Image Sorting: Images are sorted by the
orderfield ascending - Null Coalescing: Uses
??operator to handle null/undefined values
Example Response
Usage in Application
The property data is loaded and rendered inapp.js:665-687: