Simple data validation adapter