changedInput schema / properties / lists / description
Previous value: -"Shopping lists to merge"New value: +"Shopping lists to merge (at least one item overall), e.g. [{\"name\":\"Pancakes\",\"items\":[{\"item\":\"milk\",\"quantity\":1,\"unit\":\"cup\"}]}]"
changedInput schema / properties / lists / items / properties / items / items / properties / item / description
Previous value: -"Item to buy"New value: +"Item to buy, e.g. 'eggs'"
changedInput schema / properties / lists / items / properties / items / items / properties / quantity / description
Previous value: -"Amount; omit it for non-numeric items"New value: +"Amount, non-negative; omit for non-numeric items (listed in skipped_no_quantity)"
addedInput schema / properties / lists / items / properties / items / items / properties / quantity / minimum
Added value: +0
changedInput schema / properties / lists / items / properties / items / items / properties / unit / description
Previous value: -"Unit such as cup, tbsp or g"New value: +"Unit such as cup, tbsp, g, kg, or a free label like 'can'; omit for plain counts"
changedInput schema / properties / lists / items / properties / name / description
Previous value: -"e.g. 'Saturday dinner'"New value: +"List label shown in from_lists, e.g. 'Saturday dinner'; default 'list N'"
addedInput schema / properties / lists / minItems
Added value: +1
addedOutput schema / properties / merged
Added value: +{
+ "description": "One line per item and unit kind, with summed quantities",
+ "items": {
+ "properties": {
+ "display": {
+ "description": "Readable amount with unit",
+ "type": "string"
+ },
+ "from_lists": {
+ "description": "Names of the lists this item came from",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "item": {
+ "description": "Item name (first spelling seen)",
+ "type": "string"
+ },
+ "quantity": {
+ "description": "Summed quantity (2 decimals)",
+ "type": "number"
+ },
+ "unit": {
+ "description": "Display unit, e.g. 'cup', 'g', 'each' or a free label",
+ "type": "string"
+ }
+ },
+ "required": [
+ "item",
+ "quantity",
+ "unit",
+ "display",
+ "from_lists"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
removedOutput schema / properties / mergedList
Removed value: -{
- "description": "The consolidated shopping list",
- "properties": {
- "items": {
- "description": "List of items with quantities and units",
- "items": {
- "properties": {
- "item": {
- "description": "Item to buy",
- "type": "string"
- },
- "quantity": {
- "description": "Total amount of the item",
- "type": "number"
- },
- "unit": {
- "description": "Friendliest kitchen unit for the item",
- "type": "string"
- }
- },
- "required": [
- "item",
- "quantity",
- "unit"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "name": {
- "description": "Name of the merged list, e.g. 'Weekly Groceries'",
- "type": "string"
- },
- "notes": {
- "description": "List of items without quantities",
- "items": {
- "description": "Item to buy",
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "items",
- "notes"
- ],
- "type": "object"
-}
addedOutput schema / properties / note
Added value: +{
+ "description": "Summary of the merge and its limits",
+ "type": "string"
+}
addedOutput schema / properties / skipped_no_quantity
Added value: +{
+ "description": "Items given without a quantity, kept as notes",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
changedOutput schema / required
Previous value: -[
- "mergedList"
-]New value: +[
+ "merged",
+ "skipped_no_quantity",
+ "note"
+]