Raw schema
{
"type": "object",
"properties": {
"polygon": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "Polygon"
},
"coordinates": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"minItems": 2,
"maxItems": 2,
"description": "A [longitude, latitude] pair in degrees. Longitude: -180 to 180; latitude: -90 to 90."
},
"minItems": 4,
"maxItems": 101
},
"minItems": 1,
"maxItems": 1
}
},
"required": [
"type",
"coordinates"
],
"additionalProperties": false
},
"targetMarket": {
"type": "string",
"enum": [
"RS",
"ME",
"BA",
"HR"
]
},
"query": {
"type": "string",
"maxLength": 250
},
"transactionType": {
"type": "string",
"enum": [
"sale",
"rent"
]
},
"propertyType": {
"type": "string",
"enum": [
"apartment",
"house",
"commercial",
"land",
"garage"
]
},
"locationId": {
"type": "string",
"format": "uuid"
},
"citySlug": {
"type": "string"
},
"municipalitySlug": {
"type": "string"
},
"neighborhoodSlug": {
"type": "string"
},
"priceMin": {
"type": "number",
"minimum": 0
},
"priceMax": {
"type": "number",
"minimum": 0
},
"areaMin": {
"type": "number",
"minimum": 0
},
"areaMax": {
"type": "number",
"minimum": 0
},
"floorMin": {
"type": "integer",
"minimum": -10,
"maximum": 200
},
"floorMax": {
"type": "integer",
"minimum": -10,
"maximum": 200
},
"rooms": {
"type": "array",
"items": {
"type": "string",
"enum": [
"0.5",
"1.0",
"1.5",
"2.0",
"2.5",
"3.0",
"3.5",
"4.0",
"5.0+"
]
}
},
"radius": {
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"distanceMeters": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 500000
}
},
"required": [
"lat",
"lng",
"distanceMeters"
],
"additionalProperties": false
},
"bbox": {
"type": "object",
"properties": {
"minLng": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"maxLng": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"minLat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"maxLat": {
"type": "number",
"minimum": -90,
"maximum": 90
}
},
"required": [
"minLng",
"maxLng",
"minLat",
"maxLat"
],
"additionalProperties": false
},
"isNewConstruction": {
"type": "boolean"
},
"isRegistered": {
"type": "boolean"
},
"isDirectFromOwner": {
"type": "boolean"
},
"hasParking": {
"type": "boolean"
},
"hasTerrace": {
"type": "boolean"
},
"hasElevator": {
"type": "boolean"
},
"sort": {
"type": "string",
"enum": [
"newest",
"price_asc",
"price_desc",
"area_asc",
"area_desc",
"m2_price_asc"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 10
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"description": "Opaque nextCursor from the previous page. Reset when filters or sort change."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}