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

jsinovassinnaik pushed a commit to branch 
UNOMI-790-remove-attributes-json-schema
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit 42e82756035992eda1e1700cc1ea28b7d29294d9
Author: jsinovassin <jsinovassinn...@jahia.com>
AuthorDate: Fri Aug 11 12:14:53 2023 +0200

    UNOMI-790 : remove possibility to add attributes in event
---
 .../schemas/items/page/page.properties.attributes.json    | 15 ---------------
 .../META-INF/cxs/schemas/items/page/page.properties.json  |  5 +----
 itests/src/test/resources/schemas/event-view.json         |  3 +--
 3 files changed, 2 insertions(+), 21 deletions(-)

diff --git 
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.attributes.json
 
b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.attributes.json
deleted file mode 100644
index cb54c2a93..000000000
--- 
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.attributes.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  "$id": 
"https://unomi.apache.org/schemas/json/items/page/properties/attributes/1-0-0";,
-  "$schema": "https://json-schema.org/draft/2019-09/schema";,
-  "self": {
-    "vendor": "org.apache.unomi",
-    "name": "attributes",
-    "format": "jsonschema",
-    "version": "1-0-0"
-  },
-  "title": "Page Attributes",
-  "type": ["null", "object"],
-  "properties": {
-  },
-  "unevaluatedProperties" : false
-}
\ No newline at end of file
diff --git 
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.json
 
b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.json
index 3abfd4d0e..a4ff0380a 100644
--- 
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.json
+++ 
b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.json
@@ -13,9 +13,6 @@
     "pageInfo": {
       "$ref" : 
"https://unomi.apache.org/schemas/json/items/page/properties/pageInfo/1-0-0";
     },
-    "attributes": {
-      "$ref" : 
"https://unomi.apache.org/schemas/json/items/page/properties/attributes/1-0-0";
-    },
     "consentTypes": {
       "type" : ["null", "array"],
       "items" : {
@@ -24,4 +21,4 @@
     }
   },
   "unevaluatedProperties" : false
-}
\ No newline at end of file
+}
diff --git a/itests/src/test/resources/schemas/event-view.json 
b/itests/src/test/resources/schemas/event-view.json
index 85763ecd1..a1b98a04c 100644
--- a/itests/src/test/resources/schemas/event-view.json
+++ b/itests/src/test/resources/schemas/event-view.json
@@ -20,7 +20,6 @@
         "tags": [],
         "sameDomainReferrer": false
       },
-      "attributes": {},
       "consentTypes": []
     }
   },
@@ -30,4 +29,4 @@
     "itemType": "site"
   },
   "flattenedProperties": {}
-}
\ No newline at end of file
+}

Reply via email to