Building codes definition:
NIST's definition: "Building codes are laws that set minimum requirements for how structural systems, plumbing, heating, ventilation and air conditioning (HVAC), natural gas systems and other aspects of residential and commercial buildings should be designed and constructed."