Data Models
Data Models define what information the system knows: entities, attributes, relationships, constraints, and lifecycle rules. Technology-agnostic.
The physical database schema is the implementation of these requirements and lives in your codebase as migrations or DDL.
UID prefix: DATA- Traces up to: Features (FEAT-) Implemented by: Database migrations and ORM models
The system shall maintain [Entity Name] records with:
Attributes: - [attribute]: [type] [constraints]
Relationships: - [belongs to / has many] [Other Entity]
Constraints: - [uniqueness, validation rules]
Lifecycle: - Created when: [event] - Deleted when: [event or retention policy]
Volume estimate: [expected record count] Sensitive data: [yes/no]