diff --git a/CHANGELOG.md b/CHANGELOG.md
index f741bb3..798b010 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file.
+
+## [0.0.1-RC10]
+
+- LeiaSchemaViolation
+ - Introduced SchemaViolation & ViolationContext for generating violations as part of schema validation
+- SchemaValidationUtils: Returns list of LeiaSchemaViolations instead of boolean
+- StaticSchemaValidator: Updated to return all schema validation violations instead of stopping at the first error occurrence
+- LeiaClientMarshaller: Bug fix in serialization
+- Adds tests for `leia-schema-validator` module
+
## [0.0.1-RC9]
- RollOverAndUpdate
diff --git a/leia-bom/pom.xml b/leia-bom/pom.xml
index 21d275e..a902071 100644
--- a/leia-bom/pom.xml
+++ b/leia-bom/pom.xml
@@ -21,7 +21,7 @@
com.grookage.leia
leia
- 0.0.1-RC9
+ 0.0.1-RC10
leia-bom
diff --git a/leia-client-dropwizard/pom.xml b/leia-client-dropwizard/pom.xml
index bea9b31..0941c19 100644
--- a/leia-client-dropwizard/pom.xml
+++ b/leia-client-dropwizard/pom.xml
@@ -22,7 +22,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-client/pom.xml b/leia-client/pom.xml
index aff3ad3..f1b9846 100644
--- a/leia-client/pom.xml
+++ b/leia-client/pom.xml
@@ -22,7 +22,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-common/pom.xml b/leia-common/pom.xml
index 5f2bb40..b161314 100644
--- a/leia-common/pom.xml
+++ b/leia-common/pom.xml
@@ -23,7 +23,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-common/src/main/java/com/grookage/leia/common/validation/SchemaPayloadValidator.java b/leia-common/src/main/java/com/grookage/leia/common/validation/SchemaPayloadValidator.java
index c416892..1eb9068 100644
--- a/leia-common/src/main/java/com/grookage/leia/common/validation/SchemaPayloadValidator.java
+++ b/leia-common/src/main/java/com/grookage/leia/common/validation/SchemaPayloadValidator.java
@@ -117,7 +117,7 @@ private void validateMapAttribute(final JsonNode fieldNode,
final var keyNode = entry.getKey() != null
? MapperUtils.mapper().convertValue(entry.getKey(), JsonNode.class)
: null;
- if (!Objects.isNull(keyNode)) {
+ if (Objects.nonNull(keyNode)) {
// validate Key
validateField(keyNode, mapAttribute.getKeyAttribute(), schemaValidationType, validationErrors);
// Validate value
diff --git a/leia-core/pom.xml b/leia-core/pom.xml
index 1641990..faaaa86 100644
--- a/leia-core/pom.xml
+++ b/leia-core/pom.xml
@@ -21,7 +21,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-dropwizard-es/pom.xml b/leia-dropwizard-es/pom.xml
index daaa6d5..0680ddf 100644
--- a/leia-dropwizard-es/pom.xml
+++ b/leia-dropwizard-es/pom.xml
@@ -22,7 +22,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-dropwizard/pom.xml b/leia-dropwizard/pom.xml
index e8d6781..0c3745f 100644
--- a/leia-dropwizard/pom.xml
+++ b/leia-dropwizard/pom.xml
@@ -21,7 +21,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-elastic/pom.xml b/leia-elastic/pom.xml
index 1db3a40..a41d079 100644
--- a/leia-elastic/pom.xml
+++ b/leia-elastic/pom.xml
@@ -22,7 +22,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-models/pom.xml b/leia-models/pom.xml
index ec29075..67f8afd 100644
--- a/leia-models/pom.xml
+++ b/leia-models/pom.xml
@@ -21,7 +21,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-parent/pom.xml b/leia-parent/pom.xml
index e04fbf1..f8ce7dd 100644
--- a/leia-parent/pom.xml
+++ b/leia-parent/pom.xml
@@ -21,7 +21,7 @@
com.grookage.leia
leia-bom
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-bom
diff --git a/leia-refresher/pom.xml b/leia-refresher/pom.xml
index ae2bda8..37a67b7 100644
--- a/leia-refresher/pom.xml
+++ b/leia-refresher/pom.xml
@@ -21,7 +21,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-repository/pom.xml b/leia-repository/pom.xml
index 22ad48c..514c73e 100644
--- a/leia-repository/pom.xml
+++ b/leia-repository/pom.xml
@@ -22,7 +22,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-schema-validator/pom.xml b/leia-schema-validator/pom.xml
index 98db477..35fe8a0 100644
--- a/leia-schema-validator/pom.xml
+++ b/leia-schema-validator/pom.xml
@@ -22,7 +22,7 @@
com.grookage.leia
leia-parent
- 0.0.1-RC9
+ 0.0.1-RC10
../leia-parent
diff --git a/leia-schema-validator/src/main/java/com/grookage/leia/validator/StaticSchemaValidator.java b/leia-schema-validator/src/main/java/com/grookage/leia/validator/StaticSchemaValidator.java
index 040df77..d2fe584 100644
--- a/leia-schema-validator/src/main/java/com/grookage/leia/validator/StaticSchemaValidator.java
+++ b/leia-schema-validator/src/main/java/com/grookage/leia/validator/StaticSchemaValidator.java
@@ -28,11 +28,7 @@
import lombok.extern.slf4j.Slf4j;
import org.reflections.Reflections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Optional;
-import java.util.Set;
+import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Supplier;
diff --git a/pom.xml b/pom.xml
index 6a40cb9..12a737f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
4.0.0
com.grookage.leia
leia
- 0.0.1-RC9
+ 0.0.1-RC10
pom
Leia