@maschinenlesbar.org/reisewarnungen-cli
    Preparing search index...

    Interface TripCountry

    One country of a trip, resolved and read.

    interface TripCountry {
        alsoMatching?: string[];
        countryCode?: string;
        countryName?: string;
        effective?: string;
        flags: (
            | "warning"
            | "partialWarning"
            | "situationWarning"
            | "situationPartWarning"
        )[];
        id: string;
        iso3CountryCode?: string;
        lastChanges: string[];
        lastModified?: string;
        level: WarningLevel;
        matchedBy: MatchedBy;
        otherAdvice: number;
        query: string;
        sections: string[];
        status: "ok";
        title?: string;
        travelAdvice: AdviceSentence[];
        verdict: TripVerdict;
        verdictText: string;
    }

    Hierarchy (View Summary)

    Index
    alsoMatching?: string[]

    Other countries whose name contains the query (an exact name was taken: Sudan, not Südsudan).

    countryCode?: string

    ISO 3166-1 alpha-2.

    countryName?: string

    The official German short name, as the Auswärtiges Amt writes it.

    effective?: string

    When the current advice took effect (ISO 8601, UTC; the API's Unix seconds).

    flags: (
        | "warning"
        | "partialWarning"
        | "situationWarning"
        | "situationPartWarning"
    )[]

    The flags that are true (none: no formal warning).

    id: string

    The content id: what the API keys the country by (no ISO code; it can change).

    iso3CountryCode?: string

    ISO 3166-1 alpha-3.

    lastChanges: string[]

    The advisory's own note on what changed last ("Letzte Änderungen"), item by item.

    lastModified?: string

    When the entry was last changed (ISO 8601, UTC).

    matchedBy: MatchedBy
    otherAdvice: number

    How many other warning sentences the advisory has (crowds, drugs, driving at night): getAdvisory has them.

    query: string
    sections: string[]

    The advisory's top-level sections (Aktuelles, Sicherheit, Natur und Klima, Reiseinfos, Einreise und Zoll, Gesundheit, …).

    status: "ok"
    title?: string

    The advisory's title (Thailand: Reise- und Sicherheitshinweise).

    travelAdvice: AdviceSentence[]

    Every sentence that warns or advises against something and mentions travel, a stay or a part of the country, with its section: the regions of a regional warning, and for an all-false country the advice against travel no flag records. A text the advisory repeats (under Aktuelles and again under Sicherheit) is listed once, where it first stands.

    verdict: TripVerdict
    verdictText: string

    The verdict in words, with the German term.