Skip to the content

Kuni国

Look up countries, codes, names and subdivisions, load country data on demand and mount a native country card.

Kuni (国) is Japanese for a country. About the name

Contents

Reference · /subdivision-reforms

SubdivisionReformtype

A dated note of one law that rearranges a country's current subdivisions. The codes themselves stay.

Import it

import type { SubdivisionReform } from "@johnmorrisdotca/kuni/subdivision-reforms";

Definition

interface SubdivisionReform {
    country: string;
    law: string;
    article: string;
    url: string;
    passed: string;
    effective: string;
    operating: string;
    effectLine: string;
    passedLine: string;
    operatingLine: string;
    units: readonly SubdivisionReformUnit[];
}

Members

NameTypeDescription
countrystring

The ISO 3166-1 alpha-2 code of the country.

lawstring

The law, by the short name it is cited under.

articlestring

The article that lists which current units form which new one.

urlstring

The signed text of the law.

passedstring

The day the law was passed, as YYYY-MM-DD.

effectivestring

The day the law takes effect, as YYYY-MM-DD. For this resolution, the day it was passed.

operatingstring

The day the rearranged governments officially operate, as YYYY-MM-DD.

effectLinestring

The law's own sentence for when it takes effect.

passedLinestring

The law's own words for the day it was passed.

operatingLinestring

The law's own words for the day the new governments operate.

unitsreadonly SubdivisionReformUnit[]

The units the law names, in the order of its clauses.

Examples

import type { SubdivisionReform } from "@johnmorrisdotca/kuni/subdivision-reforms";

const value: SubdivisionReform = {
  country: "VN", law: "Resolution 202/2025/QH15", article: "1",
  url: "https://datafiles.chinhphu.vn/cpp/files/vbpq/2025/6/202qh.signed.pdf",
  passed: "2025-06-12", effective: "2025-06-12", operating: "2025-07-01",
  effectLine: "Nghị quyết này có hiệu lực thi hành từ ngày được thông qua.",
  passedLine: "thông qua ngày 12 tháng 6 năm 2025.",
  operatingLine: "chính thức hoạt động từ ngày 01 tháng 7 năm 2025.",
  units: [],
};
console.log(value.country);
VN

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kuni 1.19.0.