-
Notifications
You must be signed in to change notification settings - Fork 1
/
experienceevent-prescription-details.schema.json
107 lines (107 loc) · 5.23 KB
/
experienceevent-prescription-details.schema.json
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
96
97
98
99
100
101
102
103
104
105
106
107
{
"meta:license": [
"Copyright 2020 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/xdm/mixins/industry-verticals/experienceevent-prescription-details",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Prescription Details",
"description": "",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:tags": {
"industry": [
"health_and_life_sciences"
]
},
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"definitions": {
"prescription-details": {
"properties": {
"xdm:prescription": {
"type": "object",
"properties": {
"xdm:deliveryEligible": {
"title": "Delivery Eligible",
"type": "boolean",
"description": "Indicates if the prescription available to be delivered.",
"meta:titleId": "experienceevent-prescription-details##xdm:deliveryEligible##title##33231",
"meta:descriptionId": "experienceevent-prescription-details##xdm:deliveryEligible##description##73921"
},
"xdm:ID": {
"title": "ID",
"type": "string",
"description": "ID for the prescription being filled.",
"meta:titleId": "experienceevent-prescription-details##xdm:ID##title##88401",
"meta:descriptionId": "experienceevent-prescription-details##xdm:ID##description##32641"
},
"xdm:refill": {
"title": "Refill",
"type": "boolean",
"description": "Indicates if the prescription is new or being refilled.",
"meta:titleId": "experienceevent-prescription-details##xdm:refill##title##89261",
"meta:descriptionId": "experienceevent-prescription-details##xdm:refill##description##62681"
},
"xdm:refillsRemaining": {
"title": "Refills Remaining",
"type": "integer",
"description": "Count of the remaining prescription refills available.",
"meta:titleId": "experienceevent-prescription-details##xdm:refillsRemaining##title##41101",
"meta:descriptionId": "experienceevent-prescription-details##xdm:refillsRemaining##description##83421"
},
"xdm:steps": {
"title": "Steps",
"$ref": "https://ns.adobe.com/xdm/datatypes/tool-usage",
"description": "Extension of toolUsage data type.",
"meta:status": "deprecated",
"meta:titleId": "experienceevent-prescription-details##xdm:steps##title##32971",
"meta:descriptionId": "experienceevent-prescription-details##xdm:steps##description##87941"
},
"xdm:upload": {
"title": "Upload",
"$ref": "https://ns.adobe.com/xdm/datatypes/file-transfer",
"description": "Extension of the File Transfer data type.",
"meta:titleId": "experienceevent-prescription-details##xdm:upload##title##42981",
"meta:descriptionId": "experienceevent-prescription-details##xdm:upload##description##45981"
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/prescription-details"
}
],
"meta:status": "stable",
"meta:createdDate": "2021-02-22",
"meta:titleId": "experienceevent-prescription-details##title##37731",
"meta:descriptionId": "experienceevent-prescription-details##description##84721",
"examples": [
{
"xdm:prescriptions": {
"xdm:prescriptionDeliveryEligible": true,
"xdm:prescriptionID": "",
"xdm:prescriptionRefill": true,
"xdm:prescriptionRefillsRemaining": 2,
"xdm:prescriptionUpload": {
"xdm:file-transfer": {
"xdm:fileName": "4",
"xdm:fileSize": "1024",
"xdm:fileTransferComplete": 1,
"xdm:fileTransferError": "1",
"xdm:fileTransferStart": 1,
"xdm:fileTransferType": "rx upload",
"xdm:fileType": "PDF"
}
}
}
}
]
}