493bfdcd97796ac9…

Created Oct 5, 20267 fields1 collection using this schema

Labels

No labels yet.

Fields

NameTypeInfo
actionstring
gradestring
gradeDatestring
inspectionDatestring
inspectionTypestring
restaurantIdstring
→ Restaurant
scoreinteger

JSON Schema

{
  "description": "A health inspection conducted at a restaurant.",
  "properties": {
    "action": {
      "description": "Action taken as a result of the inspection",
      "type": "string"
    },
    "grade": {
      "description": "Letter grade (A, B, C, Z, P, or Not Yet Graded)",
      "type": "string"
    },
    "gradeDate": {
      "description": "Date the grade was issued (YYYY-MM-DD)",
      "type": "string"
    },
    "inspectionDate": {
      "description": "Date of the inspection (YYYY-MM-DD)",
      "type": "string"
    },
    "inspectionType": {
      "description": "Type of inspection (e.g. \"Cycle Inspection / Initial Inspection\")",
      "type": "string"
    },
    "restaurantId": {
      "description": "Reference to the restaurant that was inspected",
      "type": "string",
      "x-ref-type": "Restaurant"
    },
    "score": {
      "description": "Numeric inspection score (lower is better)",
      "type": "integer"
    }
  },
  "required": [
    "restaurantId",
    "inspectionDate"
  ],
  "title": "Inspection",
  "type": "object"
}

Used by 1 collection

nyc/restaurant-inspectionsas Inspection · 1 version

Full hash:493bfdcd97796ac966539aea12f1156903aa63182b03c4702bb9ebc4d4c00402

ID:493bfdcd97796ac966539aea12f1156903aa63182b03c4702bb9ebc4d4c00402