Validate data before entity hydration.