Documentation for validation utility