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
The following commit(s) were added to refs/heads/UNOMI-569-flatten-schemas by
this push:
new 15de8f675 UNOMI-569: fix pageInfo schema for view event
15de8f675 is described below
commit 15de8f675dcc44ddc5f2fca070f212b65d234594
Author: Kevan <[email protected]>
AuthorDate: Fri Jun 10 12:04:13 2022 +0200
UNOMI-569: fix pageInfo schema for view event
---
.../items/page/page.properties.pageInfo.json | 25 +++++++++++++---------
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.pageInfo.json
b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.pageInfo.json
index 2cce0649f..8f1702e53 100644
---
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.pageInfo.json
+++
b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.pageInfo.json
@@ -11,16 +11,19 @@
"type": "object",
"properties": {
"templateName": {
- "type": "string"
+ "type": ["null", "string"]
},
"language": {
- "type": "string",
+ "type": ["null", "string"],
"maxLength": 5
},
"destinationURL": {
- "type": "string",
+ "type": ["null", "string"],
"format": "uri"
},
+ "destinationSearch": {
+ "type": ["null", "string"]
+ },
"categories": {
"type": "array",
"items": {
@@ -28,20 +31,19 @@
}
},
"pageID": {
- "type": "string",
- "pattern": "^(\\w|[-_@\\.]){0,60}$"
+ "type": ["null", "string"]
},
"nodeType": {
- "type": "string"
+ "type": ["null", "string"]
},
"pagePath": {
- "type": "string"
+ "type": ["null", "string"]
},
"pageName": {
- "type": "string"
+ "type": ["null", "string"]
},
"referringURL": {
- "type": "string",
+ "type": ["null", "string"],
"format": "uri"
},
"tags": {
@@ -51,7 +53,10 @@
}
},
"isContentTemplate": {
- "type": "boolean"
+ "type": ["null", "boolean"]
+ },
+ "sameDomainReferrer": {
+ "type": ["null", "boolean"]
}
},
"unevaluatedProperties" : false