validator type