Detect what kind of identifier a value is
detect_identifierTry every validator for the given country plus the international ones and return the types that accept the value, best first (checksum-bearing types rank above pattern-only ones). Use when a document or form field holds a number of unknown type. A match is structural, not proof of type. Example: number '12345678901', country 'KW'. 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 |
|---|---|---|---|
| number | Yes | The unknown identifier. | |
| country | No | ISO 3166-1 alpha-2 country whose national identifiers should be tried as well. Strongly recommended. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||