{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cornell/main/json-schema/cornell-eatery-schema.json", "title": "Cornell Eatery", "description": "A Cornell dining location as returned by the Cornell Dining (CODI) API eateries endpoint.", "type": "object", "properties": { "id": { "type": "integer" }, "slug": { "type": "string" }, "name": { "type": "string" }, "nameshort": { "type": "string" }, "about": { "type": "string" }, "aboutshort": { "type": "string" }, "nutrition": { "type": "string" }, "cornellDining": { "type": "boolean" }, "opHoursCalc": { "type": "string" }, "opHoursCalcDesc": { "type": "string" }, "opHoursDesc": { "type": "string" }, "googleCalendarId": { "type": "string" }, "onlineOrdering": { "type": "boolean" }, "onlineOrderUrl": { "type": "string" }, "contactPhone": { "type": "string" }, "contactEmail": { "type": "string" }, "serviceUnitId": { "type": "integer" }, "campusArea": { "type": "object" }, "latitude": { "type": "number" }, "longitude": { "type": "number" }, "location": { "type": "string" }, "coordinates": { "type": "object" }, "operatingHours": { "type": "array", "items": { "type": "object" } }, "eateryTypes": { "type": "array", "items": { "type": "object" } }, "diningCuisines": { "type": "array", "items": { "type": "object" } }, "payMethods": { "type": "array", "items": { "type": "object" } }, "diningItems": { "type": "array", "items": { "type": "object" } } }, "required": ["id", "name"] }