mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Avionics logbook type
Aircraft with a separate avionics logbook can file radio, transponder and autopilot work under it: AVIONICS joins Aircraft, Engine, Propeller and Other everywhere a logbook is chosen or filtered (entry form, logbook filter, squawk resolution, templates, imports). - Logbook transcription knows it (schema enum and prompt), so scanned avionics pages aren't filed as Aircraft. - The API's ?log= filter and drafts API accept it; docs updated. - No migration: log_type is a string column. Existing entries unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a5ca534fd1
commit
acb8b87ca3
9 files changed
+39
-8
No files matched your search
@@ -23,7 +23,7 @@ Entry types:
|
||||
- OTHER: administrative entries, certifications
|
||||
|
||||
Fields:
|
||||
- log_type: AC (airframe), ENG (engine), PROP (propeller), or OTHER
|
||||
- log_type: AC (airframe), ENG (engine), PROP (propeller), AVIONICS (a separate avionics logbook: radios, transponder, autopilot, GPS…), or OTHER
|
||||
- text: the entry text verbatim, or a close paraphrase where wording is unclear; write [?] for illegible words
|
||||
- aircraft_hours: the tach/total time the entry records (a number), or null if none is written
|
||||
- signoff_person / signoff_location: a string, or null (the person's name only; certificate details go below)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"date": { "type": ["string", "null"], "description": "YYYY-MM-DD, or null if unreadable" },
|
||||
"log_type": { "type": "string", "enum": ["AC", "ENG", "PROP", "OTHER"] },
|
||||
"log_type": { "type": "string", "enum": ["AC", "ENG", "PROP", "AVIONICS", "OTHER"] },
|
||||
"entry_type": { "type": "string", "enum": ["MAINTENANCE", "INSPECTION", "FLIGHT", "HOURS_UPDATE", "OTHER"] },
|
||||
"text": { "type": "string" },
|
||||
"aircraft_hours": { "type": ["number", "null"] },
|
||||
|
||||
Reference in new issue
Block a user