-
Notifications
You must be signed in to change notification settings - Fork 0
/
experienceevent-file-upload-details.schema.json
73 lines (73 loc) · 2.53 KB
/
experienceevent-file-upload-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
{
"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/experienceevent-file-upload-details",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "File Upload Details",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:tags": {
"industry": [
"retail",
"financial_services",
"travel_and_hospitality",
"telecom",
"automotive",
"education",
"health_and_life_sciences",
"high_tech",
"manufacturing",
"media_and_entertainment",
"public_sector"
]
},
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"description": "File upload details such as file name, size, and transfer status.",
"definitions": {
"file-upload-details": {
"properties": {
"xdm:fileTransfer": {
"type": "object",
"properties": {
"xdm:fileUpload": {
"title": "File Upload",
"$ref": "https://ns.adobe.com/xdm/datatypes/file-transfer",
"description": "Tracks all details of a file upload. Extension of file transfer data type."
}
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/file-upload-details"
}
],
"meta:status": "experimental",
"examples": [
{
"xdm:fileTransfer": {
"xdm:fileUpload": {
"xdm:file-transfer": {
"xdm:fileName": "4",
"xdm:fileSize": "1024",
"xdm:fileTransferComplete": 1,
"xdm:fileTransferStart": 1,
"xdm:fileTransferError": "1",
"xdm:fileTransferType": "catalog download",
"xdm:fileType": "PDF",
"xdm:fileURL": "https://adobe.com/catalog.pdf"
}
}
}
}
]
}