Twinkle HubTwinkle Hub

驗證身分證字號

tw_validate_taiwan_id_number

検証ツール · 20 件🇹🇼 台湾読み取り専用

驗證中華民國身分證字號或外國人統一證號 (公開算法 derive,無 PII lookup)。

Args: id_number: 10 字元(1 字母 + 9 數字)。例: "A123456789"。

Returns: valid / invalid + sex + 登記縣市(合規說明:演算法本身公開, 不查任何資料庫,純算法 derive)。

パラメータ

名前説明
id_number *string
生の JSON schema
{
  "properties": {
    "id_number": {
      "title": "Id Number",
      "type": "string"
    }
  },
  "required": [
    "id_number"
  ],
  "title": "validate_taiwan_id_numberArguments",
  "type": "object"
}

呼び出し方

スターター——パラメータは​上表参照
tw_validate_taiwan_id_number({ id_number: "…" })