SubdivisionReform型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A dated note of one law that rearranges a country's current subdivisions. The codes themselves stay.
インポート
import type { SubdivisionReform } from "@johnmorrisdotca/kuni/subdivision-reforms";
定義
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[];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
country | string | The ISO 3166-1 alpha-2 code of the country. |
law | string | The law, by the short name it is cited under. |
article | string | The article that lists which current units form which new one. |
url | string | The signed text of the law. |
passed | string | The day the law was passed, as YYYY-MM-DD. |
effective | string | The day the law takes effect, as YYYY-MM-DD. For this resolution, the day it was passed. |
operating | string | The day the rearranged governments officially operate, as YYYY-MM-DD. |
effectLine | string | The law's own sentence for when it takes effect. |
passedLine | string | The law's own words for the day it was passed. |
operatingLine | string | The law's own words for the day the new governments operate. |
units | readonly SubdivisionReformUnit[] | The units the law names, in the order of its clauses. |
例
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出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。