addedInput schema / properties / limit / description
Added value: +"How many offers to return in one page (default 25, at most 200)."
addedInput schema / properties / limit / maximum
Added value: +200
addedInput schema / properties / limit / minimum
Added value: +1
removedInput schema / properties / limit / title
Removed value: -"Limit"
addedInput schema / properties / offset / description
Added value: +"How many rows to skip, for the next page: the next_offset of the page before (default 0)."
addedInput schema / properties / offset / minimum
Added value: +0
removedInput schema / properties / offset / title
Removed value: -"Offset"
addedInput schema / properties / store / description
Added value: +"The shop: aldi, tesco, supervalu, dunnes or lidl."
addedInput schema / properties / store / enum
Added value: +[
+ "aldi",
+ "tesco",
+ "supervalu",
+ "dunnes",
+ "lidl"
+]
removedInput schema / properties / store / title
Removed value: -"Store"
removedInput schema / title
Removed value: -"get_promotionsArguments"
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 / Promotion / properties / brand
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Brand"
+}
addedOutput schema / $defs / Promotion / 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 / Promotion / properties / id / description
Added value: +"The shop's own product id, e.g. tesco:12345 (an Aldi id has no shop in front): the form a product_ids parameter takes"
addedOutput schema / $defs / Promotion / properties / pack_size
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Pack Size"
+}
addedOutput schema / $defs / Promotion / 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 / Promotion / 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 / Promotion / properties / store
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Store"
+}
addedOutput schema / $defs / Promotion / 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 / Promotion / 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 / additionalProperties
Added value: +true
addedOutput schema / properties / as_of
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The day these offers were recorded, YYYY-MM-DD",
+ "title": "As Of"
+}
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 the page is empty",
+ "title": "Hint"
+}
addedOutput schema / properties / next_offset
Added value: +{
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The offset of the next page; missing on the last",
+ "title": "Next Offset"
+}
addedOutput schema / properties / offset
Added value: +{
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "How many rows this page skipped",
+ "title": "Offset"
+}
addedOutput schema / properties / promotions
Added value: +{
+ "description": "One page, the biggest saving the shop states first",
+ "items": {
+ "$ref": "#/$defs/Promotion"
+ },
+ "title": "Promotions",
+ "type": "array"
+}
removedOutput schema / properties / result
Removed value: -{
- "items": {
- "$ref": "#/$defs/Promotion"
- },
- "title": "Result",
- "type": "array"
-}
addedOutput schema / properties / store
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Store"
+}
removedOutput schema / required
Removed value: -[
- "result"
-]
changedOutput schema / title
Previous value: -"get_promotionsOutput"New value: +"PromotionList"