Data Model¶
Core App¶
Model |
Description |
|---|---|
|
Central fleet inventory (UUID primary key) |
|
Notes attached to aircraft with timestamps; |
|
Audit trail of all changes to aircraft data |
|
Per-aircraft user roles ( |
|
Share link tokens with privilege level ( |
Health App¶
Model |
Description |
|---|---|
|
Component categories (consumable flag) |
|
Parts with TBO, inspection, and replacement tracking; supports parent-child hierarchy |
|
Logical document groupings |
|
Maintenance documentation by type |
|
Individual pages/images within documents |
|
Maintenance log entries with hours, dates, and file attachments |
|
Maintenance defects with priority levels and optional component link |
|
Recurring inspection requirements with hour/day intervals |
|
Inspection completion records |
|
Airworthiness Directives with recurrence settings |
|
AD compliance records |
|
Major repair and alteration records |
|
Oil/fuel consumption records |
Relationships¶
Aircraft (central hub)
├── AircraftNote (1:N)
├── AircraftEvent (1:N)
├── AircraftRole (1:N) → User
├── AircraftShareToken (1:N)
├── Component (1:N)
│ ├── ComponentType (N:1)
│ ├── Parent Component (self-reference)
│ └── Squawk (1:N, optional link)
├── Squawk (1:N)
├── LogbookEntry (1:N)
├── Document (1:N)
│ ├── DocumentCollection (N:1, optional)
│ └── DocumentImage (1:N)
├── InspectionType (1:N)
├── InspectionRecord (1:N)
├── AD (1:N)
├── ADCompliance (1:N) → AD
├── MajorRecord (1:N)
└── ConsumeableRecord (1:N)
Component Hours Fields¶
Field |
Purpose |
Reset on service? |
|---|---|---|
|
Hours since last replacement |
Yes — |
|
Hours since last overhaul/rebuild |
No — only on major overhaul |
Component Critical Flags¶
Flag |
Tracked via |
Purpose |
|---|---|---|
|
|
Periodic replacement (oil, filters) |
|
|
Time between overhauls (engines, props) |
|
|
Requires periodic inspections |
Squawk Priorities¶
Value |
Label |
Color |
|---|---|---|
0 |
Ground Aircraft |
Red |
1 |
Fix Soon |
Orange |
2 |
Fix at Next Inspection |
Blue |
3 |
Fix Eventually |
Grey |