Declare containment
Given
Project { name:text }
Todo in Project { title:text trim, done:bool=false }
This fragment demonstrates a team-scoped Project and its contained tasks. Omitted model ownership means team; in Project creates an immutable implicit parent:Project relation. Use Model in app for app-scoped data. The fragment needs its policies and operations before it is a usable app. A reference field does not grant permission to read the referenced row. New references cannot target archived records; existing references can remain for authorized history. Unique constraints are checked at the storage owner and include retained rows until actual disposal.
Keep records that must change atomically under one owner. For durable owner coordination, see transactions and concurrency. Field omission, null, and validation rules belong to defaults and validation; history and disposal are in history and retention.