forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlifecycle-status.schema.json
More file actions
62 lines (62 loc) · 2.77 KB
/
lifecycle-status.schema.json
File metadata and controls
62 lines (62 loc) · 2.77 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
{
"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/lifecycle-status",
"meta:intendedToExtend": [
"https://ns.adobe.com/experience/decisioning/option"
],
"meta:abstract": true,
"meta:extensible": true,
"type": "object",
"title": "Decision Option Lifecycle Status",
"description": "Lifecycle status allows user workflows to be conducted with offers. The status may affect where an offer is visible or considered relevant. Status changes are driven by the clients or services that use offers.",
"definitions": {
"lifecycle-status-mixin": {
"properties": {
"https://ns.adobe.com/experience/decisioning/lifecycleStatus": {
"type": "string",
"title": "Lifecycle Status",
"description": "Lifecycle status allows workflows to be conducted with an object. The status may affect where an object is visible or considered relevant. Status changes are driven by the clients or services that use the objects.",
"enum": [
"draft",
"approved",
"live",
"completed",
"archived"
],
"default": "draft",
"meta:enum": {
"draft": "Draft",
"approved": "Approved",
"live": "Live",
"completed": "Completed",
"archived": "Archived"
},
"meta:titleId": "lifecycle-status##https://ns.adobe.com/experience/decisioning/lifecycleStatus##title##11911",
"meta:descriptionId": "lifecycle-status##https://ns.adobe.com/experience/decisioning/lifecycleStatus##description##34741"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/lifecycle-status-mixin"
}
],
"meta:status": "stable",
"meta:titleId": "lifecycle-status##title##73401",
"meta:descriptionId": "lifecycle-status##description##67561",
"examples": [
{
"https://ns.adobe.com/experience/decisioning/lifecycleStatus": "draft"
}
]
}