Property interface defines the complete structure for real estate listings in the Adosa platform. It integrates with the EGO Real Estate CRM system.
Type Definition
Core Fields
These fields are required for every property listing.Internal ID or CRM Reference (human-readable identifier)
Mandatory numeric ID for CRM linking (RID). This is the primary identifier used by the EGO Real Estate CRM system.
Property listing title
Location description like “Marbella” or “Costa del Sol”
Property status. Use
"DESTACADO" for featured properties or empty string for regular listings.Property type. One of:
"Apartamento"- Apartment"Casa"- House"Terreno"- Land"Parcela"- Plot"Local Comercial"- Commercial property"Ático"- Penthouse
Number of bedrooms
Number of bathrooms
Property size in square meters (m²)
Land/plot size in square meters (m²)
Image URL for grid preview display
Optional Display Fields
Formatted price string for display (e.g., “€450,000”)
Used for grouping multiple localities into a single filter option in the property grid
Detailed CRM Fields
These optional fields are mapped from the EGO Real Estate CRM system.Numeric price value for calculations and sorting
Whether the property includes a garage
Whether the property includes a swimming pool
Built area in square meters
Plot area in square meters
Multilingual Fields
Description and location fields support both Spanish (default) and English translations.Short introduction in Spanish
Short introduction in English
Full narrative description in Spanish
Full narrative description in English
Province name in Spanish
Province name in English
Municipality name in Spanish
Municipality name in English
Neighborhood name in Spanish
Neighborhood name in English
Conservation/condition status in Spanish
Conservation/condition status in English
Additional Details
Energy efficiency rating. One of:
"A", "B", "C", "D", "E", "F", "G"Annual IBI (property tax) in euros
Monthly community fees in euros
Property reference code
Media & Location
Array of floor plan image URLs
GPS coordinates as
[latitude, longitude] tuple for map displayArray of gallery image URLs for the property detail page
ID Fields Explained
The Property interface uses two different ID fields:id vs egoId
id: Human-readable identifier, can be a string like"property-123"or a CRM reference. Used for internal routing and display.egoId: Mandatory numeric identifier (RID) required by the EGO Real Estate CRM system for linking and synchronization. This is the authoritative ID for CRM operations.
Example Property Object
Source Location
src/data/properties.ts:1-41