building code
a regulation that establishes minimum standards for construction, electrical, and plumbing work
building permit
a permit that is usually issued by the local government in accordance with the building code allowing construction of a project to proceed
certificate of occupancy
a document issued by the local government at the end of a project certifying that the building has been completed according to approved plans (building permit) and is ready for occupancy