A Treaty is an distinction made among peers about how to collaborate in a certain way. There's a wonderful collection of real historical Iroquois treaties collected by Benjamin Franklin at https://archive.org/details/indiantreatiespr00vand .
These were all derived through the Iroquois "Great Law of Peace" - http://www.manataka.org/page135.html . Unfortunately Iroquois laws have some glaring inconsistencies from the standpoint of a modern TheoryOfJustice. Privileging the 5 Iroquois tribes caused inequities that eventually ended the IroquoisConfederacy. Also there are rules of "Peace" that don't conform with our modern notions, such as, "If refusal steadfastly follows, the War Chief shall let the bunch of white lake shells drop from his outstretched hand to the ground, and shall bound quickly forward and club the offending chief to death".
The Iroquois treaties all seem to boil down to the familiar form of a BehaviorDrivenDevelopment scenario. In Gherkin language: Given <preconditions> When <events> Then <Responses>. To bring this inline with Rawls we add these constraints: