Validate a postal code format
validate_postal_codeCheck a postal/ZIP code against the national format for 158 countries, and say so when the country has no postal codes (UAE, Qatar…). Pattern check only. Example: code '11564', country 'SA'. Response: result plus data_confidence (high = check-digit algorithm from a public specification; medium = community-documented checksum or pattern-only; low = structure only), estimated_items[], sources[], data_version and a disclaimer (structural validation only — never proof that an identifier is issued or belongs to someone).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Postal / ZIP code as written. | |
| country | Yes | ISO 3166-1 alpha-2 country code, e.g. 'SA', 'GB', 'US'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||