Raw schema
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"minimum": 1,
"maximum": 10000,
"default": 1
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20
},
"query": {
"type": "string",
"maxLength": 160,
"description": "Treatment words in Norwegian or English. Leave empty to browse."
},
"clinic_id": {
"type": "string",
"maxLength": 80,
"description": "The clinic_id find_clinics returns. Never build it from a name. A clinic site needs none."
},
"near": {
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "WGS84 latitude, for example 59.79."
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "WGS84 longitude, for example 10.33."
}
},
"required": [
"latitude",
"longitude"
],
"additionalProperties": false,
"description": "A position. It wins over place."
},
"place": {
"type": "string",
"maxLength": 100,
"description": "A town or place name (\"Asker\", \"Lierskogen\") or a four-digit postal code (\"3420\")."
},
"category": {
"type": "string",
"maxLength": 200,
"description": "A category slug from browse_site, or its slug path (\"ansikt/laser\")."
},
"body_area": {
"type": "string",
"maxLength": 120,
"description": "A body area slug from browse_site."
},
"skin_concern": {
"type": "string",
"maxLength": 120,
"description": "A skin concern slug from browse_site."
},
"max_price_nok": {
"type": "number",
"minimum": 0,
"description": "Only treatments with a price from at most this."
},
"on_offer": {
"type": "boolean",
"default": false,
"description": "Only treatments with an active offer."
},
"include_unbookable": {
"type": "boolean",
"default": false,
"description": "Also treatments no clinic can book now."
},
"locale": {
"type": "string",
"enum": [
"nb",
"en"
],
"default": "nb",
"description": "Answer language: nb (Norwegian) or en."
}
},
"required": [],
"additionalProperties": false
}