forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalendar-constraint-details.schema.json
More file actions
51 lines (51 loc) · 2.55 KB
/
calendar-constraint-details.schema.json
File metadata and controls
51 lines (51 loc) · 2.55 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
{
"meta:license": [
"Copyright 2021 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/"
],
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "https://ns.adobe.com/experience/decisioning/calendar-constraint-details",
"meta:extensible": true,
"type": "object",
"title": "Calendar Constraint Details",
"description": "A calendar constraint is a component of a decision option that defines the date range when option is valid. Outside that date range the option cannot be proposed.",
"definitions": {
"calendar-constraint-details": {
"type": "object",
"properties": {
"xdm:startDate": {
"type": "string",
"format": "date-time",
"title": "Start Date & Time",
"description": "The start date of a decision options validity.. Options that have not reached their start date cannot be proposed yet in the decisioning process.",
"meta:titleId": "calendar-constraint-details##xdm:startDate##title##74581",
"meta:descriptionId": "calendar-constraint-details##xdm:startDate##description##20281"
},
"xdm:endDate": {
"type": "string",
"format": "date-time",
"title": "End Date & Time",
"description": "The end date of a decision options validity. Options that have passed their end date can no longer cannot be proposed in the decisioning process.",
"meta:titleId": "calendar-constraint-details##xdm:endDate##title##67111",
"meta:descriptionId": "calendar-constraint-details##xdm:endDate##description##70171"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/calendar-constraint-details"
}
],
"meta:status": "stable",
"meta:titleId": "calendar-constraint-details##title##57791",
"meta:descriptionId": "calendar-constraint-details##description##16571",
"examples": [
{
"https://ns.adobe.com/experience/decisioning/startTime": "2018-03-13T05:59:18.914Z",
"https://ns.adobe.com/experience/decisioning/endTime": "2018-12-27T05:59:18.914Z"
}
]
}