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:12 UTC

[unomi] 01/01: UNOMI-654 : allow empty properties as item field

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"]
     }
   }
 }