forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoffer-detail.schema.json
More file actions
43 lines (43 loc) · 2.06 KB
/
offer-detail.schema.json
File metadata and controls
43 lines (43 loc) · 2.06 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
{
"meta:license": [
"Copyright 2018 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/campaign/offer-detail",
"meta:abstract": true,
"meta:extensible": true,
"type": "object",
"title": "Campaign Offer Detail",
"meta:extends": [
"https://ns.adobe.com/experience/offer-management/offer-detail"
],
"description": "Campaign offer detail is used to capture the attributes of a Campaign offer in a proposition or response. Offers are the decision options in the Offer Management domain and the Campaign offer detail datatype extends the option detail datatype.",
"definitions": {
"offer-detail": {
"properties": {
"xdm:eligibilityRule": {
"type": "string",
"format": "uri",
"title": "Eligibility Rule",
"description": "The reference to an eligibility rule that tests a condition using the profile and/or other contextual XDM instances. The value is the URI (@id) of the eligibility rule that is referenced. See schema https://ns.adobe.com/experience/offer-management/eligibility-rule",
"meta:titleId": "offer-detail##xdm:eligibilityRule##title##57631",
"meta:descriptionId": "offer-detail##xdm:eligibilityRule##description##82231"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/offer-detail"
},
{
"$ref": "https://ns.adobe.com/experience/offer-management/offer-detail"
}
],
"meta:status": "stable",
"meta:titleId": "offer-detail##title##49661",
"meta:descriptionId": "offer-detail##description##34991"
}