forked from hbacila/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eventRelationship.schema.json
49 lines (49 loc) · 1.8 KB
/
eventRelationship.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"meta:license": [
"Copyright 2019 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/common/descriptors/eventRelationship",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Event Relationship Descriptor",
"meta:extensible": false,
"meta:extends": [
"https://ns.adobe.com/xdm/common/desciptors/schemadescriptor"
],
"meta:abstract": false,
"type": "object",
"description": "Used by the UPS system to assign the specific schema that will used for the timeSeriesEvents field which is part of the union view of a class. If not supplied, the system today will default to the unified ExperienceEvent.",
"definitions": {
"eventRelationship": {
"properties": {
"@type": {
"type": "string",
"const": "xdm:eventRelationship"
},
"xdm:destinationSchema": {
"title": "Destination Schema",
"type": "string",
"format": "uri",
"description": "The destination schema this descriptor applies to"
},
"xdm:destinationVersion": {
"title": "Destination Version",
"type": "number",
"description": "When present, major version being referenced."
}
},
"required": ["xdm:destinationSchema", "xdm:destinationVersion"]
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/descriptors/schemadescriptor#/definitions/descriptor"
},
{
"$ref": "#/definitions/eventRelationship"
}
],
"meta:status": "stabilizing"
}