changedInput schema / properties / limit / description
Previous value: -"Max candidates to return (default 5, clamped to 1–10)."New value: +"Max candidates to return (default and maximum 5)."
changedInput schema / properties / query / description
Previous value: -"Food to search, e.g. 'greek yogurt' or 'Chipotle chicken'."New value: +"Food to search, e.g. 'greek yogurt' or 'Chipotle chicken'. At least 2 letters; wildcards are not supported."
addedOutput schema / properties / candidates / items / properties / provenance
Added value: +{
+ "description": "Chain-menu citation: the chain, its data date, its published page, the assumed build and a caveat.",
+ "properties": {
+ "as_of": {
+ "description": "A local date, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "assumed_build": {
+ "type": "string"
+ },
+ "caveat": {
+ "type": "string"
+ },
+ "chain": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "chain",
+ "as_of"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / candidates / items / properties / serving / description
Added value: +"The basis the macros are for, e.g. '100 g'."
addedOutput schema / properties / candidates / items / properties / serving_approx
Added value: +{
+ "description": "serving_grams is estimated from a drink's volume.",
+ "type": "boolean"
+}
addedOutput schema / properties / candidates / items / properties / source / description
Added value: +"Where the figures came from, as a label."
addedOutput schema / properties / candidates / items / properties / source / enum
Added value: +[
+ "USDA",
+ "Open Food Facts",
+ "Forkmate",
+ "your entry",
+ "estimate"
+]
addedOutput schema / properties / candidates / items / properties / unknown_macros
Added value: +{
+ "description": "Macros missing from the source data: shown as 0 but unknown, not a real zero.",
+ "items": {
+ "enum": [
+ "protein_g",
+ "carb_g",
+ "fat_g"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+}
changedOutput schema / properties / candidates / items / required
Previous value: -[
- "name",
- "macros",
- "source"
-]New value: +[
+ "name",
+ "serving",
+ "macros",
+ "source"
+]