The New Zealand Port and Harbour Marine Safety Code is a voluntary national standard designed to ensure the safe management of marine activities in ports and harbours. The Code relies on a collaborative structure between Maritime New Zealand, Harbourmasters, and Port Operators, and provides a standard against which Ports of Auckland can measure itself, and be measured by others.