Cornell University · JSON Structure

Cornell Eatery Structure

A Cornell dining location from the Cornell Dining (CODI) API.

Type: object Properties: 17 Required: 2
EducationHigher EducationUniversityOpen DataCourse CatalogLibraryResearchUnited States

CornellEatery is a JSON Structure definition published by Cornell University, describing 17 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id slug name nameshort about cornellDining onlineOrdering onlineOrderUrl contactPhone contactEmail latitude longitude location operatingHours eateryTypes diningCuisines payMethods

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cornell/main/json-structure/cornell-eatery-structure.json",
  "name": "CornellEatery",
  "type": "object",
  "description": "A Cornell dining location from the Cornell Dining (CODI) API.",
  "properties": {
    "id": { "type": "int32" },
    "slug": { "type": "string" },
    "name": { "type": "string" },
    "nameshort": { "type": "string" },
    "about": { "type": "string" },
    "cornellDining": { "type": "boolean" },
    "onlineOrdering": { "type": "boolean" },
    "onlineOrderUrl": { "type": "string" },
    "contactPhone": { "type": "string" },
    "contactEmail": { "type": "string" },
    "latitude": { "type": "double" },
    "longitude": { "type": "double" },
    "location": { "type": "string" },
    "operatingHours": { "type": "array", "items": { "type": "object", "properties": {} } },
    "eateryTypes": { "type": "array", "items": { "type": "object", "properties": {} } },
    "diningCuisines": { "type": "array", "items": { "type": "object", "properties": {} } },
    "payMethods": { "type": "array", "items": { "type": "object", "properties": {} } }
  },
  "required": ["id", "name"]
}