The New York City Housing Maintenance Code covers the responsibilities of owners, tenants, and the City for maintaining health, safety, repair, and maintenance in dwellings.
The New York City Fire Code regulates fire safety in the operation and maintenance of all buildings, and establishes design requirements for a wide range of building installations. The Fire Code is a companion Code to the New York City Construction Codes and Zoning Resolution, with extensive cross-references to the Building, Mechanical and Electrical Codes.
The New York State Multiple Dwelling Law is state law governing design and construction standards for multiple dwellings in the state of New York, including New York City. It covers everything from the placement of fire exists to prohibitions against such arcana as having a commercial fat-boiling facility in your apartment.