Twinkle HubTwinkle Hub

Validate postal code

tw_validate_postal_code

Validators · same family🇹🇼 Taiwanread-only

驗證 3/5/6 碼郵遞區號 + 對應行政區。

Parameters

ParamTypeDescription
postal_code *string—
Raw JSON schema
{
  "properties": {
    "postal_code": {
      "title": "Postal Code",
      "type": "string"
    }
  },
  "required": [
    "postal_code"
  ],
  "title": "validate_postal_codeArguments",
  "type": "object",
  "additionalProperties": false
}

How to call

Starter — params in the table above
tw_validate_postal_code({ postal_code: "…" })