N.Y. Comp. Codes R. & Regs. tit. 1, § 245.2
(e) There shall be an efficient drainage and plumbing system for the establishment and premises. All drains and gutters shall be properly installed with approved traps and vents in accordance with any State or local construction or sanitary code, and shall be connected to a sanitary sewer or acceptable disposal system. The discharge of water and waste must conform to all State or local requirements.
(f)