Did it ever occur to you to ask this question of a lawyer? If all you are looking for is ideas then Google is your friend. Try sample partnership and joint venture agreements.