Overview
The MaintenanceAircraft type represents aircraft within the SIGEAC maintenance system. It includes comprehensive aircraft information, flight tracking data, and hierarchical parts management.
Type Definition
export type MaintenanceAircraft = {
id : number ;
client : MaintenanceClient ;
manufacturer : Manufacturer ;
serial : string ;
model : string ;
acronym : string ;
flight_hours : number | string ;
flight_cycles : number | string ;
fabricant_date : string ;
aircraft_parts : MaintenanceAircraftPart [];
location : Location ;
comments : string ;
};
Fields
Unique identifier for the aircraft
client
MaintenanceClient
required
The client who owns or operates the aircraft Show MaintenanceClient properties
authorizing
'PROPIETARIO' | 'EXPLOTADOR'
Authorization type - either owner (PROPIETARIO) or operator (EXPLOTADOR)
Aircraft manufacturer information Show Manufacturer properties
Manufacturer unique identifier
Manufacturer name (e.g., Boeing, Airbus, Cessna)
type
'AIRCRAFT' | 'ENGINE' | 'APU' | 'PROPELLER' | 'GENERAL' | 'PART'
Manufacturer type - use ‘AIRCRAFT’ for aircraft manufacturers
Additional manufacturer details
Aircraft serial number (unique identifier from manufacturer)
Aircraft model designation (e.g., “737-800”, “A320-200”)
Aircraft registration or tail number
Total accumulated flight hours. May be formatted as string (e.g., “4,324.00”)
Total accumulated flight cycles (takeoff/landing pairs). May be formatted as string (e.g., “324.00”)
Manufacturing date in ISO 8601 format
aircraft_parts
MaintenanceAircraftPart[]
required
Array of aircraft parts with hierarchical structure. See Aircraft Parts section below.
Current physical location of the aircraft Location unique identifier
IATA airport code if applicable
Whether this is the main maintenance base
Additional notes or comments about the aircraft
Aircraft Parts
Each aircraft contains a hierarchical structure of parts tracked through the MaintenanceAircraftPart type:
export type MaintenanceAircraftPart = {
id ?: number ;
part_number : string ;
part_name : string ;
serial ?: string ;
condition_type : string ;
time_since_new ?: number | string ;
time_since_overhaul ?: number | string ;
cycles_since_new ?: number | string ;
cycles_since_overhaul ?: number | string ;
part_hours ?: number ;
part_cycles ?: number ;
is_father ?: boolean ;
aircraft_id ?: string ;
aircraft_part_id ?: string | null ;
sub_parts ?: MaintenanceAircraftPart [];
aircraft ?: MaintenanceAircraft ;
};
Part Fields
Descriptive name of the part
Part serial number (if serialized)
Current condition status of the part
Operating time since part was new
Operating time since last overhaul
Cycles accumulated since part was new
Cycles since last overhaul
Indicates if this part has sub-components (parent part)
Reference to parent part ID. Null if this is a root-level part.
sub_parts
MaintenanceAircraftPart[]
Array of child parts in the hierarchical structure
Example Usage
const aircraft : MaintenanceAircraft = {
id: 1 ,
serial: "MSN-12345" ,
model: "737-800" ,
acronym: "YV-1234" ,
flight_hours: "24,567.50" ,
flight_cycles: "18,234.00" ,
fabricant_date: "2015-06-15T00:00:00Z" ,
client: {
id: 1 ,
name: "Airline Operations Inc." ,
email: "[email protected] " ,
phone_number: "+1-555-0100" ,
address: "123 Airport Road" ,
authorizing: "PROPIETARIO"
},
manufacturer: {
id: 1 ,
name: "Boeing" ,
type: "AIRCRAFT" ,
description: "Leading aircraft manufacturer"
},
location: {
id: 1 ,
name: "Main Hangar" ,
address: "Maiquetía Airport" ,
type: "MAINTENANCE_BASE" ,
cod_iata: "CCS" ,
isMainBase: true ,
companies: []
},
aircraft_parts: [
{
id: 1 ,
part_number: "CFM56-7B26" ,
part_name: "Engine #1" ,
serial: "ENG-789456" ,
condition_type: "SERVICEABLE" ,
time_since_new: "12,345.00" ,
time_since_overhaul: "2,456.00" ,
cycles_since_new: "9,876.00" ,
cycles_since_overhaul: "1,234.00" ,
is_father: true ,
aircraft_part_id: null ,
sub_parts: []
}
],
comments: "Recent C-check completed"
};