Semarchy Phone validator

The Semarchy Phone validator checks the validity of phone numbers.

Plugin ID

Semarchy Phone Validator - com.semarchy.engine.plugins.convergence.phone

Description

This validator takes either an international phone number (with the international prefix) or a national phone number provided with a country code as the input phone number. The validator checks whether this phone number is a valid international or national phone number.

This plugin is thread-safe and supports parallel execution.

Plugin parameters

The following table lists the plugin parameters.

Parameter name Mandatory Type Description

Validation Leniency

No

String

Precise validation leniency for possible phone numbers. Value may be VALID (default), POSSIBLE or VALID_FOR_REGION.

Plugin inputs

The following table lists the plugin inputs.

Input name Mandatory Type Description

Input Phone Number

Yes

String

Input phone number.

Country Code

No

String

Two-letter country code for a national phone number, according to the ISO 3166-1 standard. If this parameter is left empty, the phone number provided in Input Phone Number should include the international country calling code.