Allow to define a type for schema validators