Purpose and scope
This is the logical data model for the platform: the entities it creates, what each holds, who may see it and how long it is kept. It makes the privacy decisions in ADR-001 and ADR-010 concrete. The HR system, the travel management company and the communications service stay the systems of record; the platform keeps the live register, check-ins, incidents, muster states and coarse aggregates.
Core entities
| Entity | Key fields | Owner | Notes |
|---|---|---|---|
| Traveler | opaque id, contact channels, language | HR and travel | Contacts are used only for alerts |
| Trip | dates, purpose, status | Travel management company | The live register holds a trip only for its dates |
| Itinerary segment | place, time window, source, basis | Travel management company | Every row has a source and a basis |
| Consent | check-ins allowed, scope, date, status | Privacy office | Per trip; withdrawable |
| Check-in | city-level place, time | Traveler | Voluntary; deleted after the trip |
| Risk event | area, time window, severity band, source | Security | From named feeds |
| Incident | status, officer, opened and closed | Security | Cannot close with an unresolved traveler |
| Exposure | traveler, event, basis of match | Platform | Deterministic output |
| Muster state | state, times, resolver | Platform | Closure is blocked until resolved |
| Alert | template, channel, time, delivery | Platform | Approved templates only unless an officer signs |
| Officer decision | type, signers, expiry | Security | Evacuation, travel stop, assistance request |
| Incident report | draft, edits, signer | Security | Filed only after a signature |
| Audit record | event, actor, tool, args hash, outcome, trace_id | Platform | Append-only |
Classification matrix
Four classes drive every control. Restricted data is limited to what a step needs, masked by role and kept only as long as the purpose requires.
| Data | Class | In prompts | In logs and traces | In analytics | Retention |
|---|---|---|---|---|---|
| Exact itinerary and check-in locations | Restricted | Never | Never | City level only | 30 days after return |
| Traveler identity and contacts | Restricted | Never; opaque reference only | Never | Masked by role | Employment record rules |
| Health or medical needs shared in an incident | Restricted | Never | Never | Never | As the incident record requires, access limited |
| Consent records | Restricted | Structured status only | Ids and status | Masked ids | Life of the trip plus the legal period |
| Muster states | Confidential | Counts only | Ids and states | Pseudonymised | Incident record period |
| Risk events and alerts | Internal | Yes, aggregates | Yes | Yes | Per business need |
| Officer decisions and incident reports | Confidential | Structured facts for the draft | Ids only | Yes | Legal period |
| Policies and templates | Internal | Yes, as cited clauses | Yes | Yes | Versioned, kept |
| Trace and security events | Internal | No | Yes, no content | Yes | 13 months |
A table, as built
The muster state table in the silver layer shows how the accountability rule becomes columns: every exposed traveler has a state, times and a resolver, and a flag that must be false at closure.
-- Silver layer: muster state per exposed traveler, with no names and no exact locations
CREATE TABLE travel_prod.silver.muster_state (
incident_id STRING NOT NULL,
traveler_ref STRING NOT NULL, -- opaque reference, not an employee id
exposed_at TIMESTAMP NOT NULL,
first_alert_at TIMESTAMP,
last_contact_at TIMESTAMP,
state STRING NOT NULL, -- pending | safe | needs_help | unreachable | resolved
escalated_at TIMESTAMP,
resolved_by STRING, -- named duty officer for manual resolution
resolution STRING,
closed_with_open BOOLEAN -- must be false at closure unless signed
) USING DELTA
TBLPROPERTIES ('delta.enableChangeDataFeed' = 'true');Where data moves
| From | To | What | Control |
|---|---|---|---|
| Travel management company | Itinerary service | Bookings | Authenticated feed; dates and places only |
| Traveler app | Traveler register | Consents and check-ins | Authenticated; voluntary; scoped |
| Risk feeds | Event service | Events with areas and times | Source allowlist; schema validation |
| Platform | Communications service | Approved templates and contacts | Rules only; officer approval for custom text |
| Platform | AI (artificial intelligence) gateway and models | Structured facts for documentation only | No exact locations; scan; no provider retention |
| Platform | Travel gateway | Structured arguments | Scopes, signed approvals, audit |
| Collector | Lakehouse | Telemetry and coarse aggregates | Identifiers dropped or hashed; masks |
Deletion, correction and access
Find
Every record carries the opaque traveler reference and trip id, so all copies can be found, including caches.
Delete
Exact locations and check-ins are deleted within 30 days of return. Incident records are kept for the legal period with access restricted.
Propagate
Deletion events reach caches, the lakehouse tables and evaluation sets.
Prove
The audit record shows what was deleted, when and by whom, without the deleted content.
Retention periods are set by law and differ by country. Set them with counsel. The figures here are placeholders.
Build this for your business
This example is speculative, but the same pattern, minimal and consented data, deterministic rules for every safety duty, a governed gateway, runtime security, advisory-only AI and accountable people, fits any service that looks after people. We can scope a pilot on your own systems.
Book a discovery call