Response validation now has sample and onInvalid settings