@squawk
    Preparing search index...

    Interface Notam

    A parsed ICAO-format NOTAM (Notice to Air Missions).

    NOTAMs provide advance notice of changes to any aeronautical facility, service, procedure, or hazard. This interface represents the structured fields parsed from the standard ICAO NOTAM format including the Q-line, items A through G, and header metadata.

    import { parseNotam } from '@squawk/notams';

    const notam = parseNotam(rawNotamString);
    console.log(notam.id); // "A1242/24"
    console.log(notam.action); // "NEW"
    console.log(notam.qualifier?.fir); // "KZNY"
    console.log(notam.locationCodes); // ["KJFK"]
    console.log(notam.text); // "RWY 09L/27R CLSD DUE TO RESURFACING"
    interface Notam {
        action: NotamAction;
        effectiveFrom: NotamDateTime;
        effectiveUntil?: NotamDateTime;
        id: string;
        isEstimatedEnd: boolean;
        isPermanent: boolean;
        isUntilFurtherNotice: boolean;
        locationCodes: string[];
        lowerLimit?: string;
        qualifier?: NotamQualifier;
        raw: string;
        referencedId?: string;
        schedule?: string;
        text: string;
        upperLimit?: string;
    }
    Index

    Properties

    action: NotamAction

    Action type indicating whether this is a new, replacement, or cancellation NOTAM.

    effectiveFrom: NotamDateTime

    Item B: Start of the effective period (UTC).

    effectiveUntil?: NotamDateTime

    Item C: End of the effective period (UTC). Undefined when the NOTAM is permanent (PERM) or until further notice (UFN).

    id: string

    NOTAM series and number identifier (e.g. "A1242/24", "C0156/26").

    isEstimatedEnd: boolean

    True when the end time is estimated rather than definite (EST suffix on Item C).

    isPermanent: boolean

    True when the NOTAM is permanent with no expiration (PERM in Item C).

    isUntilFurtherNotice: boolean

    True when the NOTAM is effective until further notice (UFN in Item C).

    locationCodes: string[]

    Item A: Affected location ICAO code(s) (e.g. ["KJFK"] or ["KJFK", "KLGA"]).

    lowerLimit?: string

    Item F: Lower altitude limit as a raw string (e.g. "SFC", "FL050", "3000FT").

    qualifier?: NotamQualifier

    Parsed Q-line qualifier data.

    raw: string

    The original raw NOTAM string as provided to the parser.

    referencedId?: string

    The NOTAM ID being replaced or cancelled (present when action is REPLACE or CANCEL).

    schedule?: string

    Item D: Schedule for intermittent or recurring activity (e.g. "MON-FRI 0700-1600", "H24", "SR-SS").

    text: string

    Item E: Free-text description of the NOTAM condition or hazard.

    upperLimit?: string

    Item G: Upper altitude limit as a raw string (e.g. "UNL", "FL180", "450FT").