addedInput schema / additionalProperties
Added value: +false
changedInput schema / properties / date / description
Previous value: -"Calendar date in YYYY-MM-DD. The site publishes menus for today-3 days to today+14 days."New value: +"A single day to filter. Cannot be combined with from/to."
addedInput schema / properties / exclude_allergens / description
Added value: +"Keeps only the dishes that carry none of these allergens."
addedInput schema / properties / from
Added value: +{
+ "description": "The first day of a range to filter.",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+}
addedInput schema / properties / hall / anyOf
Added value: +[
+ {
+ "enum": [
+ "bursley",
+ "east-quad",
+ "markley",
+ "mosher-jordan",
+ "north-quad",
+ "south-quad",
+ "twigs-at-oxford",
+ "wolverine-village",
+ "lawyers-club",
+ "martha-cook"
+ ],
+ "type": "string"
+ },
+ {
+ "items": {
+ "enum": [
+ "bursley",
+ "east-quad",
+ "markley",
+ "mosher-jordan",
+ "north-quad",
+ "south-quad",
+ "twigs-at-oxford",
+ "wolverine-village",
+ "lawyers-club",
+ "martha-cook"
+ ],
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ }
+]
addedInput schema / properties / hall / description
Added value: +"Halls: one, a list, or none for all."
removedInput schema / properties / hall / enum
Removed value: -[
- "bursley",
- "east-quad",
- "markley",
- "mosher-jordan",
- "north-quad",
- "south-quad",
- "twigs-at-oxford",
- "wolverine-village",
- "lawyers-club",
- "martha-cook"
-]
removedInput schema / properties / hall / type
Removed value: -"string"
addedInput schema / properties / include_nutrients
Added value: +{
+ "description": "Nutrients to return, by key/name, or [\"all\"].",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / limit / description
Added value: +"Rows to return (default 50, max 500)."
removedInput schema / properties / max_calories
Removed value: -{
- "minimum": 0,
- "type": "number"
-}
addedInput schema / properties / max_carbon / description
Added value: +"The highest acceptable carbon footprint: 1 (low), 2 (medium) or 3 (high). The dishes the site did not tag are dropped."
removedInput schema / properties / max_carbon / enum
Removed value: -[
- "low",
- "medium",
- "high"
-]
addedInput schema / properties / max_carbon / maximum
Added value: +3
addedInput schema / properties / max_carbon / minimum
Added value: +1
changedInput schema / properties / max_carbon / type
Previous value: -"string"New value: +"integer"
removedInput schema / properties / max_sodium_mg
Removed value: -{
- "minimum": 0,
- "type": "number"
-}
addedInput schema / properties / meal
Added value: +{
+ "description": "Keeps only that meal.",
+ "enum": [
+ "Breakfast",
+ "Brunch",
+ "Lunch",
+ "Dinner"
+ ],
+ "type": "string"
+}
addedInput schema / properties / min_mhealthy / description
Added value: +"The lowest acceptable nutrient-density tier. The dishes the site did not tag are dropped."
addedInput schema / properties / nutrients
Added value: +{
+ "additionalProperties": {
+ "properties": {
+ "max": {
+ "description": "The highest acceptable value, in the unit below.",
+ "type": "number"
+ },
+ "min": {
+ "description": "The lowest acceptable value, in the unit below.",
+ "type": "number"
+ },
+ "unit": {
+ "description": "The unit of the bounds. It defaults to the nutrient's own; a micronutrient defaults to the published percent.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "description": "Range per nutrient, e.g. {\"protein\":{\"min\":20,\"unit\":\"g\"}}. A constraint drops dishes with no value.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+}
addedInput schema / properties / offset
Added value: +{
+ "description": "Pages of the range to skip.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+}
addedInput schema / properties / query
Added value: +{
+ "description": "A case-insensitive substring of the dish name.",
+ "type": "string"
+}
addedInput schema / properties / require_traits / description
Added value: +"Keeps only the dishes that carry every one of these traits."
addedInput schema / properties / sort_by
Added value: +{
+ "description": "Sort field: a nutrient key, carbonFootprint, a micronutrient name, servingSize, mhealthyTier, or a ratio \"numerator:denominator\" (e.g. \"protein:calories\", \"vitaminA:iron\"). Legacy: proteinToCalorie, fiberToCalorie.",
+ "type": "string"
+}
addedInput schema / properties / sort_order
Added value: +{
+ "description": "The direction of the sort. It defaults to desc, so the biggest value comes first.",
+ "enum": [
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+}
addedInput schema / properties / station
Added value: +{
+ "description": "Keeps only that station.",
+ "type": "string"
+}
addedInput schema / properties / to
Added value: +{
+ "description": "The last day of a range to filter. Defaults to the last published day.",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+}
addedOutput schema / properties / asOf
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / coverage
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "cached": {
+ "type": "number"
+ },
+ "failed": {
+ "type": "number"
+ },
+ "fetchedNow": {
+ "type": "number"
+ },
+ "nextOffset": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "offset": {
+ "type": "number"
+ },
+ "pages": {
+ "type": "number"
+ },
+ "pending": {
+ "type": "number"
+ },
+ "requested": {
+ "type": "number"
+ },
+ "stale": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "requested",
+ "cached",
+ "fetchedNow",
+ "pending",
+ "failed",
+ "stale",
+ "offset",
+ "pages",
+ "nextOffset"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / dateRange
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / filter
Added value: +{
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+}
addedOutput schema / properties / flags
Added value: +{
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+}
addedOutput schema / properties / key
Added value: +{
+ "additionalProperties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+}
removedOutput schema / properties / matches / items / additionalProperties
Removed value: -false
addedOutput schema / properties / matches / items / items
Added value: +{
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ },
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ ]
+}
removedOutput schema / properties / matches / items / properties
Removed value: -{
- "allergens": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "calories": {
- "type": [
- "number",
- "null"
- ]
- },
- "carbonFootprint": {
- "anyOf": [
- {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "date": {
- "type": "string"
- },
- "hall": {
- "enum": [
- "bursley",
- "east-quad",
- "markley",
- "mosher-jordan",
- "north-quad",
- "south-quad",
- "twigs-at-oxford",
- "wolverine-village",
- "lawyers-club",
- "martha-cook"
- ],
- "type": "string"
- },
- "hallName": {
- "type": "string"
- },
- "meal": {
- "enum": [
- "Breakfast",
- "Lunch",
- "Dinner"
- ],
- "type": "string"
- },
- "mhealthyTier": {
- "type": [
- "number",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "sodiumMg": {
- "type": [
- "number",
- "null"
- ]
- },
- "station": {
- "type": "string"
- },
- "traitLabels": {
- "additionalProperties": {
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "traits": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
-}
removedOutput schema / properties / matches / items / required
Removed value: -[
- "hall",
- "hallName",
- "date",
- "meal",
- "station",
- "name",
- "traits",
- "traitLabels",
- "allergens",
- "mhealthyTier",
- "carbonFootprint",
- "calories",
- "sodiumMg"
-]
changedOutput schema / properties / matches / items / type
Previous value: -"object"New value: +"array"
addedOutput schema / properties / noMenu
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "type": "string"
+ },
+ "hall": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "hall",
+ "date"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / note
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / nutrients
Added value: +{
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedOutput schema / properties / stale
Added value: +{
+ "type": "boolean"
+}
addedOutput schema / properties / truncated
Added value: +{
+ "type": "boolean"
+}
addedOutput schema / properties / units
Added value: +{
+ "additionalProperties": {
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+}
removedOutput schema / properties / warning
Removed value: -{
- "type": "string"
-}
changedOutput schema / required
Previous value: -[
- "date",
- "totalMatches",
- "matches",
- "failures",
- "warning"
-]New value: +[
+ "key",
+ "totalMatches",
+ "truncated",
+ "stale",
+ "matches",
+ "failures"
+]