addedInput schema / properties / collection
Added value: +{
+ "description": "Only pharmacies offering in-person collection.",
+ "type": "boolean"
+}
changedInput schema / properties / delivers / description
Previous value: -"Only pharmacies that offer delivery."New value: +"Only pharmacies that deliver (most dispense UK-wide by post)."
addedInput schema / properties / minRating
Added value: +{
+ "description": "Only pharmacies with patient reviews averaging 3+ or 4+.",
+ "enum": [
+ "3_plus",
+ "4_plus"
+ ],
+ "type": "string"
+}
addedInput schema / properties / near
Added value: +{
+ "description": "A UK postcode, outcode or town, e.g. \"M1 1AE\", \"LS6\" or \"Bristol\". Sorts nearest first and adds miles.",
+ "maxLength": 64,
+ "minLength": 2,
+ "type": "string"
+}
changedInput schema / properties / query / description
Previous value: -"Pharmacy name, town or postcode, matched as text (not by distance). Omit to list all."New value: +"Pharmacy name, matched as text. For a place use `near`."
addedInput schema / properties / radiusMiles
Added value: +{
+ "description": "Only within this many miles of `near`. Ignored without `near`.",
+ "exclusiveMinimum": 0,
+ "maximum": 500,
+ "type": "number"
+}
changedInput schema / properties / sort / description
Previous value: -"az (default), za, or by town."New value: +"distance (default with `near`), az (default otherwise), za, city, rating."
changedInput schema / properties / sort / enum
Previous value: -[
- "az",
- "za",
- "city"
-]New value: +[
+ "distance",
+ "az",
+ "za",
+ "city",
+ "rating"
+]
addedOutput schema / properties / results / items / properties / distanceMiles
Added value: +{
+ "description": "Miles from `near`; null when no place was given",
+ "type": [
+ "number",
+ "null"
+ ]
+}
changedOutput schema / properties / results / items / required
Previous value: -[
- "name",
- "slug",
- "url",
- "city",
- "postcode",
- "offersDelivery",
- "offersCollection",
- "rating"
-]New value: +[
+ "name",
+ "slug",
+ "url",
+ "city",
+ "postcode",
+ "distanceMiles",
+ "offersDelivery",
+ "offersCollection",
+ "rating"
+]