add validation for deposit scheme