What are the legal requirements for a joint venture