You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by dg...@apache.org on 2022/08/30 12:09:11 UTC

[unomi] branch update-item-schema created (now 27b808106)

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

dgriffon pushed a change to branch update-item-schema
in repository https://gitbox.apache.org/repos/asf/unomi.git


      at 27b808106 UNOMI-654 : allow empty properties as item field

This branch includes the following new commits:

     new 27b808106 UNOMI-654 : allow empty properties as item field

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-654 : allow empty properties as item field

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

dgriffon pushed a commit to branch update-item-schema
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit 27b80810623e0cf68240bb15bebf222b10a34adf
Author: David Griffon <dg...@jahia.com>
AuthorDate: Tue Aug 30 14:09:04 2022 +0200

    UNOMI-654 : allow empty properties as item field
---
 .../services/src/main/resources/META-INF/cxs/schemas/items/item.json   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/item.json b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/item.json
index d4a9f7772..b5035f831 100644
--- a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/item.json
+++ b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/item.json
@@ -28,6 +28,9 @@
       "type" : ["null","integer"],
       "minimum" : 0,
       "description" : "The item's version number"
+    },
+    "properties": {
+      "type": ["null", "object"]
     }
   }
 }