There are marine codes that regulate docks and boats. They are NFPA 303 (Fire Protection Standard for Marinas and Boatyards), NFPA 70, and National Electric Code 555 (NEC). Boatus.com also notes “boats not wired in accordance with standards set forth by the American Boat & Yacht Council (ABYC) can be a source of AC leakage.”