New York Laws
Article 8 - Requirements and Remedies
305 - Violation of Local Laws and Regulations.

ยง 305. Violation of local laws and regulations. Any owner, architect,
builder, contractor, sub-contractor, construction superintendent or
their agents who shall, in the construction or alteration of any
building or structure intended to be occupied as a multiple dwelling,
knowingly violate any of the provisions of local laws, ordinances, rules
or regulations shall be guilty of a misdemeanor.