BRAINIAC Restaurant Operations Intelligence is an MCP server published by software.brainiac, hosted at www.brainiac.software. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 8 tools, including restaurant-operations_recipe-cost-calculate, restaurant-operations_menu-item-margin-analyze, restaurant-operations_ingredient-price-variance, restaurant-operations_food-waste-estimate, restaurant-operations_recipe-yield-normalize.
Paid Restaurant Operations Intelligence API via x402. Unpaid tool calls return 402.
648 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Calculate recipe and per-portion cost from supplied ingredient quantities and prices after unit conversion. Docs: https://www.brainiac.software/api/restaurant-operations/recipe-cost-calculate Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| sales | array | sales, array. Optional. |
| waste | array | waste, array. Optional. |
| matrix | array | matrix, array. Optional. |
| prices | array | prices, array. Optional. |
| recipes | array | recipes, array. Optional. |
| allergens | array | allergens, array. Optional. |
| ingredients | array | ingredients, array. Optional. |
| recipeLines | array | recipeLines, array. Optional. |
{
"name": "restaurant-operations_recipe-cost-calculate",
"title": "Calculate recipe cost",
"description": "Calculate recipe and per-portion cost from supplied ingredient quantities and prices after unit conversion. Docs: https://www.brainiac.software/api/restaurant-operations/recipe-cost-calculate Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"maxLength": 40,
"description": "date, string, length 0 to 40. Optional."
},
"units": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "units, number, from 0 to 1000000000. Optional."
},
"revenue": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "revenue, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "sales, array. Optional."
},
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"reason": {
"type": "string",
"maxLength": 160,
"description": "reason, string, length 0 to 160. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "waste, array. Optional."
},
"matrix": {
"type": "array",
"items": {
"type": "object",
"properties": {
"claimed": {
"type": "boolean",
"description": "claimed, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "matrix, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
},
"supplierId": {
"type": "string",
"maxLength": 80,
"description": "supplierId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "prices, array. Optional."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"portions": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "portions, number, from 0 to 1000000. Optional."
},
"yieldQty": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "yieldQty, number, from 0 to 1000000000. Optional."
},
"sellPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "sellPrice, number, from 0 to 1000000000. Optional."
},
"yieldUnit": {
"type": "string",
"maxLength": 40,
"description": "yieldUnit, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipes, array. Optional."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"present": {
"type": "boolean",
"description": "present, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "allergens, array. Optional."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "ingredients, array. Optional."
},
"recipeLines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipeLines, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"lineCost": {
"type": "number",
"description": "lineCost. Number."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"converted": {
"type": "boolean",
"description": "converted. Boolean."
},
"unitPrice": {
"type": "number",
"description": "unitPrice. Number."
},
"priceSource": {
"type": "string",
"description": "priceSource. String."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"lineCostSupplied": {
"type": "boolean",
"description": "lineCostSupplied. Boolean."
},
"unitPriceSupplied": {
"type": "boolean",
"description": "unitPriceSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"portions": {
"type": "number",
"description": "portions. Number."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"lineCount": {
"type": "number",
"description": "lineCount. Number."
},
"sellPrice": {
"type": "number",
"description": "sellPrice. Number."
},
"totalCost": {
"type": "number",
"description": "totalCost. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"costPerPortion": {
"type": "number",
"description": "costPerPortion. Number."
},
"portionsSupplied": {
"type": "boolean",
"description": "portionsSupplied. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"sellPriceSupplied": {
"type": "boolean",
"description": "sellPriceSupplied. Boolean."
},
"totalCostSupplied": {
"type": "boolean",
"description": "totalCostSupplied. Boolean."
},
"costPerPortionSupplied": {
"type": "boolean",
"description": "costPerPortionSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Calculate recipe cost",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Calculate gross margin and food-cost percentage from supplied sell prices and calculated recipe costs. Docs: https://www.brainiac.software/api/restaurant-operations/menu-item-margin-analyze Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| sales | array | sales, array. Optional. |
| waste | array | waste, array. Optional. |
| matrix | array | matrix, array. Optional. |
| prices | array | prices, array. Optional. |
| recipes | array | recipes, array. Optional. |
Compare supplied supplier prices for the same ingredient after unit conversion and report spreads and dated changes. Docs: https://www.brainiac.software/api/restaurant-operations/ingredient-price-variance Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| sales | array | sales, array. Optional. |
| waste | array | waste, array. Optional. |
| matrix | array | matrix, array. Optional. |
| prices | array | prices, array. Optional. |
| recipes | array |
Estimate waste cost from supplied waste quantities and ingredient prices after unit conversion. Docs: https://www.brainiac.software/api/restaurant-operations/food-waste-estimate Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, totalEstimatedCost, totalEstimatedCostSupplied.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| sales | array | sales, array. Optional. |
| waste | array | waste, array. Optional. |
| matrix | array | matrix, array. Optional. |
| prices | array | prices, array. Optional. |
| recipes | array | recipes, array. Optional. |
Normalize recipe line quantities into ingredient units and per-portion amounts using accurate mass and volume conversions. Docs: https://www.brainiac.software/api/restaurant-operations/recipe-yield-normalize Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| sales | array | sales, array. Optional. |
| waste | array | waste, array. Optional. |
| matrix | array | matrix, array. Optional. |
| prices | array | prices, array. Optional. |
| recipes | array |
Rank menu items by contribution using calculated portion profit and supplied sales units. Docs: https://www.brainiac.software/api/restaurant-operations/menu-profitability-rank Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| sales | array | sales, array. Optional. |
| waste | array | waste, array. Optional. |
| matrix | array | matrix, array. Optional. |
| prices | array | prices, array. Optional. |
| recipes | array | recipes, array. Optional. |
Compare menu allergen claims with explicitly supplied ingredient allergen flags. Docs: https://www.brainiac.software/api/restaurant-operations/allergen-matrix-validate Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, mismatchCount, items.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| sales | array | sales, array. Optional. |
| waste | array | waste, array. Optional. |
| matrix | array | matrix, array. Optional. |
| prices | array | prices, array. Optional. |
| recipes | array | recipes, array. Optional. |
Combine recipe costs, margins, price variance, waste estimates, yield normalization, profitability ranking, and allergen validation from supplied data. Docs: https://www.brainiac.software/api/restaurant-operations/food-cost-report Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, recipeCount, pricedRecipeCount.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| sales | array | sales, array. Optional. |
| waste | array | waste, array. Optional. |
| matrix | array | matrix, array. Optional. |
| prices | array | prices, array. Optional. |
| recipes | array |
Tool calls wrap the existing POST APIs and stay pay-per-call. initialize and tools/list are free. An unpaid tool call returns the x402 payment terms in the tool result and does not run. Retry with the payment in params._meta["x402/payment"], or send payment-signature. Payment settles only after a successful result.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
| allergens | array | allergens, array. Optional. |
| ingredients | array | ingredients, array. Optional. |
| recipeLines | array | recipeLines, array. Optional. |
{
"name": "restaurant-operations_menu-item-margin-analyze",
"title": "Analyze menu item margins",
"description": "Calculate gross margin and food-cost percentage from supplied sell prices and calculated recipe costs. Docs: https://www.brainiac.software/api/restaurant-operations/menu-item-margin-analyze Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"maxLength": 40,
"description": "date, string, length 0 to 40. Optional."
},
"units": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "units, number, from 0 to 1000000000. Optional."
},
"revenue": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "revenue, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "sales, array. Optional."
},
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"reason": {
"type": "string",
"maxLength": 160,
"description": "reason, string, length 0 to 160. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "waste, array. Optional."
},
"matrix": {
"type": "array",
"items": {
"type": "object",
"properties": {
"claimed": {
"type": "boolean",
"description": "claimed, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "matrix, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
},
"supplierId": {
"type": "string",
"maxLength": 80,
"description": "supplierId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "prices, array. Optional."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"portions": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "portions, number, from 0 to 1000000. Optional."
},
"yieldQty": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "yieldQty, number, from 0 to 1000000000. Optional."
},
"sellPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "sellPrice, number, from 0 to 1000000000. Optional."
},
"yieldUnit": {
"type": "string",
"maxLength": 40,
"description": "yieldUnit, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipes, array. Optional."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"present": {
"type": "boolean",
"description": "present, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "allergens, array. Optional."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "ingredients, array. Optional."
},
"recipeLines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipeLines, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"sellPrice": {
"type": "number",
"description": "sellPrice. Number."
},
"foodCostPct": {
"type": "number",
"description": "foodCostPct. Number."
},
"grossMargin": {
"type": "number",
"description": "grossMargin. Number."
},
"grossProfit": {
"type": "number",
"description": "grossProfit. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"costPerPortion": {
"type": "number",
"description": "costPerPortion. Number."
},
"sellPriceSupplied": {
"type": "boolean",
"description": "sellPriceSupplied. Boolean."
},
"foodCostPctSupplied": {
"type": "boolean",
"description": "foodCostPctSupplied. Boolean."
},
"grossMarginSupplied": {
"type": "boolean",
"description": "grossMarginSupplied. Boolean."
},
"grossProfitSupplied": {
"type": "boolean",
"description": "grossProfitSupplied. Boolean."
},
"costPerPortionSupplied": {
"type": "boolean",
"description": "costPerPortionSupplied. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Analyze menu item margins",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| recipes, array. Optional. |
| allergens | array | allergens, array. Optional. |
| ingredients | array | ingredients, array. Optional. |
| recipeLines | array | recipeLines, array. Optional. |
{
"name": "restaurant-operations_ingredient-price-variance",
"title": "Detect ingredient price variance",
"description": "Compare supplied supplier prices for the same ingredient after unit conversion and report spreads and dated changes. Docs: https://www.brainiac.software/api/restaurant-operations/ingredient-price-variance Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"maxLength": 40,
"description": "date, string, length 0 to 40. Optional."
},
"units": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "units, number, from 0 to 1000000000. Optional."
},
"revenue": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "revenue, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "sales, array. Optional."
},
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"reason": {
"type": "string",
"maxLength": 160,
"description": "reason, string, length 0 to 160. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "waste, array. Optional."
},
"matrix": {
"type": "array",
"items": {
"type": "object",
"properties": {
"claimed": {
"type": "boolean",
"description": "claimed, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "matrix, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
},
"supplierId": {
"type": "string",
"maxLength": 80,
"description": "supplierId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "prices, array. Optional."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"portions": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "portions, number, from 0 to 1000000. Optional."
},
"yieldQty": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "yieldQty, number, from 0 to 1000000000. Optional."
},
"sellPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "sellPrice, number, from 0 to 1000000000. Optional."
},
"yieldUnit": {
"type": "string",
"maxLength": 40,
"description": "yieldUnit, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipes, array. Optional."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"present": {
"type": "boolean",
"description": "present, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "allergens, array. Optional."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "ingredients, array. Optional."
},
"recipeLines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipeLines, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"spread": {
"type": "number",
"description": "spread. Number."
},
"maxPrice": {
"type": "number",
"description": "maxPrice. Number."
},
"minPrice": {
"type": "number",
"description": "minPrice. Number."
},
"changePct": {
"type": "number",
"description": "changePct. Number."
},
"spreadPct": {
"type": "number",
"description": "spreadPct. Number."
},
"latestAsOf": {
"type": "string",
"description": "latestAsOf. String."
},
"latestPrice": {
"type": "number",
"description": "latestPrice. Number."
},
"inconsistent": {
"type": "boolean",
"description": "inconsistent. Boolean."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"previousAsOf": {
"type": "string",
"description": "previousAsOf. String."
},
"previousPrice": {
"type": "number",
"description": "previousPrice. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"observationCount": {
"type": "number",
"description": "observationCount. Number."
},
"changePctSupplied": {
"type": "boolean",
"description": "changePctSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Detect ingredient price variance",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| allergens | array | allergens, array. Optional. |
| ingredients | array | ingredients, array. Optional. |
| recipeLines | array | recipeLines, array. Optional. |
{
"name": "restaurant-operations_food-waste-estimate",
"title": "Estimate food waste cost",
"description": "Estimate waste cost from supplied waste quantities and ingredient prices after unit conversion. Docs: https://www.brainiac.software/api/restaurant-operations/food-waste-estimate Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, totalEstimatedCost, totalEstimatedCostSupplied.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"maxLength": 40,
"description": "date, string, length 0 to 40. Optional."
},
"units": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "units, number, from 0 to 1000000000. Optional."
},
"revenue": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "revenue, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "sales, array. Optional."
},
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"reason": {
"type": "string",
"maxLength": 160,
"description": "reason, string, length 0 to 160. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "waste, array. Optional."
},
"matrix": {
"type": "array",
"items": {
"type": "object",
"properties": {
"claimed": {
"type": "boolean",
"description": "claimed, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "matrix, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
},
"supplierId": {
"type": "string",
"maxLength": 80,
"description": "supplierId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "prices, array. Optional."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"portions": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "portions, number, from 0 to 1000000. Optional."
},
"yieldQty": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "yieldQty, number, from 0 to 1000000000. Optional."
},
"sellPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "sellPrice, number, from 0 to 1000000000. Optional."
},
"yieldUnit": {
"type": "string",
"maxLength": 40,
"description": "yieldUnit, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipes, array. Optional."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"present": {
"type": "boolean",
"description": "present, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "allergens, array. Optional."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "ingredients, array. Optional."
},
"recipeLines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipeLines, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"reason": {
"type": "string",
"description": "reason. String."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"unitPrice": {
"type": "number",
"description": "unitPrice. Number."
},
"priceSource": {
"type": "string",
"description": "priceSource. String."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"estimatedCost": {
"type": "number",
"description": "estimatedCost. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"estimatedCostSupplied": {
"type": "boolean",
"description": "estimatedCostSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"totalEstimatedCost": {
"type": "number",
"description": "totalEstimatedCost. Number."
},
"totalEstimatedCostSupplied": {
"type": "boolean",
"description": "totalEstimatedCostSupplied. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Estimate food waste cost",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| recipes, array. Optional. |
| allergens | array | allergens, array. Optional. |
| ingredients | array | ingredients, array. Optional. |
| recipeLines | array | recipeLines, array. Optional. |
{
"name": "restaurant-operations_recipe-yield-normalize",
"title": "Normalize recipe yields",
"description": "Normalize recipe line quantities into ingredient units and per-portion amounts using accurate mass and volume conversions. Docs: https://www.brainiac.software/api/restaurant-operations/recipe-yield-normalize Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"maxLength": 40,
"description": "date, string, length 0 to 40. Optional."
},
"units": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "units, number, from 0 to 1000000000. Optional."
},
"revenue": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "revenue, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "sales, array. Optional."
},
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"reason": {
"type": "string",
"maxLength": 160,
"description": "reason, string, length 0 to 160. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "waste, array. Optional."
},
"matrix": {
"type": "array",
"items": {
"type": "object",
"properties": {
"claimed": {
"type": "boolean",
"description": "claimed, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "matrix, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
},
"supplierId": {
"type": "string",
"maxLength": 80,
"description": "supplierId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "prices, array. Optional."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"portions": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "portions, number, from 0 to 1000000. Optional."
},
"yieldQty": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "yieldQty, number, from 0 to 1000000000. Optional."
},
"sellPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "sellPrice, number, from 0 to 1000000000. Optional."
},
"yieldUnit": {
"type": "string",
"maxLength": 40,
"description": "yieldUnit, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipes, array. Optional."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"present": {
"type": "boolean",
"description": "present, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "allergens, array. Optional."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "ingredients, array. Optional."
},
"recipeLines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipeLines, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"converted": {
"type": "boolean",
"description": "converted. Boolean."
},
"convertible": {
"type": "boolean",
"description": "convertible. Boolean."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"normalizedUnit": {
"type": "string",
"description": "normalizedUnit. String."
},
"normalizedQuantity": {
"type": "number",
"description": "normalizedQuantity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"portions": {
"type": "number",
"description": "portions. Number."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"yieldQty": {
"type": "number",
"description": "yieldQty. Number."
},
"yieldUnit": {
"type": "string",
"description": "yieldUnit. String."
},
"perPortion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"quantityPerPortion": {
"type": "number",
"description": "quantityPerPortion. Number."
},
"quantityPerPortionSupplied": {
"type": "boolean",
"description": "quantityPerPortionSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "perPortion. Array."
},
"portionsSupplied": {
"type": "boolean",
"description": "portionsSupplied. Boolean."
},
"yieldQtySupplied": {
"type": "boolean",
"description": "yieldQtySupplied. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Normalize recipe yields",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| allergens | array | allergens, array. Optional. |
| ingredients | array | ingredients, array. Optional. |
| recipeLines | array | recipeLines, array. Optional. |
{
"name": "restaurant-operations_menu-profitability-rank",
"title": "Rank menu profitability",
"description": "Rank menu items by contribution using calculated portion profit and supplied sales units. Docs: https://www.brainiac.software/api/restaurant-operations/menu-profitability-rank Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, items, nutritionInvented.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"maxLength": 40,
"description": "date, string, length 0 to 40. Optional."
},
"units": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "units, number, from 0 to 1000000000. Optional."
},
"revenue": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "revenue, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "sales, array. Optional."
},
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"reason": {
"type": "string",
"maxLength": 160,
"description": "reason, string, length 0 to 160. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "waste, array. Optional."
},
"matrix": {
"type": "array",
"items": {
"type": "object",
"properties": {
"claimed": {
"type": "boolean",
"description": "claimed, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "matrix, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
},
"supplierId": {
"type": "string",
"maxLength": 80,
"description": "supplierId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "prices, array. Optional."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"portions": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "portions, number, from 0 to 1000000. Optional."
},
"yieldQty": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "yieldQty, number, from 0 to 1000000000. Optional."
},
"sellPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "sellPrice, number, from 0 to 1000000000. Optional."
},
"yieldUnit": {
"type": "string",
"maxLength": 40,
"description": "yieldUnit, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipes, array. Optional."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"present": {
"type": "boolean",
"description": "present, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "allergens, array. Optional."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "ingredients, array. Optional."
},
"recipeLines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipeLines, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"rank": {
"type": "number",
"description": "rank. Number."
},
"revenue": {
"type": "number",
"description": "revenue. Number."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"sellPrice": {
"type": "number",
"description": "sellPrice. Number."
},
"unitsSold": {
"type": "number",
"description": "unitsSold. Number."
},
"foodCostPct": {
"type": "number",
"description": "foodCostPct. Number."
},
"grossMargin": {
"type": "number",
"description": "grossMargin. Number."
},
"grossProfit": {
"type": "number",
"description": "grossProfit. Number."
},
"contribution": {
"type": "number",
"description": "contribution. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"costPerPortion": {
"type": "number",
"description": "costPerPortion. Number."
},
"revenueSupplied": {
"type": "boolean",
"description": "revenueSupplied. Boolean."
},
"sellPriceSupplied": {
"type": "boolean",
"description": "sellPriceSupplied. Boolean."
},
"unitsSoldSupplied": {
"type": "boolean",
"description": "unitsSoldSupplied. Boolean."
},
"foodCostPctSupplied": {
"type": "boolean",
"description": "foodCostPctSupplied. Boolean."
},
"grossMarginSupplied": {
"type": "boolean",
"description": "grossMarginSupplied. Boolean."
},
"grossProfitSupplied": {
"type": "boolean",
"description": "grossProfitSupplied. Boolean."
},
"contributionSupplied": {
"type": "boolean",
"description": "contributionSupplied. Boolean."
},
"costPerPortionSupplied": {
"type": "boolean",
"description": "costPerPortionSupplied. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Rank menu profitability",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| allergens | array | allergens, array. Optional. |
| ingredients | array | ingredients, array. Optional. |
| recipeLines | array | recipeLines, array. Optional. |
{
"name": "restaurant-operations_allergen-matrix-validate",
"title": "Validate allergen matrix",
"description": "Compare menu allergen claims with explicitly supplied ingredient allergen flags. Docs: https://www.brainiac.software/api/restaurant-operations/allergen-matrix-validate Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, mismatchCount, items.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"maxLength": 40,
"description": "date, string, length 0 to 40. Optional."
},
"units": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "units, number, from 0 to 1000000000. Optional."
},
"revenue": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "revenue, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "sales, array. Optional."
},
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"reason": {
"type": "string",
"maxLength": 160,
"description": "reason, string, length 0 to 160. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "waste, array. Optional."
},
"matrix": {
"type": "array",
"items": {
"type": "object",
"properties": {
"claimed": {
"type": "boolean",
"description": "claimed, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "matrix, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
},
"supplierId": {
"type": "string",
"maxLength": 80,
"description": "supplierId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "prices, array. Optional."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"portions": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "portions, number, from 0 to 1000000. Optional."
},
"yieldQty": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "yieldQty, number, from 0 to 1000000000. Optional."
},
"sellPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "sellPrice, number, from 0 to 1000000000. Optional."
},
"yieldUnit": {
"type": "string",
"maxLength": 40,
"description": "yieldUnit, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipes, array. Optional."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"present": {
"type": "boolean",
"description": "present, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "allergens, array. Optional."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "ingredients, array. Optional."
},
"recipeLines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipeLines, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"claimed": {
"type": "boolean",
"description": "claimed. Boolean."
},
"sources": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "sources. Array."
},
"allergen": {
"type": "string",
"description": "allergen. String."
},
"derivedPresent": {
"type": "boolean",
"description": "derivedPresent. Boolean."
},
"claimedSupplied": {
"type": "boolean",
"description": "claimedSupplied. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"derivedPresentSupplied": {
"type": "boolean",
"description": "derivedPresentSupplied. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "allergens. Array."
},
"mismatchCount": {
"type": "number",
"description": "mismatchCount. Number."
},
"ingredientCount": {
"type": "number",
"description": "ingredientCount. Number."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"mismatchCount": {
"type": "number",
"description": "mismatchCount. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Validate allergen matrix",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| recipes, array. Optional. |
| allergens | array | allergens, array. Optional. |
| ingredients | array | ingredients, array. Optional. |
| recipeLines | array | recipeLines, array. Optional. |
{
"name": "restaurant-operations_food-cost-report",
"title": "Report restaurant food cost",
"description": "Combine recipe costs, margins, price variance, waste estimates, yield normalization, profitability ranking, and allergen validation from supplied data. Docs: https://www.brainiac.software/api/restaurant-operations/food-cost-report Keywords: text, csv, file, ingredients, prices, recipes, recipeLines, sales, waste, allergens, matrix, asOf, checkedAt, recipeCount, pricedRecipeCount.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"maxLength": 40,
"description": "date, string, length 0 to 40. Optional."
},
"units": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "units, number, from 0 to 1000000000. Optional."
},
"revenue": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "revenue, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "sales, array. Optional."
},
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"reason": {
"type": "string",
"maxLength": 160,
"description": "reason, string, length 0 to 160. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "waste, array. Optional."
},
"matrix": {
"type": "array",
"items": {
"type": "object",
"properties": {
"claimed": {
"type": "boolean",
"description": "claimed, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "matrix, array. Optional."
},
"prices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
},
"supplierId": {
"type": "string",
"maxLength": 80,
"description": "supplierId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "prices, array. Optional."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"portions": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "portions, number, from 0 to 1000000. Optional."
},
"yieldQty": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "yieldQty, number, from 0 to 1000000000. Optional."
},
"sellPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "sellPrice, number, from 0 to 1000000000. Optional."
},
"yieldUnit": {
"type": "string",
"maxLength": 40,
"description": "yieldUnit, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipes, array. Optional."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"present": {
"type": "boolean",
"description": "present, boolean. Optional."
},
"allergen": {
"type": "string",
"maxLength": 80,
"description": "allergen, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "allergens, array. Optional."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"packSize": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packSize, number, from 0 to 1000000000. Optional."
},
"packPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "packPrice, number, from 0 to 1000000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "ingredients, array. Optional."
},
"recipeLines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "quantity, number, from 0 to 1000000000. Optional."
},
"recipeId": {
"type": "string",
"maxLength": 80,
"description": "recipeId, string, length 0 to 80. Optional."
},
"ingredientId": {
"type": "string",
"maxLength": 80,
"description": "ingredientId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "recipeLines, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"waste": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"reason": {
"type": "string",
"description": "reason. String."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"unitPrice": {
"type": "number",
"description": "unitPrice. Number."
},
"priceSource": {
"type": "string",
"description": "priceSource. String."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"estimatedCost": {
"type": "number",
"description": "estimatedCost. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"estimatedCostSupplied": {
"type": "boolean",
"description": "estimatedCostSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "waste. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"yields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"converted": {
"type": "boolean",
"description": "converted. Boolean."
},
"convertible": {
"type": "boolean",
"description": "convertible. Boolean."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"normalizedUnit": {
"type": "string",
"description": "normalizedUnit. String."
},
"normalizedQuantity": {
"type": "number",
"description": "normalizedQuantity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"portions": {
"type": "number",
"description": "portions. Number."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"yieldQty": {
"type": "number",
"description": "yieldQty. Number."
},
"yieldUnit": {
"type": "string",
"description": "yieldUnit. String."
},
"perPortion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"quantityPerPortion": {
"type": "number",
"description": "quantityPerPortion. Number."
},
"quantityPerPortionSupplied": {
"type": "boolean",
"description": "quantityPerPortionSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "perPortion. Array."
},
"portionsSupplied": {
"type": "boolean",
"description": "portionsSupplied. Boolean."
},
"yieldQtySupplied": {
"type": "boolean",
"description": "yieldQtySupplied. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "yields. Array."
},
"margins": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"sellPrice": {
"type": "number",
"description": "sellPrice. Number."
},
"foodCostPct": {
"type": "number",
"description": "foodCostPct. Number."
},
"grossMargin": {
"type": "number",
"description": "grossMargin. Number."
},
"grossProfit": {
"type": "number",
"description": "grossProfit. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"costPerPortion": {
"type": "number",
"description": "costPerPortion. Number."
},
"sellPriceSupplied": {
"type": "boolean",
"description": "sellPriceSupplied. Boolean."
},
"foodCostPctSupplied": {
"type": "boolean",
"description": "foodCostPctSupplied. Boolean."
},
"grossMarginSupplied": {
"type": "boolean",
"description": "grossMarginSupplied. Boolean."
},
"grossProfitSupplied": {
"type": "boolean",
"description": "grossProfitSupplied. Boolean."
},
"costPerPortionSupplied": {
"type": "boolean",
"description": "costPerPortionSupplied. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "margins. Array."
},
"ranking": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"rank": {
"type": "number",
"description": "rank. Number."
},
"revenue": {
"type": "number",
"description": "revenue. Number."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"sellPrice": {
"type": "number",
"description": "sellPrice. Number."
},
"unitsSold": {
"type": "number",
"description": "unitsSold. Number."
},
"foodCostPct": {
"type": "number",
"description": "foodCostPct. Number."
},
"grossMargin": {
"type": "number",
"description": "grossMargin. Number."
},
"grossProfit": {
"type": "number",
"description": "grossProfit. Number."
},
"contribution": {
"type": "number",
"description": "contribution. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"costPerPortion": {
"type": "number",
"description": "costPerPortion. Number."
},
"revenueSupplied": {
"type": "boolean",
"description": "revenueSupplied. Boolean."
},
"sellPriceSupplied": {
"type": "boolean",
"description": "sellPriceSupplied. Boolean."
},
"unitsSoldSupplied": {
"type": "boolean",
"description": "unitsSoldSupplied. Boolean."
},
"foodCostPctSupplied": {
"type": "boolean",
"description": "foodCostPctSupplied. Boolean."
},
"grossMarginSupplied": {
"type": "boolean",
"description": "grossMarginSupplied. Boolean."
},
"grossProfitSupplied": {
"type": "boolean",
"description": "grossProfitSupplied. Boolean."
},
"contributionSupplied": {
"type": "boolean",
"description": "contributionSupplied. Boolean."
},
"costPerPortionSupplied": {
"type": "boolean",
"description": "costPerPortionSupplied. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "ranking. Array."
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"lineCost": {
"type": "number",
"description": "lineCost. Number."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"converted": {
"type": "boolean",
"description": "converted. Boolean."
},
"unitPrice": {
"type": "number",
"description": "unitPrice. Number."
},
"priceSource": {
"type": "string",
"description": "priceSource. String."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"lineCostSupplied": {
"type": "boolean",
"description": "lineCostSupplied. Boolean."
},
"unitPriceSupplied": {
"type": "boolean",
"description": "unitPriceSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"portions": {
"type": "number",
"description": "portions. Number."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"lineCount": {
"type": "number",
"description": "lineCount. Number."
},
"sellPrice": {
"type": "number",
"description": "sellPrice. Number."
},
"totalCost": {
"type": "number",
"description": "totalCost. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"costPerPortion": {
"type": "number",
"description": "costPerPortion. Number."
},
"portionsSupplied": {
"type": "boolean",
"description": "portionsSupplied. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"sellPriceSupplied": {
"type": "boolean",
"description": "sellPriceSupplied. Boolean."
},
"totalCostSupplied": {
"type": "boolean",
"description": "totalCostSupplied. Boolean."
},
"costPerPortionSupplied": {
"type": "boolean",
"description": "costPerPortionSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "recipes. Array."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"recipeId": {
"type": "string",
"description": "recipeId. String."
},
"allergens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"claimed": {
"type": "boolean",
"description": "claimed. Boolean."
},
"sources": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "sources. Array."
},
"allergen": {
"type": "string",
"description": "allergen. String."
},
"derivedPresent": {
"type": "boolean",
"description": "derivedPresent. Boolean."
},
"claimedSupplied": {
"type": "boolean",
"description": "claimedSupplied. Boolean."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"derivedPresentSupplied": {
"type": "boolean",
"description": "derivedPresentSupplied. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "allergens. Array."
},
"mismatchCount": {
"type": "number",
"description": "mismatchCount. Number."
},
"ingredientCount": {
"type": "number",
"description": "ingredientCount. Number."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "allergens. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"wasteCost": {
"type": "number",
"description": "wasteCost. Number."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"recipeCount": {
"type": "number",
"description": "recipeCount. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"priceVariance": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"spread": {
"type": "number",
"description": "spread. Number."
},
"maxPrice": {
"type": "number",
"description": "maxPrice. Number."
},
"minPrice": {
"type": "number",
"description": "minPrice. Number."
},
"changePct": {
"type": "number",
"description": "changePct. Number."
},
"spreadPct": {
"type": "number",
"description": "spreadPct. Number."
},
"latestAsOf": {
"type": "string",
"description": "latestAsOf. String."
},
"latestPrice": {
"type": "number",
"description": "latestPrice. Number."
},
"inconsistent": {
"type": "boolean",
"description": "inconsistent. Boolean."
},
"ingredientId": {
"type": "string",
"description": "ingredientId. String."
},
"previousAsOf": {
"type": "string",
"description": "previousAsOf. String."
},
"previousPrice": {
"type": "number",
"description": "previousPrice. Number."
},
"priceInvented": {
"type": "boolean",
"description": "priceInvented. Boolean."
},
"observationCount": {
"type": "number",
"description": "observationCount. Number."
},
"changePctSupplied": {
"type": "boolean",
"description": "changePctSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "priceVariance. Array."
},
"allergenInvented": {
"type": "boolean",
"description": "allergenInvented. Boolean."
},
"nutritionInvented": {
"type": "boolean",
"description": "nutritionInvented. Boolean."
},
"pricedRecipeCount": {
"type": "number",
"description": "pricedRecipeCount. Number."
},
"wasteCostSupplied": {
"type": "boolean",
"description": "wasteCostSupplied. Boolean."
},
"allergenMismatchCount": {
"type": "number",
"description": "allergenMismatchCount. Number."
},
"foodSafetyComplianceClaimed": {
"type": "boolean",
"description": "foodSafetyComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Report restaurant food cost",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}