provide validation on data doc