nationid - v2.2.1
    Preparing search index...

    Type Alias Region

    Region encoded in the document. The code is the raw token from the normalized form (no translation to ISO codes) so callers can decide whether to canonicalize via their own catalog.

    kind discriminates the administrative level so consumers can render the correct label ("Departamento de Guatemala" vs "Estado de Jalisco") without needing to know which spec emitted it.

    type Region = {
        code: string;
        kind: "state" | "province" | "department" | "municipality" | "tax_region";
    }
    Index
    code: string
    kind: "state" | "province" | "department" | "municipality" | "tax_region"