forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfile-transfer.schema.json
More file actions
70 lines (70 loc) · 2.75 KB
/
file-transfer.schema.json
File metadata and controls
70 lines (70 loc) · 2.75 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
{
"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/datatypes/file-transfer",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "File Transfer",
"type": "object",
"meta:extensible": true,
"description": "",
"definitions": {
"file-transfer": {
"properties": {
"xdm:fileName": {
"title": "File Name",
"type": "string",
"description": "Friendly name of the file being up/downloaded by the visitor."
},
"xdm:fileSize": {
"title": "File Size",
"type": "number",
"description": "File size of file being up/downloaded by the visitor."
},
"xdm:fileTransferComplete": {
"title": "File Transfer Complete",
"type": "integer",
"description": "Captured when a file transfer is successfully completed."
},
"xdm:fileTransferStart": {
"title": "File Transfer Start",
"type": "integer",
"description": "Captured when a file transfer is initiated."
},
"xdm:fileTransferError": {
"title": "File Transfer Error",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Captured when an error occurs during the file transfer process."
},
"xdm:fileTransferType": {
"title": "File Transfer Type",
"type": "string",
"description": "Type of the file transfer, if applicable."
},
"xdm:fileType": {
"title": "File Type",
"type": "string",
"description": "Type or category of file being up/downloaded by the visitor."
},
"xdm:fileURL": {
"title": "File URL",
"format": "uri",
"type": "string",
"description": "URL of file being up/downloaded by the visitor."
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/file-transfer"
}
],
"meta:status": "experimental",
"examples": [
{}
]
}