changedInput schema / examples
Previous value: -[
- {
- "density": 0.5,
- "from": "g",
- "to": "us_cup",
- "value": "118.29411825"
- }
-]New value: +[
+ {
+ "density": 0.5,
+ "from": "g",
+ "to": "us_cup",
+ "value": "118.29411825"
+ },
+ {
+ "from": "us_cup",
+ "ingredient": "granulated_sugar",
+ "to": "g",
+ "value": "1"
+ }
+]
addedInput schema / oneOf
Added value: +[
+ {
+ "not": {
+ "required": [
+ "ingredient"
+ ]
+ },
+ "required": [
+ "density"
+ ]
+ },
+ {
+ "not": {
+ "required": [
+ "density"
+ ]
+ },
+ "required": [
+ "ingredient"
+ ]
+ }
+]
changedInput schema / properties / density / description
Previous value: -"Required density in grams per milliliter; no ingredient presets."New value: +"Custom density in grams per milliliter; exactly one of density or ingredient is required."
addedInput schema / properties / ingredient
Added value: +{
+ "description": "USDA FDC ingredient cup-weight preset, interpreted using a 236.5882365 mL US customary cup. Exactly one of ingredient or density is required.",
+ "enum": [
+ "all_purpose_flour",
+ "bread_flour",
+ "whole_wheat_flour",
+ "granulated_sugar",
+ "packed_brown_sugar",
+ "powdered_sugar",
+ "butter",
+ "water",
+ "whole_milk",
+ "honey",
+ "vegetable_oil",
+ "uncooked_white_rice",
+ "rolled_oats",
+ "unsweetened_cocoa_powder",
+ "table_salt"
+ ],
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "value",
- "from",
- "to",
- "density"
-]New value: +[
+ "value",
+ "from",
+ "to"
+]
changedOutput schema / description
Previous value: -"Structured entered quantities, explicit unit labels, calculated results and formula; numeric arithmetic from entered values, with no inferred density, coverage or prices."New value: +"Entered quantity, unit labels, computed density and result, formula; ingredient presets also include the ingredient key, grams per US customary cup, FDC ID and source URL."