forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivity-detail.schema.json
More file actions
91 lines (91 loc) · 4.63 KB
/
activity-detail.schema.json
File metadata and controls
91 lines (91 loc) · 4.63 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"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/experience/decisioning/activity-detail",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Decision Activity Details",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"description": "Snapshot of the properties of the decision activity. A decision activity is an entity that controls a decisioning process. Decisions are made in the context of an activity. See definition of decision activty for more details.",
"definitions": {
"activity-detail-datatype": {
"properties": {
"xdm:id": {
"title": "Activity Identifier",
"type": "string",
"format": "uri-reference",
"description": "A unique, immutable identifier for the decision activity.",
"meta:titleId": "activity-detail##xdm:id##title##69851",
"meta:descriptionId": "activity-detail##xdm:id##description##18591"
},
"repo:etag": {
"title": "Activity ETag",
"type": "string",
"description": "The revision that the decision activity object was at when the snapshot was taken.",
"meta:titleId": "activity-detail##repo:etag##title##93171",
"meta:descriptionId": "activity-detail##repo:etag##description##73231"
},
"xdm:name": {
"title": "Activity Name",
"type": "string",
"description": "Activity name. The name is displayed in various user interfaces.",
"meta:titleId": "activity-detail##xdm:name##title##68831",
"meta:descriptionId": "activity-detail##xdm:name##description##14731"
},
"xdm:startTime": {
"title": "Activity Start Date and Time",
"type": "string",
"format": "date-time",
"description": "Activity start date and end time. Property has the semantic of schema.org's 'startTime' property defined on http://schema.org/Action",
"meta:titleId": "activity-detail##xdm:startTime##title##24701",
"meta:descriptionId": "activity-detail##xdm:startTime##description##73361"
},
"xdm:endTime": {
"title": "Activity End Date and Time",
"type": "string",
"format": "date-time",
"description": "Activity end date and end time. Property has the semantic of schema.org's 'endTime' property defined on http://schema.org/Action",
"meta:titleId": "activity-detail##xdm:endTime##title##48821",
"meta:descriptionId": "activity-detail##xdm:endTime##description##85111"
},
"xdm:fallback": {
"title": "Fallback Option",
"type": "string",
"format": "uri-reference",
"description": "The reference to a fallback option that is used when decisioning in the context of this activity does not qualify any of the regular options (this typically happens when hard constraints are applied). The value is the URI (@id) of the fallback option that is referenced.",
"meta:titleId": "activity-detail##xdm:fallback##title##82451",
"meta:descriptionId": "activity-detail##xdm:fallback##description##3941"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/activity-detail-datatype"
},
{
"required": [
"xdm:id"
]
}
],
"meta:status": "stable",
"meta:titleId": "activity-detail##title##77021",
"meta:descriptionId": "activity-detail##description##92581",
"examples": [
{
"xdm:id": "xcore:offer-activity:ebc48132c26ccfc",
"xdm:name": "Tutorial videos to watch",
"xdm:startTime": "2018-10-13T05:59:18.914Z",
"xdm:endTime": "2018-12-27T05:59:18.914Z"
}
]
}