addedInput schema / properties / category
Added value: +{
+ "description": "Only businesses in this category: an exact plural slug such as \"restaurants\", \"hair-salons\" or \"plumbers\" (list_categories returns the valid slugs and which have businesses). An unknown slug returns an error listing the valid ones.",
+ "maxLength": 80,
+ "type": "string"
+}
addedInput schema / properties / has_price_list
Added value: +{
+ "description": "true: only businesses with a price list or menu on WRDO (so get_price_list will have content). false: only those without. Leave out for both.",
+ "type": "boolean"
+}
addedInput schema / properties / max_price_rand
Added value: +{
+ "description": "Only businesses with at least one listed item priced at or under this many rand (e.g. 200). Businesses without a listed price never match. The cheapest price may be unconfirmed (from their website); get_price_list says so.",
+ "exclusiveMinimum": 0,
+ "type": "number"
+}
addedInput schema / properties / open_now
Added value: +{
+ "description": "true: only businesses that are open right now in South Africa (SAST). Only verified businesses with readable hours can match; those without hours are excluded. Leave out when the person does not need it.",
+ "type": "boolean"
+}
changedInput schema / properties / what / description
Previous value: -"What the person needs: a kind of business or service (\"plumber\", \"pizza\") or a business name."New value: +"What the person needs: a kind of business or service (\"plumber\", \"pizza\") or a business name. Optional when \"category\" is given."
changedInput schema / properties / where / description
Previous value: -"A town or suburb, e.g. \"Paarl\" or \"Val de Vie, Paarl\". Leave out to search everywhere."New value: +"A town or suburb in the Western Cape, e.g. \"Paarl\" or \"Val de Vie, Paarl\". Leave out for the whole Western Cape."
removedInput schema / required
Removed value: -[
- "what"
-]
addedOutput schema / properties / results / items / properties / has_price_list
Added value: +{
+ "description": "True when WRDO holds a price list or menu for this business (see get_price_list).",
+ "type": "boolean"
+}
addedOutput schema / properties / results / items / properties / open_now
Added value: +{
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Open right now in South Africa (SAST), from the hours on a verified business page; null when unknown."
+}
addedOutput schema / properties / results / items / properties / price_from_rand
Added value: +{
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Cheapest listed item with a price, in rand; null when no item has a price."
+}
changedOutput schema / properties / results / items / required
Previous value: -[
- "id",
- "name",
- "category",
- "area",
- "verified",
- "page_url",
- "start_url"
-]New value: +[
+ "id",
+ "name",
+ "category",
+ "area",
+ "verified",
+ "page_url",
+ "start_url",
+ "has_price_list",
+ "price_from_rand",
+ "open_now"
+]