Validation framework