The NUJ's Code of Conduct has set out the main principles of British and Irish journalism since 1936. The code is part of the union rules and all journalists joining the union must sign up to it.