Legal code (municipal)

Building Code Violation: No firestop in the cable tray penetration above the fire door in the fire-resistance rated concrete wall.
Building Code Violation: Flammable ABS plastic pipes in a supposedly noncombustible pulp and paper mill in Sault Ste. Marie, Ontario.
Fire Code Violation: Delaminated Spray Fireproofing at Cambrian College in Sudbury, Ontario.

A legal code is a body of law written by a local, non-sovereign government authority, such as a municipality. Whether authored or merely adopted by a municipality, it is typically, though not exclusively, enforced by the municipality, as the Authority Having Jurisdiction. A municipal code is usually a type of statutory instrument or delegated legislation.

A municipal legal code is similar in concept, though different in nature, to "codes" enacted by sovereign government authorities, such as a national government or a federal state or province within a federation.