Skip to content

ADR-005 — Hybrid Domain Data Model

Status: ACCEPTED / FROZEN — Foundation v1.0

Decision

Use strongly modeled persistent structures for identity, tenant boundaries, customers, bookings, reservations, orders, payments, inventory, resources and other transaction-critical concepts.

Use versioned schema-controlled structured attributes for vertical-specific offering/resource data and tenant custom fields.

The decision freezes the modeling approach, not a specific database product, ORM or JSON implementation.

Rejected extremes

  • one hardcoded table/class hierarchy per future industry;
  • arbitrary unvalidated JSON for all business state;
  • tenant-authored executable schema/business logic.