23505afbcca9996d…
Created Nov 14, 20265 fields1 collection using this schema
Labels
No labels yet.
Fields
| Name | Type | Info |
|---|---|---|
| criticalFlag | string | |
| inspectionId | string | → Inspection |
| occurrence | integer | |
| violationCode | string | |
| violationDescription | string |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"description": "One violation cited at one inspection. The key is the inspection id plus the violation code; a code cited more than once in one inspection gets -2, -3 ... on its later occurrences and carries an occurrence number.",
"properties": {
"criticalFlag": {
"description": "Critical, Not Critical or Not Applicable",
"type": "string"
},
"inspectionId": {
"description": "Id of the inspection",
"type": "string",
"x-ref-type": "Inspection"
},
"occurrence": {
"description": "Present only on the second and later citations of the same code in one inspection",
"minimum": 2,
"type": "integer"
},
"violationCode": {
"description": "Violation code",
"type": "string"
},
"violationDescription": {
"description": "Violation text",
"type": "string"
}
},
"required": [
"inspectionId",
"violationCode",
"violationDescription",
"criticalFlag"
],
"title": "Violation",
"type": "object"
}Used by 1 collection
system-community/nyc-restaurant-inspections-2026-11as
Violation · 1 versionFull hash:23505afbcca9996d20cb8e3302330be4c82aa8ce1a118b26bf34269b36e9a4b5
ID:23505afbcca9996d20cb8e3302330be4c82aa8ce1a118b26bf34269b36e9a4b5