addedInput schema / $defs
Added value: +{
+ "Recipe": {
+ "properties": {
+ "ingredients": {
+ "items": {
+ "properties": {
+ "amount": {
+ "description": "The exact amount as a number: 1.5, or '1 1/2'. Not 'a handful' or 'to taste'.",
+ "exclusiveMinimum": 0,
+ "maximum": 100000,
+ "type": "number"
+ },
+ "brand": {
+ "description": "Only when the person named a brand, e.g. 'Cheerios': Divux then checks recent FDA recalls for it",
+ "maxLength": 60,
+ "type": "string"
+ },
+ "grams": {
+ "description": "The weight in grams of this whole amount, when you know it (best for a can, a cup of something unusual, or a branded item). It beats any conversion.",
+ "exclusiveMinimum": 0,
+ "maximum": 100000,
+ "type": "number"
+ },
+ "name": {
+ "description": "The ingredient, e.g. 'rolled oats', 'chicken breast', 'olive oil'. Put preparation in note, not here.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "note": {
+ "description": "Preparation, e.g. 'finely chopped'",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "per_100g": {
+ "description": "Nutrition per 100 g from the package, only if you have it; skips the lookup",
+ "properties": {
+ "added_sugars_g": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "carbs_g": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fat_g": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fiber_g": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "kcal": {
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "protein_g": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "sat_fat_g": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "sodium_mg": {
+ "maximum": 40000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "sugars_g": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "price_estimate": {
+ "description": "Your estimate in USD for this amount of the ingredient, when the person gave a budget. Divux doesn't look up prices here.",
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "query": {
+ "description": "What to look up for nutrition when name is not enough, e.g. 'chicken breast raw' or 'cheddar cheese'",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "unit": {
+ "description": "g, kg, oz, lb, ml, l, tsp, tbsp, cup, fl oz, or a count word (clove, slice, piece). Leave out for whole items like eggs.",
+ "maxLength": 30,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "amount"
+ ],
+ "type": "object"
+ },
+ "maxItems": 40,
+ "minItems": 1,
+ "type": "array"
+ },
+ "note": {
+ "description": "A short tip or description for the top of the page",
+ "maxLength": 300,
+ "type": "string"
+ },
+ "servings": {
+ "description": "How many servings the recipe as written makes",
+ "exclusiveMinimum": 0,
+ "maximum": 100,
+ "type": "number"
+ },
+ "steps": {
+ "description": "The method, one step per entry, in order",
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": "array"
+ },
+ "title": {
+ "description": "Recipe name",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "servings",
+ "ingredients"
+ ],
+ "type": "object"
+ }
+}
addedInput schema / properties / days / items / properties / meals / items / properties / recipe / $ref
Added value: +"#/$defs/Recipe"
removedInput schema / properties / days / items / properties / meals / items / properties / recipe / properties
Removed value: -{
- "ingredients": {
- "items": {
- "properties": {
- "amount": {
- "description": "The exact amount as a number: 1.5, or '1 1/2'. Not 'a handful' or 'to taste'.",
- "exclusiveMinimum": 0,
- "maximum": 100000,
- "type": "number"
- },
- "brand": {
- "description": "Only when the person named a brand, e.g. 'Cheerios': Divux then checks recent FDA recalls for it",
- "maxLength": 60,
- "type": "string"
- },
- "grams": {
- "description": "The weight in grams of this whole amount, when you know it (best for a can, a cup of something unusual, or a branded item). It beats any conversion.",
- "exclusiveMinimum": 0,
- "maximum": 100000,
- "type": "number"
- },
- "name": {
- "description": "The ingredient, e.g. 'rolled oats', 'chicken breast', 'olive oil'. Put preparation in note, not here.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "note": {
- "description": "Preparation, e.g. 'finely chopped'",
- "maxLength": 100,
- "type": "string"
- },
- "per_100g": {
- "description": "Nutrition per 100 g from the package, only if you have it; skips the lookup",
- "properties": {
- "added_sugars_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "carbs_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "fat_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "fiber_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "kcal": {
- "maximum": 1000,
- "minimum": 0,
- "type": "number"
- },
- "protein_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "sat_fat_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "sodium_mg": {
- "maximum": 40000,
- "minimum": 0,
- "type": "number"
- },
- "sugars_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "type": "object"
- },
- "price_estimate": {
- "description": "Your estimate in USD for this amount of the ingredient, when the person gave a budget. Divux doesn't look up prices here.",
- "maximum": 10000,
- "minimum": 0,
- "type": "number"
- },
- "query": {
- "description": "What to look up for nutrition when name is not enough, e.g. 'chicken breast raw' or 'cheddar cheese'",
- "maxLength": 100,
- "type": "string"
- },
- "unit": {
- "description": "g, kg, oz, lb, ml, l, tsp, tbsp, cup, fl oz, or a count word (clove, slice, piece). Leave out for whole items like eggs.",
- "maxLength": 30,
- "type": "string"
- }
- },
- "required": [
- "name",
- "amount"
- ],
- "type": "object"
- },
- "maxItems": 40,
- "minItems": 1,
- "type": "array"
- },
- "note": {
- "description": "A short tip or description for the top of the page",
- "maxLength": 300,
- "type": "string"
- },
- "servings": {
- "description": "How many servings the recipe as written makes",
- "exclusiveMinimum": 0,
- "maximum": 100,
- "type": "number"
- },
- "steps": {
- "description": "The method, one step per entry, in order",
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 40,
- "type": "array"
- },
- "title": {
- "description": "Recipe name",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
-}
removedInput schema / properties / days / items / properties / meals / items / properties / recipe / required
Removed value: -[
- "title",
- "servings",
- "ingredients"
-]
removedInput schema / properties / days / items / properties / meals / items / properties / recipe / type
Removed value: -"object"
addedInput schema / properties / recipe / $ref
Added value: +"#/$defs/Recipe"
removedInput schema / properties / recipe / properties
Removed value: -{
- "ingredients": {
- "items": {
- "properties": {
- "amount": {
- "description": "The exact amount as a number: 1.5, or '1 1/2'. Not 'a handful' or 'to taste'.",
- "exclusiveMinimum": 0,
- "maximum": 100000,
- "type": "number"
- },
- "brand": {
- "description": "Only when the person named a brand, e.g. 'Cheerios': Divux then checks recent FDA recalls for it",
- "maxLength": 60,
- "type": "string"
- },
- "grams": {
- "description": "The weight in grams of this whole amount, when you know it (best for a can, a cup of something unusual, or a branded item). It beats any conversion.",
- "exclusiveMinimum": 0,
- "maximum": 100000,
- "type": "number"
- },
- "name": {
- "description": "The ingredient, e.g. 'rolled oats', 'chicken breast', 'olive oil'. Put preparation in note, not here.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "note": {
- "description": "Preparation, e.g. 'finely chopped'",
- "maxLength": 100,
- "type": "string"
- },
- "per_100g": {
- "description": "Nutrition per 100 g from the package, only if you have it; skips the lookup",
- "properties": {
- "added_sugars_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "carbs_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "fat_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "fiber_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "kcal": {
- "maximum": 1000,
- "minimum": 0,
- "type": "number"
- },
- "protein_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "sat_fat_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "sodium_mg": {
- "maximum": 40000,
- "minimum": 0,
- "type": "number"
- },
- "sugars_g": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "type": "object"
- },
- "price_estimate": {
- "description": "Your estimate in USD for this amount of the ingredient, when the person gave a budget. Divux doesn't look up prices here.",
- "maximum": 10000,
- "minimum": 0,
- "type": "number"
- },
- "query": {
- "description": "What to look up for nutrition when name is not enough, e.g. 'chicken breast raw' or 'cheddar cheese'",
- "maxLength": 100,
- "type": "string"
- },
- "unit": {
- "description": "g, kg, oz, lb, ml, l, tsp, tbsp, cup, fl oz, or a count word (clove, slice, piece). Leave out for whole items like eggs.",
- "maxLength": 30,
- "type": "string"
- }
- },
- "required": [
- "name",
- "amount"
- ],
- "type": "object"
- },
- "maxItems": 40,
- "minItems": 1,
- "type": "array"
- },
- "note": {
- "description": "A short tip or description for the top of the page",
- "maxLength": 300,
- "type": "string"
- },
- "servings": {
- "description": "How many servings the recipe as written makes",
- "exclusiveMinimum": 0,
- "maximum": 100,
- "type": "number"
- },
- "steps": {
- "description": "The method, one step per entry, in order",
- "items": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 40,
- "type": "array"
- },
- "title": {
- "description": "Recipe name",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
-}
removedInput schema / properties / recipe / required
Removed value: -[
- "title",
- "servings",
- "ingredients"
-]
removedInput schema / properties / recipe / type
Removed value: -"object"