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 |
|---|---|---|---|---|
| page | main | global | Released | kind, author, section, published_on, featured |
texts | language | Released, second person | headline, summary, body, reading_minutes | |
media | language | Released | cover, attachments | |
stats | global | Overlay | views | |
| section | main | global | Released | parent, position |
texts | language | Released | title, path | |
| author | main | global | Released | name, bio, email |
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.