Data validator is a library that can be used to check the correctness of any data. Every language has many similar libraries, almost all programs work with external data that must be checked for correctness. First of all, we are talking about user-generated data. The yup library was taken as the basis for the project.
This application implements the ability to check data of several types: strings, numbers, objects of the map-type, as well as to check complex (nested) data based on map collections.
String data type checks: matching a string, null, empty string, finding a substring in a given string and matching the minimum specified string length.
Integers data type checks: notnull value check, checking for compliance with a positive number (not including zero) and occurrence in the specified range check.
Map data type checks: checking for not null, for compliance of the map with the specified size, ad also checking the values by the map keys for compliance with the validation scheme transmitted by the user (nested data validation realized for map collections).