Jakarta Validation API

The Jakarta Validation API JAR provides the interfaces, annotations, and exception types that constitute the Bean Validation specification contract. Constraint annotations (@NotNull, @Size, @Min, @Max, @Pattern, @Email, @Future, @Past, @Positive, @Negative, etc.), Validator, ValidatorFactory, ConstraintViolation, and Path types are all defined in the API. Available on Maven Central.