You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by jk...@apache.org on 2022/06/21 08:24:29 UTC

[unomi] branch upgradeJsonSchemaValidator created (now b5a454439)

This is an automated email from the ASF dual-hosted git repository.

jkevan pushed a change to branch upgradeJsonSchemaValidator
in repository https://gitbox.apache.org/repos/asf/unomi.git


      at b5a454439 UNOMI-595: upgrade json-schema-validation lib to 1.0.71 and fix URLParameter schema

This branch includes the following new commits:

     new b5a454439 UNOMI-595: upgrade json-schema-validation lib to 1.0.71 and fix URLParameter schema

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[unomi] 01/01: UNOMI-595: upgrade json-schema-validation lib to 1.0.71 and fix URLParameter schema

Posted by jk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jkevan pushed a commit to branch upgradeJsonSchemaValidator
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit b5a45443937ff89589d578447a56cc328fd372d4
Author: Kevan <ke...@jahia.com>
AuthorDate: Tue Jun 21 10:24:00 2022 +0200

    UNOMI-595: upgrade json-schema-validation lib to 1.0.71 and fix URLParameter schema
---
 extensions/json-schema/services/pom.xml                           | 6 +++---
 .../META-INF/cxs/schemas/items/URLParameters/URLParameters.json   | 8 +++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/extensions/json-schema/services/pom.xml b/extensions/json-schema/services/pom.xml
index 86a54c8fb..efe137f79 100644
--- a/extensions/json-schema/services/pom.xml
+++ b/extensions/json-schema/services/pom.xml
@@ -32,9 +32,9 @@
     <packaging>bundle</packaging>
 
     <properties>
-        <version.schema>1.0.69</version.schema>
-        <version.schema.jackson>2.12.1</version.schema.jackson>
-        <version.schema.itu>1.5.1</version.schema.itu>
+        <version.schema>1.0.71</version.schema>
+        <version.schema.jackson>2.13.3</version.schema.jackson>
+        <version.schema.itu>1.7.0</version.schema.itu>
     </properties>
 
     <dependencies>
diff --git a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/URLParameters/URLParameters.json b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/URLParameters/URLParameters.json
index 57c49fe6c..3d7e3a6d0 100644
--- a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/URLParameters/URLParameters.json
+++ b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/URLParameters/URLParameters.json
@@ -11,9 +11,11 @@
   "type": "object",
   "patternProperties": {
     "^.*$": {
-      "type": "string"
+      "type": ["array", "string"],
+      "items": {
+        "type": "string"
+      }
     }
   },
-  "unevaluatedProperties": false,
-  "$comment" : "TODO: UNOMI-595, allow for both types: [\"array\", \"string\"] when json-schema-validator is fixed on multiple types handling"
+  "unevaluatedProperties": false
 }
\ No newline at end of file