addedInput schema / properties / custom_foods
Added value: +{
+ "description": "Optional per-request custom or branded foods merged ahead of the built-in 294-food USDA v2 database.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "alcohol_g_per_unit": {
+ "maximum": 200,
+ "minimum": 0,
+ "type": "number"
+ },
+ "aliases": {
+ "items": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 12,
+ "type": "array"
+ },
+ "allergens": {
+ "items": {
+ "enum": [
+ "eggs",
+ "dairy",
+ "gluten",
+ "fish",
+ "shellfish",
+ "nuts",
+ "peanuts",
+ "soy",
+ "sesame"
+ ],
+ "type": "string"
+ },
+ "maxItems": 9,
+ "type": "array"
+ },
+ "caffeine_mg_per_unit": {
+ "maximum": 2000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "carbs_per_unit": {
+ "default": 0,
+ "maximum": 500,
+ "minimum": 0,
+ "type": "number"
+ },
+ "cholesterol_mg_per_unit": {
+ "default": 0,
+ "maximum": 5000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "dairy_free": {
+ "type": "boolean"
+ },
+ "fat_per_unit": {
+ "default": 0,
+ "maximum": 500,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fiber_per_unit": {
+ "default": 0,
+ "maximum": 200,
+ "minimum": 0,
+ "type": "number"
+ },
+ "gluten_free": {
+ "type": "boolean"
+ },
+ "grams_per_unit": {
+ "default": 100,
+ "maximum": 5000,
+ "minimum": 1,
+ "type": "number"
+ },
+ "kcal_per_unit": {
+ "maximum": 5000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "name": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "potassium_mg_per_unit": {
+ "default": 0,
+ "maximum": 20000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "protein_per_unit": {
+ "maximum": 500,
+ "minimum": 0,
+ "type": "number"
+ },
+ "saturated_fat_per_unit": {
+ "default": 0,
+ "maximum": 200,
+ "minimum": 0,
+ "type": "number"
+ },
+ "sodium_mg_per_unit": {
+ "default": 0,
+ "maximum": 20000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "sugar_per_unit": {
+ "default": 0,
+ "maximum": 500,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unit_label": {
+ "default": "serving",
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ },
+ "vegan": {
+ "type": "boolean"
+ },
+ "vegetarian": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "name",
+ "kcal_per_unit",
+ "protein_per_unit"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+}
changedInput schema / properties / text / description
Previous value: -"Natural-language food or multi-item meal description with optional weights (g, kg, oz, lb, ml) or quantities (cups, slices, scoops, eggs)."New value: +"Natural-language food or multi-item meal description with optional weights (g, kg, oz, lb, ml), cooking states (raw, cooked, grilled, fried, breaded, boiled, baked, steamed), recipe serving splits, or quantities (cups, slices, scoops, eggs)."