@squawk
    Preparing search index...

    Interface FaaNotam

    A parsed FAA domestic (legacy) format NOTAM.

    The FAA domestic format is a flat, positional text structure used within the US National Airspace System. It differs from the ICAO format in that it has no Q-line or item delimiters (A-G). Instead, it uses a standardized component order: accountability, NOTAM number, location, keyword, body text, and effective period.

    There are two sub-formats:

    • NOTAM D (facility-issued): !ATL 03/296 ATL NAV ILS RWY 08L IM U/S 2603181657-2711082111EST
    • FDC (Flight Data Center): !FDC 5/3374 ATL IAP HARTSFIELD/JACKSON ATLANTA INTL, ATLANTA, GA. [body] 2512021812-2712021809EST
    import { parseFaaNotam } from '@squawk/notams';

    const notam = parseFaaNotam('!ATL 03/296 ATL NAV ILS RWY 08L IM U/S 2603181657-2711082111EST');
    console.log(notam.accountability); // "ATL"
    console.log(notam.classification); // "NOTAM_D"
    console.log(notam.keyword); // "NAV"
    console.log(notam.text); // "ILS RWY 08L IM U/S"
    interface FaaNotam {
        accountability: string;
        airportLocation?: string;
        airportName?: string;
        classification: FaaNotamClassification;
        effectiveFrom: NotamDateTime;
        effectiveUntil?: NotamDateTime;
        isEstimatedEnd: boolean;
        isPermanent: boolean;
        keyword: FaaNotamKeyword;
        locationCode: string;
        notamNumber: string;
        raw: string;
        text: string;
    }
    Index

    Properties

    accountability: string

    The accountability location identifier (e.g. "ATL", "BOS", "FDC").

    airportLocation?: string

    City and state location string for FDC NOTAMs (e.g. "ATLANTA, GA"). Not present on NOTAM D (facility-issued) NOTAMs.

    airportName?: string

    Full airport/facility name for FDC NOTAMs (e.g. "HARTSFIELD/JACKSON ATLANTA INTL"). Not present on NOTAM D (facility-issued) NOTAMs.

    classification: FaaNotamClassification

    Classification of the NOTAM (facility-issued NOTAM D or Flight Data Center).

    effectiveFrom: NotamDateTime

    Start of the effective period (UTC).

    effectiveUntil?: NotamDateTime

    End of the effective period (UTC). Undefined when the NOTAM is permanent (PERM).

    isEstimatedEnd: boolean

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

    isPermanent: boolean

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

    The keyword identifying the subject matter of the NOTAM.

    locationCode: string

    The affected location identifier (e.g. "ATL", "BOS", "ANC").

    notamNumber: string

    The NOTAM number as it appears in the source (e.g. "03/296" for NOTAM D, "5/3374" for FDC).

    raw: string

    The original raw NOTAM string as provided to the parser.

    text: string

    Free-text body describing the condition, hazard, or change.