Added the ability to set a key/value violations array that can be used to indicate to the client any validation violations.