Where parties have decided on a structural joint venture, their agreement must take account of the regulatory framework that underlies the chosen structure. For instance, with a partnership joint venture, a partnership agreement must be drafted in the light of the default code