Raw schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 120
},
"property_type": {
"type": "string",
"maxLength": 80
},
"listing_type": {
"type": "string",
"enum": [
"For Sale",
"For Rent"
]
},
"price_min": {
"type": "number",
"minimum": 1
},
"price_max": {
"type": "number",
"minimum": 1
},
"bedrooms": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"district": {
"type": "string",
"maxLength": 20
},
"subletting_type": {
"type": "string",
"enum": [
"whole_unit",
"master_room",
"common_room",
"studio",
"bed"
]
},
"available_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"lease_duration_months": {
"type": "integer",
"minimum": 1,
"maximum": 60
},
"bathrooms_min": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"bedroom_counts": {
"type": "array",
"description": "Exact bedroom counts to match, such as [2, 3]; 0 is a studio. Combines with bedrooms_min, so [0] plus bedrooms_min 5 means studio or 5+.",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 10
},
"minItems": 1,
"maxItems": 11
},
"bedrooms_min": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"bathroom_counts": {
"type": "array",
"description": "Exact bathroom counts to match; combines with bathrooms_min.",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"minItems": 1,
"maxItems": 11
},
"hdb_flat_types": {
"type": "array",
"description": "HDB flat types, such as \"4-room\" or \"executive\".",
"items": {
"type": "string",
"enum": [
"2-room",
"3-room",
"4-room",
"5-room",
"executive"
]
},
"minItems": 1,
"maxItems": 5
},
"districts": {
"type": "array",
"description": "Singapore postal districts, such as \"D09\" or \"15\".",
"items": {
"type": "string",
"maxLength": 20
},
"minItems": 1,
"maxItems": 28
},
"size_min": {
"type": "number",
"minimum": 1,
"description": "Floor area in square feet."
},
"size_max": {
"type": "number",
"minimum": 1,
"description": "Floor area in square feet."
},
"psf_min": {
"type": "number",
"minimum": 1,
"description": "Price per square foot in SGD."
},
"psf_max": {
"type": "number",
"minimum": 1,
"description": "Price per square foot in SGD."
},
"tenure": {
"type": "string",
"enum": [
"Freehold",
"99 Year Leasehold",
"103 Year Leasehold",
"110 Year Leasehold",
"999 Year Leasehold",
"9999 Year Leasehold",
"Leasehold",
"Unknown"
]
},
"listed_within_days": {
"type": "integer",
"minimum": 1,
"maximum": 365
},
"mrt_stations": {
"type": "array",
"description": "Nearest MRT station names, such as \"Orchard\" or \"Tanjong Pagar\".",
"items": {
"type": "string",
"maxLength": 60
},
"minItems": 1,
"maxItems": 10
},
"mrt_lines": {
"type": "array",
"description": "MRT lines; a listing matches when its nearest station is on one. Combines with mrt_stations as 'near any'.",
"items": {
"type": "string",
"enum": [
"North South Line",
"East West Line",
"Northeast Line",
"Circle Line",
"Downtown Line",
"Thomson-East Coast Line"
]
},
"minItems": 1,
"maxItems": 6
},
"towns": {
"type": "array",
"description": "HDB towns or URA planning areas the listing lies in, such as \"Tampines\" or \"Bukit Timah\".",
"items": {
"type": "string",
"maxLength": 40
},
"minItems": 1,
"maxItems": 5
},
"project_name": {
"type": "string",
"maxLength": 120,
"description": "Exact condominium or development name."
},
"page": {
"type": "integer",
"minimum": 1,
"default": 1
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
},
"sort": {
"type": "string",
"enum": [
"newest",
"listed_newest",
"price_asc",
"price_desc",
"psf_asc",
"psf_desc",
"size_asc",
"size_desc",
"nearest_mrt"
],
"default": "newest",
"description": "newest is the recommended order; listed_newest is strictly by listing date."
}
},
"additionalProperties": false
}