Add validate.py for generated data.