flowchart TB
District["District — the Tenant
hard isolation boundary"]:::l1
School["School"]:::l2
Course["Course"]:::l3
Section["Section
a class period / cohort"]:::l4
Enrollment{"Enrollment
Student ↔ Section"}:::rel
Student["Student
pseudonymous"]:::l5
District -->|HAS_SCHOOL| School
School -->|OFFERS| Course
Course -->|HAS_SECTION| Section
Section -->|ENROLLED_IN| Enrollment
Enrollment -->|ENROLLED_IN| Student
classDef l1 fill:#0f5c53,stroke:#0a3f39,color:#fff,font-size:15px
classDef l2 fill:#1a7f72,stroke:#12695f,color:#fff,font-size:15px
classDef l3 fill:#2a9d8f,stroke:#1f7a6f,color:#fff,font-size:15px
classDef l4 fill:#5cbcb0,stroke:#3bab9d,color:#08312c,font-size:15px
classDef l5 fill:#a7ddd5,stroke:#5cbcb0,color:#08312c,font-size:15px
classDef rel fill:#e9a23b,stroke:#b8791f,color:#222,font-size:14px
linkStyle default stroke:#999,stroke-width:2px