Data Models
Business data architecture — 20 entities across 1 models
Core Entities (14)
Core entity representing logged peer mentor interactions (home visits, phone calls, meetings, group activities) that feed personal statistic...
Persons receiving support from peer mentors. Central record connecting activities, notes, caregivers, and relatives within an organization's...
Encrypted dispatch envelope carrying sensitive personal data (name, address, epicrisis) from a coordinator to a peer mentor, with delivery c...
Group activities organized by an organization that peer mentors, coordinators, and contacts can browse and sign up for. Events differ from l...
Travel and out-of-pocket expense claims registered by peer mentors and coordinators against a logged activity, classified by expense type an...
Junction entity that links users to one or more local chapters/organizations they belong to, supporting multi-association membership (e.g. N...
Lightweight free-text notes captured by peer mentors and coordinators, optionally linked to a contact, used to record observations and follo...
Represents the parent-child relationships between organizations to support multi-tier organizational structures (e.g. NHF's national federat...
Top-level tenant entity representing a customer organization (e.g. NHF, Blindeforbundet, HLF, Barnekreftforeningen, Norse Test) on the Meand...
Stores photographed receipts attached to travel and out-of-pocket expense claims submitted by peer mentors and coordinators. Receipts are re...
Canonical role catalogue defining the four Meander user roles (Peer Mentor, Coordinator, Organization Admin, Global Admin) and the permissio...
Stores email and bcrypt password hashes for users authenticating via email/password (MVP login mechanism). Owned by the Authentication Modul...
Active authentication sessions for users, tracking short-lived access tokens and rotating refresh tokens issued by the Authentication Module...
Core identity record for every authenticated principal in the Meander platform — peer mentors, coordinators, organization admins, and global...
Configuration (5)
Configurable auto-approval rules defining thresholds and conditions under which expense claims are automatically approved without manual att...
Configuration catalogue of valid expense categories (mileage, tolls, parking, public transport, etc.) with associated rules such as receipt ...
Per-tenant terminology overrides that let each organization customize display strings for canonical platform terms (e.g. Contact → Familie/B...
Per-tenant module toggle registry that records which functional areas (modules) are enabled for each organization. Backend is the source of ...
Per-tenant configuration record holding organization-wide platform settings such as default locale, time zone, branding, support-access flag...
Entity Relationships (1)
| From | Type | To | Description |
|---|---|---|---|
| organizations | One-to-Many | users |