changedInput schema / properties / date / description
Previous value: -"YYYY-MM-DD: also return each store's price on that day, e.g. the date on a receipt"New value: +"YYYY-MM-DD, with exactly one product: also return each store's price on that day, e.g. the date on a receipt"
changedInput schema / properties / productId / description
Previous value: -"A productId returned by search_grocery_prices"New value: +"One productId; productIds takes several"
addedInput schema / properties / productIds
Added value: +{
+ "description": "Up to 40 productIds returned by search_grocery_prices, checked in one call",
+ "items": {
+ "pattern": "^[a-zA-Z0-9_-]{1,128}$",
+ "type": "string"
+ },
+ "maxItems": 40,
+ "minItems": 1,
+ "type": "array"
+}
removedInput schema / required
Removed value: -[
- "productId"
-]
removedOutput schema / properties / brand
Removed value: -{
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / cheapestStore
Removed value: -{
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / currentPrice
Removed value: -{
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / currentPricePence
Removed value: -{
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
-}
removedOutput schema / properties / high60dPence
Removed value: -{
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
-}
removedOutput schema / properties / low60dPence
Removed value: -{
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
-}
removedOutput schema / properties / name
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / notCheckedProductIds
Added value: +{
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
removedOutput schema / properties / onDate
Removed value: -{
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "allStoresCovered": {
- "type": "boolean"
- },
- "cheapestPricePence": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "cheapestStore": {
- "type": [
- "string",
- "null"
- ]
- },
- "date": {
- "type": "string"
- },
- "historyStartsOn": {
- "type": [
- "string",
- "null"
- ]
- },
- "paid": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cheapestPence": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "differencePence": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "paidPence": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "verdict": {
- "enum": [
- "paid_the_lowest",
- "paid_more",
- "paid_less"
- ],
- "type": "string"
- }
- },
- "required": [
- "paidPence",
- "cheapestPence",
- "differencePence",
- "verdict"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "stores": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "exact": {
- "type": "boolean"
- },
- "fromPrice": {
- "type": "boolean"
- },
- "loyaltyCard": {
- "type": [
- "string",
- "null"
- ]
- },
- "observedOn": {
- "type": "string"
- },
- "offer": {
- "type": [
- "string",
- "null"
- ]
- },
- "price": {
- "type": "string"
- },
- "pricePence": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "regularPricePence": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "store": {
- "type": "string"
- }
- },
- "required": [
- "store",
- "observedOn",
- "exact",
- "pricePence",
- "price",
- "regularPricePence",
- "offer",
- "loyaltyCard",
- "fromPrice"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "storesWithoutPrice": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "date",
- "historyStartsOn",
- "stores",
- "storesWithoutPrice",
- "allStoresCovered",
- "cheapestStore",
- "cheapestPricePence",
- "paid"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
-}
removedOutput schema / properties / onSale
Removed value: -{
- "type": "boolean"
-}
removedOutput schema / properties / productId
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / productUrl
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / products
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cheapestStore": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currentPrice": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currentPricePence": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "high60dPence": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "low60dPence": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "onDate": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "allStoresCovered": {
+ "type": "boolean"
+ },
+ "cheapestPricePence": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "cheapestStore": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "type": "string"
+ },
+ "historyStartsOn": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "paid": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cheapestPence": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "differencePence": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "paidPence": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "verdict": {
+ "enum": [
+ "paid_the_lowest",
+ "paid_more",
+ "paid_less"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "paidPence",
+ "cheapestPence",
+ "differencePence",
+ "verdict"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "stores": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "exact": {
+ "type": "boolean"
+ },
+ "fromPrice": {
+ "type": "boolean"
+ },
+ "loyaltyCard": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "observedOn": {
+ "type": "string"
+ },
+ "offer": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "price": {
+ "type": "string"
+ },
+ "pricePence": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "regularPricePence": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "store": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "store",
+ "observedOn",
+ "exact",
+ "pricePence",
+ "price",
+ "regularPricePence",
+ "offer",
+ "loyaltyCard",
+ "fromPrice"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "storesWithoutPrice": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "date",
+ "historyStartsOn",
+ "stores",
+ "storesWithoutPrice",
+ "allStoresCovered",
+ "cheapestStore",
+ "cheapestPricePence",
+ "paid"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "onSale": {
+ "type": "boolean"
+ },
+ "productId": {
+ "type": "string"
+ },
+ "productUrl": {
+ "type": "string"
+ },
+ "typicalPricePence": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "verdict": {
+ "anyOf": [
+ {
+ "enum": [
+ "cheapest_in_60_days",
+ "typical",
+ "higher_than_usual",
+ "not_enough_history"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "productId",
+ "name",
+ "brand",
+ "productUrl",
+ "onSale",
+ "cheapestStore",
+ "currentPricePence",
+ "currentPrice",
+ "low60dPence",
+ "high60dPence",
+ "typicalPricePence",
+ "verdict",
+ "onDate"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
removedOutput schema / properties / typicalPricePence
Removed value: -{
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
-}
addedOutput schema / properties / unknownProductIds
Added value: +{
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
removedOutput schema / properties / verdict
Removed value: -{
- "anyOf": [
- {
- "enum": [
- "cheapest_in_60_days",
- "typical",
- "higher_than_usual",
- "not_enough_history"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
-}
changedOutput schema / required
Previous value: -[
- "productId",
- "name",
- "brand",
- "productUrl",
- "onSale",
- "cheapestStore",
- "currentPricePence",
- "currentPrice",
- "low60dPence",
- "high60dPence",
- "typicalPricePence",
- "verdict",
- "onDate"
-]New value: +[
+ "products",
+ "unknownProductIds",
+ "notCheckedProductIds"
+]