addedInput schema / properties / school_slug
Added value: +{
+ "description": "School slug (from get_my_context), a school the user belongs to; defaults to the active school",
+ "type": "string"
+}
addedOutput schema / properties / calendar
Added value: +{
+ "additionalProperties": {
+ "properties": {
+ "items": {
+ "items": {
+ "properties": {
+ "availableQty": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Menu item ID",
+ "type": "string"
+ },
+ "itemType": {
+ "type": "string"
+ },
+ "name": {
+ "description": "Item display name",
+ "type": "string"
+ },
+ "orderDeadlineUtc": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "orderable": {
+ "type": "boolean"
+ },
+ "orderableReason": {
+ "description": "Why the item is not orderable, when orderable is false",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "priceCents": {
+ "type": "integer"
+ },
+ "restaurantName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "restaurantId": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "description": "Month queries only: orderable items grouped by date (YYYY-MM-DD). Choice groups are not included here - query a date for them",
+ "type": "object"
+}
addedOutput schema / properties / closedDays
Added value: +{
+ "description": "Month queries only: map of YYYY-MM-DD to the reason the school is closed",
+ "type": "object"
+}
removedOutput schema / properties / date
Removed value: -{
- "description": "Date this menu applies to, YYYY-MM-DD",
- "type": "string"
-}
addedOutput schema / properties / items
Added value: +{
+ "description": "Items orderable on the requested date (date queries and the default today)",
+ "items": {
+ "properties": {
+ "availableQty": {
+ "description": "Remaining portions; null means unlimited",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "calories": {
+ "description": "Calorie count",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "choiceGroups": {
+ "description": "Option groups the item asks for (toppings, sizes, ...). Order picks go in selected_choices on the draft tools; every required group needs a pick",
+ "items": {
+ "properties": {
+ "id": {
+ "description": "Choice group ID - send as group_id in selected_choices",
+ "type": "string"
+ },
+ "multiple": {
+ "description": "True when the group accepts several picks",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Group display name (e.g. Toppings)",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "properties": {
+ "id": {
+ "description": "Option ID - send as option_id in selected_choices",
+ "type": "string"
+ },
+ "name": {
+ "description": "Option display name",
+ "type": "string"
+ },
+ "priceAdjustmentCents": {
+ "description": "Price change per pick, in cents; may be negative",
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "required": {
+ "description": "True when the item cannot be ordered without a pick from this group",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "combo": {
+ "description": "Combo composition when isCombo is true",
+ "properties": {
+ "comboPriceCents": {
+ "type": "integer"
+ },
+ "mainItemId": {
+ "type": "string"
+ },
+ "sideItemIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "dailySortOrder": {
+ "type": "integer"
+ },
+ "description": {
+ "description": "Item description",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dietaryTags": {
+ "description": "Dietary labels (e.g. vegetarian, halal)",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "id": {
+ "description": "Daily-menu entry ID",
+ "type": "string"
+ },
+ "imageUrl": {
+ "description": "Item image URL",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "isCombo": {
+ "description": "True when the item is a fixed combo",
+ "type": "boolean"
+ },
+ "isItemAvailable": {
+ "description": "Whether the item is orderable",
+ "type": "boolean"
+ },
+ "itemType": {
+ "description": "Item kind (meal, drink, treat)",
+ "type": "string"
+ },
+ "menuItemId": {
+ "description": "Menu item ID - pass as menu_item_id to the draft tools",
+ "type": "string"
+ },
+ "name": {
+ "description": "Item display name",
+ "type": "string"
+ },
+ "notes": {
+ "description": "Kitchen notes for the item",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "orderDeadlineUtc": {
+ "description": "Order deadline, ISO timestamp",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "priceCents": {
+ "description": "Menu price in cents before choice adjustments",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "restaurantName": {
+ "description": "Restaurant offering the item",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sortOrder": {
+ "type": "integer"
+ },
+ "toppings": {
+ "description": "Topping picks: plain names (legacy rows and CSV imports) or {name, costCents} objects",
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "properties": {
+ "costCents": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}
removedOutput schema / properties / menuItems
Removed value: -{
- "description": "Items orderable on that date",
- "items": {
- "properties": {
- "availableQty": {
- "description": "Remaining portions; null means unlimited",
- "type": [
- "integer",
- "null"
- ]
- },
- "dailyMenuId": {
- "description": "Daily-menu entry ID",
- "type": "string"
- },
- "dietaryTags": {
- "description": "Dietary labels (e.g. vegetarian, halal)",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "menuItemId": {
- "description": "Menu item ID for ordering tools",
- "type": "string"
- },
- "menuItemName": {
- "description": "Item display name",
- "type": "string"
- },
- "priceCents": {
- "description": "Sale price in cents",
- "type": "integer"
- },
- "restaurantName": {
- "description": "Restaurant offering the item",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
-}
addedOutput schema / properties / orderingWindow
Added value: +{
+ "description": "Ordering lead-time window for the school",
+ "properties": {
+ "maxDate": {
+ "description": "Latest orderable date, YYYY-MM-DD",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "minDate": {
+ "description": "Earliest orderable date, YYYY-MM-DD",
+ "type": "string"
+ },
+ "minLeadDays": {
+ "type": "integer"
+ },
+ "orderingPaused": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+}