changedInput schema / properties / currency / description
Previous value: -"Currency code for display, default USD"New value: +"Currency code for display only, e.g. 'EUR'; default USD"
changedInput schema / properties / ingredients / description
Previous value: -"Priced ingredients"New value: +"Priced ingredients, e.g. [{\"item\":\"chicken\",\"cost\":8.5},{\"item\":\"rice\",\"cost\":1.2}]"
changedInput schema / properties / ingredients / items / properties / cost / description
Previous value: -"Cost of the amount used in the recipe"New value: +"Cost of the amount used in the recipe, 0 or more, in the given currency"
addedInput schema / properties / ingredients / items / properties / cost / minimum
Added value: +0
addedInput schema / properties / ingredients / minItems
Added value: +1
changedInput schema / properties / servings / description
Previous value: -"How many servings the recipe makes"New value: +"How many servings the recipe makes, positive, e.g. 4"
addedInput schema / properties / servings / exclusiveMinimum
Added value: +0
removedOutput schema / properties / cost_for_10_servings
Removed value: -{
- "description": "The cost for 10 servings in the specified currency",
- "type": "number"
-}
removedOutput schema / properties / cost_per_serving
Removed value: -{
- "description": "The cost per serving in the specified currency",
- "type": "number"
-}
changedOutput schema / properties / currency / description
Previous value: -"The currency code used for the cost calculations"New value: +"Currency code used in the results (upper case)"
addedOutput schema / properties / note
Added value: +{
+ "description": "Plain-language cost summary",
+ "type": "string"
+}
addedOutput schema / properties / per_serving
Added value: +{
+ "description": "Cost per serving, rounded to cents",
+ "type": "number"
+}
addedOutput schema / properties / per_ten_servings
Added value: +{
+ "description": "Cost for 10 servings, rounded to cents",
+ "type": "number"
+}
addedOutput schema / properties / servings
Added value: +{
+ "description": "Servings the recipe makes",
+ "type": "number"
+}
addedOutput schema / properties / total_cost
Added value: +{
+ "description": "Sum of all ingredient costs",
+ "type": "number"
+}
changedOutput schema / required
Previous value: -[
- "cost_per_serving",
- "cost_for_10_servings",
- "currency"
-]New value: +[
+ "currency",
+ "total_cost",
+ "servings",
+ "per_serving",
+ "per_ten_servings",
+ "note"
+]