<?xml version='1.0' encoding='utf-8'?>
<database id="770" version="2.0.0"><table name="establishments" records="31462"><field name="camis" type="text" records="31462" comment="NYC DOHMH establishment permit identifier, stored as text. It is not a company identifier." /><field name="establishment_name" type="text" records="31461" comment="Published doing-business-as name; one source permit has no supplied name." /><field name="borough" type="text" records="31369" comment="Source borough; the source value 0 is represented as null." /><field name="address_line_1" type="text" records="31462" comment="Published building number and street; not independently delivery-verified." /><field name="state_code" type="text" records="31462" comment="NY." /><field name="postal_code" type="text" records="30969" comment="Source five-digit ZIP code as text." /><field name="country_code" type="text" records="31462" comment="US." /><field name="phone" type="text" records="31350" comment="Published ten-digit telephone number; unverified and not consent for outreach." /><field name="cuisine_description" type="text" records="27595" comment="Optional source cuisine classification." /><field name="latitude" type="real" records="30660" comment="Published WGS84 latitude; absent or grossly unsupported NYC points are withheld." /><field name="longitude" type="real" records="30660" comment="Published WGS84 longitude; not a verified public entrance." /><field name="inspection_status" type="text" records="31462" comment="Inspected or not_yet_inspected at the captured source cutoff. Source-active is not proof of current operation." /><field name="latest_inspection_date" type="text" records="27597" comment="Latest valid source inspection date across all inspection programs; 1900 placeholders are excluded." /><field name="latest_inspection_type" type="text" records="25432" comment="Inspection type on the latest date when all observations agree; otherwise null." /><field name="latest_inspection_action" type="text" records="27487" comment="Action on the latest date when all observations agree; otherwise null. It is not a real-time status." /><field name="latest_inspection_score" type="integer" records="27070" comment="Source score on the latest inspection date when available observations agree; otherwise null. No grade is inferred from score." /><field name="latest_observation_count" type="integer" records="31462" comment="Number of distinct source inspection contexts on the latest inspection date." /><field name="reported_grade" type="text" records="25420" comment="Source grade for the most recent eligible grade-bearing inspection using DOHMH documented selection rules. Not a guarantee of a posted or current grade." /><field name="reported_grade_date" type="text" records="25420" comment="Source grade issuance date for the selected grade when observations agree." /><field name="reported_grade_inspection_date" type="text" records="25420" comment="Inspection date supporting the selected reported grade." /><field name="reported_grade_inspection_type" type="text" records="25420" comment="Inspection type supporting the selected reported grade when observations agree." /><field name="record_date" type="text" records="31462" comment="NYC source record date for the captured snapshot, not a verification of each business fact." /></table><table name="inspections" records="93248"><field name="inspection_id" type="text" records="93248" comment="Stable key for CAMIS, inspection date, type, action, score and grade context. Multiple contexts can describe one physical visit." /><field name="camis" type="text" records="93248" comment="NYC DOHMH establishment permit identifier, stored as text. It is not a company identifier." /><field name="inspection_date" type="text" records="93248" comment="Source inspection date, ISO formatted. No 1900 never-inspected placeholders." /><field name="inspection_type" type="text" records="93248" comment="Published inspection program and inspection type." /><field name="action" type="text" records="93248" comment="Published inspection action; closure or reopening belongs to that historical observation." /><field name="score" type="integer" records="82823" comment="Source inspection score. Adjudication can change it; missing remains null." /><field name="grade" type="text" records="55191" comment="Grade attached to this source observation, including non-letter pending/not-yet-graded values." /><field name="grade_date" type="text" records="53017" comment="Date the source says the grade was issued." /><field name="record_date" type="text" records="93248" comment="NYC source record date for the captured snapshot, not a verification of each business fact." /><field name="violation_count" type="integer" records="93248" comment="Distinct retained citation records attached to this inspection context; not a scoring calculation." /></table><table name="violations" records="289225"><field name="violation_id" type="text" records="289225" comment="Stable key for a distinct inspection context, violation code, description and critical flag." /><field name="inspection_id" type="text" records="289225" comment="Stable key for CAMIS, inspection date, type, action, score and grade context. Multiple contexts can describe one physical visit." /><field name="camis" type="text" records="289225" comment="NYC DOHMH establishment permit identifier, stored as text. It is not a company identifier." /><field name="violation_code" type="text" records="289225" comment="Source violation code; nullable when only a description is supplied." /><field name="violation_description" type="text" records="289225" comment="Published violation text; not a new allegation or current safety finding." /><field name="critical_flag" type="text" records="289225" comment="Source Critical, Not Critical or Not Applicable designation." /></table><table name="administrative_geography" records="31462"><field name="geography_id" type="text" records="31462" comment="Stable key for one CAMIS administrative-geography record." /><field name="camis" type="text" records="31462" comment="NYC DOHMH establishment permit identifier, stored as text. It is not a company identifier." /><field name="community_board" type="text" records="30660" comment="Source community-board code as text." /><field name="council_district" type="text" records="30659" comment="Source council-district code as text." /><field name="census_tract" type="text" records="30659" comment="Source census-tract code as text, preserving leading zeros and source vintage." /><field name="building_identification_number" type="text" records="30494" comment="Source BIN code as text; no independent registry verification." /><field name="borough_block_lot" type="text" records="31105" comment="Source BBL parcel code as text." /><field name="neighborhood_tabulation_area" type="text" records="30660" comment="Source NTA code; source vintage is not independently updated." /><field name="record_date" type="text" records="31462" comment="NYC source record date for the captured snapshot, not a verification of each business fact." /></table><table name="historical_facts" records="34543"><field name="historical_fact_id" type="text" records="34543" comment="Stable key for a confidently matched Oddity-owned historical supplemental fact." /><field name="camis" type="text" records="34543" comment="NYC DOHMH establishment permit identifier, stored as text. It is not a company identifier." /><field name="field_name" type="text" records="34543" comment="Historical supplemental field name." /><field name="fact_value" type="text" records="34543" comment="Historical Oddity-owned value; not presented as current." /><field name="verification_status" type="text" records="34543" comment="Historical_unverified for matched legacy enrichment." /><field name="as_of_date" type="text" records="5482" comment="Known historical source vintage, or null when unestablished." /><field name="historical_version" type="text" records="34543" comment="Retained Oddity legacy source version." /></table></database>