Update validation.rst

updated deprecated example
Merge pull request #1806 from felixkempf/patch-1

Update validation.rst