A code of conduct is a document which sets out expectations for members of a community, with regard to how they will behave toward each other.