Skip to main content

Overview

The Article type represents inventory items in the SIGEAC system. Articles can have different types (consumable, component, tool) and track various properties including serial numbers, part numbers, condition, and associated documentation.

Type Definition

export type Article = {
  id: number;
  article_type?: string;
  part_number: string;
  alternative_part_number?: string[];
  status?: string;
  serial?: string;
  description?: string;
  zone?: string;
  manufacturer?: Manufacturer;
  condition?: Condition;
  condition_id?: string;
  weight?: number;
  cost?: number;
  unit?: string;
  quantity?: number;
  batches?: Batch;
  batch_id?: number;
  vendor_id?: string;
  certifcate_8130?: File | string;
  certifcate_vendor?: File | string;
  certifcate_fabricant?: File | string;
  image?: File | string;
  primary_unit_id?: number;
  inspector?: string;
  inspect_date?: string;
  ata_code?: string;
};

Fields

id
number
required
Unique identifier for the article
article_type
string
Type classification of the article (e.g., “CONSUMABLE”, “COMPONENT”, “TOOL”)
part_number
string
required
Primary part number identifier for the article
alternative_part_number
string[]
Array of alternative or cross-reference part numbers
status
string
Current status of the article (e.g., “VENDIDO”, “EN POSESION”, “RENTADO”)
serial
string
Serial number for tracking individual article instances
description
string
Detailed description of the article
zone
string
Physical location or zone within the warehouse
manufacturer
Manufacturer
Reference to the manufacturer entity
condition
Condition
Current condition classification of the article
condition_id
string
Foreign key reference to the condition
weight
number
Weight of the article (unit depends on primary_unit)
cost
number
Cost or price of the article
unit
string
Unit of measurement (e.g., “EA”, “KG”, “L”)
quantity
number
Available quantity in inventory
batches
Batch
Associated batch/category for this article. See Batch for full reference.
batch_id
number
Foreign key reference to the batch
vendor_id
string
Foreign key reference to the vendor
certifcate_8130
File | string
FAA Form 8130-3 Airworthiness Approval Tag certificate (file upload or URL)
certifcate_vendor
File | string
Vendor certification documentation (file upload or URL)
certifcate_fabricant
File | string
Manufacturer certification documentation (file upload or URL)
image
File | string
Article image (file upload or URL)
primary_unit_id
number
Foreign key reference to the primary unit of measurement
inspector
string
Name of the inspector who verified the article
inspect_date
string
Date of inspection (ISO 8601 format)
ata_code
string
ATA chapter code for aviation maintenance categorization

Extended Article Types

ConsumableArticle

Extends Article with additional fields for consumable items:
export interface ConsumableArticle extends Article {
  is_managed?: boolean;
  quantity?: number;
  min_quantity?: number;
  expiration_date?: string;
  fabrication_date?: string;
}
is_managed
boolean
Indicates if the consumable is tracked in inventory management
min_quantity
number
Minimum quantity threshold for restock alerts
expiration_date
string
Expiration date for time-sensitive consumables
fabrication_date
string
Manufacturing/production date

ComponentArticle

Extends Article with additional fields for aircraft components:
export interface ComponentArticle extends Article {
  expiration_date?: string;
  fabrication_date?: string;
  hour_date?: number;
  cycle_date?: number;
  calendar_date?: string;
  component_id?: number;
}
hour_date
number
Flight hours since last maintenance/installation
cycle_date
number
Flight cycles since last maintenance/installation
calendar_date
string
Calendar-based maintenance due date
component_id
number
Reference to parent component if this is a sub-component

ToolArticle

Extends Article with tool-specific properties:
export interface ToolArticle extends Article {
  is_special: boolean;
}
is_special
boolean
required
Indicates if the tool requires special handling or calibration

Example Data

{
  "id": 1245,
  "article_type": "COMPONENT",
  "part_number": "AN960-416",
  "alternative_part_number": ["MS20002C4", "NAS1149F0463P"],
  "status": "EN POSESION",
  "serial": "SN-2024-001234",
  "description": "Flat Washer, Steel, Cadmium Plated",
  "zone": "A-12-B",
  "manufacturer": {
    "id": 42,
    "name": "Boeing",
    "type": "PART",
    "description": "Aircraft component manufacturer"
  },
  "condition": {
    "id": 5,
    "name": "Serviceable",
    "description": "Item is airworthy and ready for installation",
    "registered_by": "admin",
    "updated_by": "inspector_01"
  },
  "weight": 0.05,
  "cost": 2.50,
  "unit": "EA",
  "quantity": 150,
  "batch_id": 78,
  "ata_code": "53-10-00",
  "inspector": "John Doe",
  "inspect_date": "2024-03-15T10:30:00Z"
}

Build docs developers (and LLMs) love