public validator