#654: data_validator.py, add validation logic