This is an automated email from the ASF dual-hosted git repository.
shuber pushed a commit to branch UNOMI-569-flatten-schemas
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/UNOMI-569-flatten-schemas by
this push:
new 11c489460 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.
11c489460 is described below
commit 11c489460dd306b4f191bdc7f8584ac9aecdd268
Author: Serge Huber <[email protected]>
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