The latest shaker in NZ has reminded me ...

I've often heard that the 'seismic code requires ..." but I've never seen a copy of any 'seismic code.'

Just what, exactly, is the 'seismic code,' and where do I find a copy?