changedInput schema / properties / items / items / anyOf
Previous value: -[
- {
- "description": "A phrase, as resolve takes it: \"2 large eggs\".",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- {
- "properties": {
- "id": {
- "description": "Entity id, e.g. fd_k3m9x2q8vt7w4p (food), pr_ (product), sp_ (supplement), mi_ (menu item), rc_ (recipe). A source id also works: fdc:<USDA fdcId>, ndb:<NDB number>, dsld:<DSLD id>, fndds:<food code>.",
- "maxLength": 64,
- "minLength": 3,
- "type": "string"
- },
- "quantity": {
- "description": "Defaults to 1.",
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "text": {
- "description": "Free text instead of an id, e.g. \"2 large eggs scrambled\". Resolved first.",
- "maxLength": 300,
- "type": "string"
- },
- "unit": {
- "description": "g, oz, ml, cup, tbsp, serving, slice, capsule... Defaults to \"serving\" for products and supplements, \"g\" with quantity 100 otherwise.",
- "maxLength": 32,
- "type": "string"
- }
- },
- "type": "object"
- }
-]New value: +[
+ {
+ "description": "A phrase, as resolve takes it: \"2 large eggs\".",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "properties": {
+ "id": {
+ "description": "Entity id, e.g. fd_k3m9x2q8vt7w4p (food), pr_ (product), sp_ (supplement), mi_ (menu item), rc_ (recipe). A source id also works: fdc:<USDA fdcId>, ndb:<NDB number>, dsld:<DSLD id>, fndds:<food code>, lnhpd:<LNHPD id>, ciqual:<alim_code>, cnf:<food code>, cofid:<food code>, matvaretabellen:<food id>, slv:<Livsmedelsverket number>.",
+ "maxLength": 64,
+ "minLength": 3,
+ "type": "string"
+ },
+ "quantity": {
+ "description": "Defaults to 1.",
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "text": {
+ "description": "Free text instead of an id, e.g. \"2 large eggs scrambled\". Resolved first.",
+ "maxLength": 300,
+ "type": "string"
+ },
+ "unit": {
+ "description": "g, oz, ml, cup, tbsp, serving, slice, capsule... Defaults to \"serving\" for products and supplements, \"g\" with quantity 100 otherwise.",
+ "maxLength": 32,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+]