class UUID extends ABSTRACT {
  validate(value, options) {
    if (typeof value !== 'string' || (!Validator.isUUID(value) && (!options || !options.acceptStrings))) {
      throw new sequelizeErrors.ValidationError(util.format('%j is not a valid uuid', value));
    }