addedInput schema / properties / eatenAt / description
Added value: +"When they ate, an ISO date-time; null is now."
addedInput schema / properties / items / description
Added value: +"One entry per food."
addedInput schema / properties / items / items / properties / carbs / description
Added value: +"Grams of carbs in one serving, for an estimate only."
addedInput schema / properties / items / items / properties / certainty / description
Added value: +"EXACT for a weighed amount or a label, GOOD for a known food at an amount they gave, ROUGH for an amount guessed from a photo."
addedInput schema / properties / items / items / properties / fat / description
Added value: +"Grams of fat in one serving, for an estimate only."
addedInput schema / properties / items / items / properties / foodId / description
Added value: +"A saved food or recipe's id, from search_foods; null otherwise."
addedInput schema / properties / items / items / properties / foodKey / description
Added value: +"A list food's key (usda:…), from search_foods; null otherwise."
addedInput schema / properties / items / items / properties / grams / description
Added value: +"Grams eaten, with foodId or foodKey."
addedInput schema / properties / items / items / properties / kcal / description
Added value: +"Calories in one serving, for an estimate only."
addedInput schema / properties / items / items / properties / name / description
Added value: +"The food's name, for an estimate only."
addedInput schema / properties / items / items / properties / protein / description
Added value: +"Grams of protein in one serving, for an estimate only."
addedInput schema / properties / items / items / properties / quantity / description
Added value: +"How many servings, for an estimate only."
addedInput schema / properties / items / items / properties / serving / description
Added value: +"One serving in words, such as \"1 cup\", for an estimate only."
changedInput schema / properties / items / items / properties / tweaks / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "foodId": {
- "type": "string"
- },
- "grams": {
- "maximum": 5000,
- "minimum": 0,
- "type": [
- "number",
- "null"
- ]
- },
- "swapTo": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "foodId"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "foodId": {
+ "description": "One of the recipe's foods, or a food to add (its id or foodKey).",
+ "type": "string"
+ },
+ "grams": {
+ "description": "Its grams in this meal (0 leaves it out); null with swapTo.",
+ "maximum": 5000,
+ "minimum": 0,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "swapTo": {
+ "description": "Another food's id or foodKey to use in its place; null otherwise.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "foodId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / items / items / properties / tweaks / description
Added value: +"This meal's changes to a saved recipe; null otherwise."