validation.json configuration file - CustomerID

The validation.json configuration file contains different user attribute validation configurations. Both built-in attributes and custom attributes can be configured to have existing built-in validator rules applied, such as checking that the value is unique, contains mandatory values and satisfies a regular expression. Special validators are provided for certain formats of social security numbers and company numbers.  

The validation rules apply to both end-user modifications via the user interface and API calls.

Changes to the validation.json configuration file require a server restart.

There is a template for this file in the installation package:

  • Windows: C:\Program Files\Ubisecure\customerid\tools\examples\custom\template_validation.json
  • Linux: /usr/local/ubisecure/customerid/tools/examples/custom/template_validation.json