Each entity, split by who changes it.
A layer is a group of fields that change together: it is the unit of a permission, of an approval and of a release. Its scope is the lowest level at which a value may differ.
| Entity | Layer | Scope | Kind | Fields |
|---|---|---|---|---|
| contract | main | global | Released | title, kind, counterparty, owner |
terms | global | Released | value, currency, payment_days, liability_cap, governing_law | |
documents | global | Released | draft, signed_copy | |
signed | global | Stated once | signed_on, signatories | |
validity | global | Dated | state, notice_days | |
| clause | main | global | Released | template, text, deviates |
| clause template | main | global | Released | title, topic |
texts | jurisdiction | Released | text, fallback | |
| counterparty | main | global | Released | name, vat_number, country |
The entities and their layers
A released layer publishes and rolls back. A dated one holds values by period, one stated once never changes, balances add up, and an overlay is written live by another system.