Add A validator that can check types of values (boolena/integer/string)