addedInput schema / properties / limit / description
Added value: +"Most products to return for a query (default 5, at most 50)."
addedInput schema / properties / limit / maximum
Added value: +50
addedInput schema / properties / limit / minimum
Added value: +1
removedInput schema / properties / limit / title
Removed value: -"Limit"
addedInput schema / properties / product_ids / description
Added value: +"Product ids exactly as another tool gave them, e.g. ['tesco:300793546', 'dunnes:100873410', '000000000000387044'], up to 50. The sure way to name a product."
removedInput schema / properties / product_ids / title
Removed value: -"Product Ids"
addedInput schema / properties / query / description
Added value: +"Product name words, e.g. 'kellogg's corn flakes'."
removedInput schema / properties / query / title
Removed value: -"Query"
addedInput schema / properties / skus / description
Added value: +"The shop's own item numbers, as printed on its receipts, e.g. ['100873410'], up to 50. Needs store. An Aldi article number can return several variants."
removedInput schema / properties / skus / title
Removed value: -"Skus"
changedInput schema / properties / store / anyOf
Previous value: -[
- {
- "type": "string"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "enum": [
+ "aldi",
+ "tesco",
+ "supervalu",
+ "dunnes",
+ "lidl"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / store / description
Added value: +"aldi, tesco, supervalu, dunnes or lidl: needed with skus; narrows a query; left out, all five."
removedInput schema / properties / store / title
Removed value: -"Store"
removedInput schema / title
Removed value: -"get_product_detailsArguments"
addedOutput schema / $defs / Credits
Added value: +{
+ "additionalProperties": true,
+ "properties": {
+ "left": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Credits left on the account after it",
+ "title": "Left"
+ },
+ "note": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Said when the balance is low, or when it cut this answer short",
+ "title": "Note"
+ },
+ "used": {
+ "description": "Credits this answer cost: one for each record it returned",
+ "title": "Used",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "used"
+ ],
+ "title": "Credits",
+ "type": "object"
+}
addedOutput schema / $defs / ProductDetail / properties / clubcard_price
Added value: +{
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Member price where one applies: Tesco Clubcard, SuperValu Real Rewards or Lidl Plus",
+ "title": "Clubcard Price"
+}
addedOutput schema / $defs / ProductDetail / properties / in_range_today
Added value: +{
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "For a product looked up by id or item number: false when the shop's latest catalogue day does not list it, so price is its last recorded price and not a price to buy at today",
+ "title": "In Range Today"
+}
addedOutput schema / $defs / ProductDetail / properties / offer_ends
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Last day the offer applies, YYYY-MM-DD, Irish time, where the retailer states it",
+ "title": "Offer Ends"
+}
addedOutput schema / $defs / ProductDetail / properties / offer_text
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The offer as the shop words it",
+ "title": "Offer Text"
+}
changedOutput schema / $defs / ProductDetail / properties / price / description
Previous value: -"Today's shelf price in euro"New value: +"Shelf price in euro on price_date: today's, unless in_range_today is false"
addedOutput schema / $defs / ProductDetail / properties / price_date
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The day price was recorded, YYYY-MM-DD",
+ "title": "Price Date"
+}
addedOutput schema / $defs / ProductDetail / properties / price_per_kg
Added value: +{
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "unit_price worked out per kilo, where the shop prices the product by weight: the figure to compare packs of different sizes on (per kilo drained, where unit_basis says drained weight)",
+ "title": "Price Per Kg"
+}
addedOutput schema / $defs / ProductDetail / properties / price_per_litre
Added value: +{
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "unit_price worked out per litre, where the shop prices the product by volume",
+ "title": "Price Per Litre"
+}
addedOutput schema / $defs / ProductDetail / properties / unit_basis
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The measure unit_price is in, as the shop states it: '1 KG', '100g', '75cl', 'each'",
+ "title": "Unit Basis"
+}
addedOutput schema / $defs / ProductDetail / properties / unit_price
Added value: +{
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The shop's own unit price, in the measure unit_basis names: per kg at one shop, per 100g or per 75cl at another, so as it stands it does not compare across rows",
+ "title": "Unit Price"
+}
addedOutput schema / properties / credits
Added value: +{
+ "anyOf": [
+ {
+ "$ref": "#/$defs/Credits"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "What this answer cost the person's BasketWatch account and what is left. Missing on a free answer"
+}
addedOutput schema / properties / hint
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "What to try, when a name found nothing",
+ "title": "Hint"
+}
addedOutput schema / properties / not_found
Added value: +{
+ "description": "Requested product_ids with no product on record",
+ "items": {
+ "type": "string"
+ },
+ "title": "Not Found",
+ "type": "array"
+}