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 data decisions in ADR-010 concrete. Flight software and its logs stay with the vehicle team; the platform keeps plans, mission records, decisions, the mass ledger and copies for analysis and monitoring.
Core entities
| Entity | Key fields | Owner | Notes |
|---|---|---|---|
| Campaign | target, window, status | Mission operations | Groups surveys, sites, plans and batches |
| Survey product | spectra, radar, imagery, date | Science team | Commercially sensitive; may be export-controlled |
| Site | location, rank, uncertainty, zones | Flight dynamics | Zones are enforced on board |
| Signed plan | envelope, budgets, model versions, signer, version, validity | Planning service | Only a signed plan is accepted by the vehicle |
| Vehicle and tools | id, mode, health, wear | Vehicle team | Telemetry joins by vehicle id |
| Telemetry | power, thermal, attitude, tool load | Vehicle systems | Large volumes; sampled for traces |
| Safe-mode event | cause, time to safe mode, actions, reviewer | Safety and assurance | Reviewed and kept for the licence period |
| Batch and ledger entry | source site, kg at each stage, gap, status | Mining operations | Release is blocked until reconciled |
| Shipment and buyer | buyer, mass, quality, release approver | Logistics | Contract terms are confidential |
| Licence and notification | terms, duties, filings | Compliance | Evidence for regulators |
| 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 licence and contracts require.
| Data | Class | In prompts | In logs and traces | In analytics | Retention |
|---|---|---|---|---|---|
| Survey products and site rankings | Restricted | Summary only | Never | Masked by role | Licence period |
| Buyer contracts and prices | Restricted | Never | Never | Finance only | Contract period plus statutory |
| Export-controlled technical data | Restricted | Never | Never | Cleared staff only | As export rules require |
| Signed plans and envelopes | Confidential | Summary for the step | Ids and versions | Yes | Licence period |
| Telemetry and vehicle health | Confidential | No | Yes | Yes | Licence period, with summaries kept longer |
| Safe-mode events | Confidential | No | Yes | Yes | Licence period |
| Mass ledger and shipments | Confidential | Totals for the step | Ids and totals | Yes | Contract period plus statutory |
| Shift reports and filings | Confidential | Structured facts for the draft | Ids only | Yes | Licence period |
| Protocols and procedures | 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 mass ledger in the silver layer shows how the accountability rule becomes columns: batch and site, mass at each stage, a computed gap and a status that gates release.
-- Silver layer: mass ledger per batch, with no customer detail
CREATE TABLE mining_prod.silver.mass_ledger (
batch_id STRING NOT NULL,
campaign_id STRING NOT NULL,
source_site STRING NOT NULL,
extracted_kg DECIMAL(12,2) NOT NULL,
processed_kg DECIMAL(12,2),
stored_kg DECIMAL(12,2),
transferred_kg DECIMAL(12,2),
gap_pct DECIMAL(6,3), -- computed at reconciliation
scale_check_id STRING,
status STRING NOT NULL, -- open | reconciled | gap | escalated
escalation_by STRING,
closed_at TIMESTAMP,
created_at TIMESTAMP NOT NULL
) USING DELTA
TBLPROPERTIES ('delta.enableChangeDataFeed' = 'true');Where data moves
| From | To | What | Control |
|---|---|---|---|
| Survey archive | Planning service | Survey products for the campaign | Authenticated, access logged |
| Vehicle | Ground station | Telemetry and events through the deep-space link | Link encryption and signatures |
| Platform | AI (artificial intelligence) gateway and models | Structured facts for documentation only | Minimise, scan, no provider retention |
| Platform | Ground gateway | Structured arguments | Scopes, signed approvals, audit |
| Collector | Lakehouse | Telemetry and event copies | Customer detail dropped; masks |
| Lakehouse | Models and evaluation | Features and labelled cases | Role-based access; export rules respected |
Deletion, correction and access
Find
Every record carries the campaign key, so all copies can be found, including partner copies.
Delete or return
On contract end, partner data is returned or deleted as agreed. Licence evidence is kept for the licence period.
Propagate
Deletion events reach lakehouse tables, feature 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 licences, contracts and law and differ by country. Set them with counsel. The figures here are placeholders.
Build this for your business
This example is speculative and describes no real mission, but the same pattern, deterministic safety for every hard duty, a governed gateway, runtime security, advisory-only AI and measured quality, fits any remote, high-consequence operation. We can scope a pilot on your own systems.
Book a discovery call