---
url: /topics/start-building/data-model.md
---
# Overview of Key Entities and Their Relationships

This diagram provides an overview of how the main entities are connected within the system.
You can refer to the glossary for detailed definitions and explanations of each entity.

```mermaid
graph TD
  Broker[Broker]
  Subscriber[Subscriber]
  Policy[Policy]
  Compartment[Compartment]
  Payer[Payer]

  Broker -->|manages 0 to many subscribers| Subscriber
  Subscriber -->|holds 1 to many policies| Policy
  Policy -->|contains 1 to many compartments| Compartment
  Subscriber -->|has 1 to many payers| Payer

  classDef partner fill:#E3F2FD,stroke:#1E88E5,stroke-width:2px,color:#0D47A1;
  classDef customer fill:#E8F5E9,stroke:#43A047,stroke-width:2px,color:#1B5E20;
  classDef contract fill:#FFF3E0,stroke:#FB8C00,stroke-width:2px,color:#E65100;
  classDef structure fill:#F3E5F5,stroke:#8E24AA,stroke-width:2px,color:#4A148C;
  classDef finance fill:#E0F2F1,stroke:#00897B,stroke-width:2px,color:#004D40;

  class Broker partner;
  class Subscriber customer;
  class Policy contract;
  class Compartment structure;
  class Payer finance;
```
