4 typesin v1.0.0
Inspection
| Field | Type | Annotations |
|---|---|---|
| action | string | |
| grade | string | |
| gradeDate | string | |
| inspectionDate | string | |
| inspectionType | string | |
| restaurantId | string | → Restaurant |
| score | integer |
RemovedRestaurant
| Field | Type | Annotations |
|---|---|---|
| absentFrom | object | |
| archiveCopy | object | |
| boro | string | |
| building | string | |
| cuisineDescription | string | |
| evidence | string | |
| lastInspection | object | |
| name | string | |
| shownBy | array | |
| snapshotRecordHash | string | |
| snapshotVersion | string | |
| source | string | |
| street | string | |
| zipcode | string |
Restaurant
| Field | Type | Annotations |
|---|---|---|
| bbl | string | |
| bin | string | |
| boro | string | |
| building | string | |
| communityBoard | string | |
| cuisineDescription | string | |
| inspected | boolean | |
| latitude | number | |
| longitude | number | |
| name | string | |
| nta | string | |
| phone | string | |
| street | string | |
| zipcode | string |
Violation
| Field | Type | Annotations |
|---|---|---|
| criticalFlag | string | |
| inspectionId | string | → Inspection |
| occurrence | integer | |
| violationCode | string | |
| violationDescription | string |