Cornell University · Schema

Cornell Eatery

A Cornell dining location as returned by the Cornell Dining (CODI) API eateries endpoint.

EducationHigher EducationUniversityOpen DataCourse CatalogLibraryResearchUnited States

Properties

Name Type Description
id integer
slug string
name string
nameshort string
about string
aboutshort string
nutrition string
cornellDining boolean
opHoursCalc string
opHoursCalcDesc string
opHoursDesc string
googleCalendarId string
onlineOrdering boolean
onlineOrderUrl string
contactPhone string
contactEmail string
serviceUnitId integer
campusArea object
latitude number
longitude number
location string
coordinates object
operatingHours array
eateryTypes array
diningCuisines array
payMethods array
diningItems array
View JSON Schema on GitHub

JSON Schema

cornell-eatery-schema.json Raw ↑
{
  "$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"]
}