Customize mapping of validation