From 7501958e00ff75a72af96ceff9ba3a7e683461ae Mon Sep 17 00:00:00 2001 From: Sebastian Toepfer <61313468+sebastian-toepfer@users.noreply.github.com> Date: Tue, 26 Sep 2023 21:26:20 +0200 Subject: [PATCH] add support for enum keyword --- core/pom.xml | 2 - .../vocab/validation/EnumKeywordType.java | 82 +++++++++++++++++ .../validation/ValidationVocabulary.java | 1 + .../vocab/validation/EnumKeywordTypeTest.java | 87 +++++++++++++++++++ 4 files changed, 170 insertions(+), 2 deletions(-) create mode 100644 core/src/main/java/io/github/sebastiantoepfer/jsonschema/core/vocab/validation/EnumKeywordType.java create mode 100644 core/src/test/java/io/github/sebastiantoepfer/jsonschema/core/vocab/validation/EnumKeywordTypeTest.java diff --git a/core/pom.xml b/core/pom.xml index 093f1b7b..76f027e1 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -106,9 +106,7 @@ --> **/tests/draft2020-12/additionalProperties.json **/tests/draft2020-12/boolean_schema.json - **/tests/draft2020-12/exclusiveMaximum.json **/tests/draft2020-12/exclusiveMinimum.json