@Override
        public boolean isValid(String value, ConstraintValidatorContext context) {
            boolean valid = true;

            if (!StringUtils.isEmpty(value) && value.contains(":")) {
                valid = false;
            }

            return valid;
        }
This constraint checks semi-colon is not allowed in a given string.
common/src/main/java/com/netflix/conductor/common/constraints/NoSemiColonConstraint.java