mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
- Logbook entries record the signer's kind of certificate and number and an inspection's result; maintenance and inspection entries list what 43.9 / 43.11 needs that's missing (flagged, not enforced). Transcription reads the certificate details too - AD compliance records the method (inspection, terminating action, AMOC, not applicable) and the AD revision complied with, filled in from the AD when blank; the method sets the permanent / N/A flags - Maintenance status report (91.417(a)(2)): total times, life-limited parts, time since overhaul, inspection and AD status, major alterations, open discrepancies; print or save as PDF; on maintenance share links too - Archives carry the new fields Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.6 KiB
JSON
33 lines
1.6 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"entries": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"date": { "type": ["string", "null"], "description": "YYYY-MM-DD, or null if unreadable" },
|
|
"log_type": { "type": "string", "enum": ["AC", "ENG", "PROP", "OTHER"] },
|
|
"entry_type": { "type": "string", "enum": ["MAINTENANCE", "INSPECTION", "FLIGHT", "HOURS_UPDATE", "OTHER"] },
|
|
"text": { "type": "string" },
|
|
"aircraft_hours": { "type": ["number", "null"] },
|
|
"signoff_person": { "type": ["string", "null"] },
|
|
"signoff_location": { "type": ["string", "null"] },
|
|
"signoff_certificate_type": { "type": ["string", "null"], "description": "AP, IA, A, P, REPAIR_STATION, REPAIRMAN, PILOT, OTHER, or null" },
|
|
"signoff_certificate_number": { "type": ["string", "null"] },
|
|
"page_start": { "type": "integer" },
|
|
"page_end": { "type": "integer" },
|
|
"confidence": { "type": "string", "enum": ["high", "medium", "low"] }
|
|
},
|
|
"required": ["date", "log_type", "entry_type", "text", "aircraft_hours", "signoff_person", "signoff_location",
|
|
"signoff_certificate_type", "signoff_certificate_number", "page_start", "page_end", "confidence"],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"non_logbook_pages": { "type": "array", "items": { "type": "integer" } },
|
|
"unparseable_pages": { "type": "array", "items": { "type": "integer" } }
|
|
},
|
|
"required": ["entries", "non_logbook_pages", "unparseable_pages"],
|
|
"additionalProperties": false
|
|
}
|