A validator library