Which type of project document outlines conditions of a contract and defines the roles of the owner, architect and contractor?

Which type of project document outlines conditions of a contract and defines the roles of the owner, architect and contractor?