forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfallback-content-option.schema.json
More file actions
95 lines (95 loc) · 4.69 KB
/
fallback-content-option.schema.json
File metadata and controls
95 lines (95 loc) · 4.69 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
92
93
94
95
{
"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/fallback-content-option",
"meta:intendedToExtend": [
"https://ns.adobe.com/experience/decisioning/option"
],
"meta:extends": [
"https://ns.adobe.com/experience/decisioning/lifecycle-status",
"https://ns.adobe.com/experience/decisioning/tags",
"https://ns.adobe.com/experience/decisioning/contents"
],
"meta:abstract": true,
"meta:extensible": true,
"type": "object",
"title": "Fallback Content Decision Option",
"description": "A default decision option that is used when there is no personalized content is left after checking all constraints. The Fallback content field group cannot be combined with field groups that express constraint because a fallback option must be remain applicable for any use in a given context.",
"definitions": {
"fallback-content-option": {
"properties": {}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/experience/decisioning/lifecycle-status"
},
{
"$ref": "https://ns.adobe.com/experience/decisioning/tags"
},
{
"$ref": "https://ns.adobe.com/experience/decisioning/contents"
},
{
"$ref": "#/definitions/fallback-content-option"
}
],
"meta:status": "stable",
"meta:titleId": "fallback-content-option##title##22151",
"meta:descriptionId": "fallback-content-option##description##84691",
"examples": [
{
"@id": "xcore:fallback-offer:20216ba8e04e44ac",
"https://ns.adobe.com/experience/decisioning/name": "Default Offer",
"https://ns.adobe.com/experience/decisioning/status": "approved",
"https://ns.adobe.com/experience/decisioning/tags": [
"xcore:tag:f87c371cd0b20be"
],
"https://ns.adobe.com/experience/decisioning/contents": [
{
"https://ns.adobe.com/experience/decisioning/placement": "xcore:offer-placement:f8eb10f058477e3",
"https://ns.adobe.com/experience/decisioning/components": [
{
"@type": "https://ns.adobe.com/experience/offer-management/content-component-text",
"dc:format": "text/plain",
"dc:language": [
"en"
],
"https://ns.adobe.com/experience/decisioning/content": "text entered directly"
}
]
},
{
"https://ns.adobe.com/experience/decisioning/placement": "xcore:offer-placement:f652463157c0ba4",
"https://ns.adobe.com/experience/decisioning/components": [
{
"@type": "https://ns.adobe.com/experience/offer-management/content-component-text",
"dc:format": "text/plain",
"dc:language": [
"en"
],
"repo:name": "legal_terms_2020.txt",
"repo:id": "urn:aaid:sc:VA7:3ae9f3b1-15fe-49bf-9a17-2a5bcd138762",
"repo:resolveURL": "https://platform-cs-stage.adobe.io/content/directory/resolve?id="urn:aaid:sc:VA7:3ae9f3b1-15fe-49bf-9a17-2a5bcd138762""
},
{
"@type": "https://ns.adobe.com/experience/offer-management/content-component-text",
"dc:format": "text/plain",
"dc:language": [
"es"
],
"repo:name": "legal_terms_2020.txt",
"repo:id": "urn:aaid:sc:VA7:3ae9f3b1-15fe-49bf-9a17-2a5bcd138762",
"repo:resolveURL": "https://platform-cs-stage.adobe.io/content/directory/resolve?id="urn:aaid:sc:VA7:3ae9f3b1-15fe-49bf-9a17-2a5bcd138762"&resource="api:metadata/application"&name="legal_terms_2020_es.txt""
}
]
}
]
}
]
}