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.

API entry from apis.yml

apis.yml Raw ↑
aid: bean-validation:jakarta-validation-api
name: Jakarta Validation API
description: 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.
humanURL: https://jakarta.ee/specifications/bean-validation/3.1/
tags:
- Bean Validation
- Java
- API
- Jakarta EE
properties:
- type: Specification
  url: https://jakarta.ee/specifications/bean-validation/3.1/
- type: SDK
  url: https://mvnrepository.com/artifact/jakarta.validation/jakarta.validation-api
  title: Maven Central