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/09 18:18:24 UTC
[unomi] 04/06: UNOMI-569 Flatten schemas - Move page and site to top level objects - Page and site are now using item as parent validation instead of custom item - Removed conditiontype JSON schema as it is not needed.
This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch UNOMI-569-flatten-schemas
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit db26ebe1e04182294463df03c00d5a3bc244515c
Author: Serge Huber <sh...@jahia.com>
AuthorDate: Tue Jun 7 09:23:34 2022 +0200
UNOMI-569 Flatten schemas
- Move page and site to top level objects
- Page and site are now using item as parent validation instead of custom item
- Removed conditiontype JSON schema as it is not needed.
---
.../services/src/main/resources/META-INF/cxs/schemas/events/view.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/events/view.json b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/events/view.json
index 8ad5e754c..ad7455abf 100644
--- a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/events/view.json
+++ b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/events/view.json
@@ -13,10 +13,10 @@
"allOf": [{ "$ref": "https://unomi.apache.org/schemas/json/event/1-0-0" }],
"properties" : {
"source" : {
- "$ref" : "https://unomi.apache.org/schemas/json/customitems/site/1-0-0"
+ "$ref" : "https://unomi.apache.org/schemas/json/items/site/1-0-0"
},
"target" : {
- "$ref" : "https://unomi.apache.org/schemas/json/customitems/page/1-0-0"
+ "$ref" : "https://unomi.apache.org/schemas/json/items/page/1-0-0"
}
},
"unevaluatedProperties": false