forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.schema.json
78 lines (78 loc) · 3.19 KB
/
application.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
{
"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/"
],
"$id": "https://ns.adobe.com/xdm/context/application",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Application",
"type": "object",
"description": "The details related to the application that the interaction is being generated by. Here application refers to a a software experience (such as a mobile application or desktop application) that can be installed, run, closed, uninstalled by the end user. This is not intended to describe agents such as chatbots, browser-based plugins, or other experiences that do not follow this lifecycle.",
"meta:extensible": true,
"definitions": {
"application": {
"properties": {
"xdm:id": {
"title": "Application Identifier",
"type": "string",
"description": "Identifier of the application."
},
"xdm:name": {
"title": "Name",
"type": "string",
"description": "Name of the application."
},
"xdm:version": {
"title": "Version",
"type": "string",
"description": "Version of the application."
},
"xdm:applicationCloses": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Graceful termination(s) of an application."
},
"xdm:crashes": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Triggered when the application does not exit gracefully. Event is sent on application launch after a crash."
},
"xdm:featureUsages": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Activation(s) of an application feature that is being measured."
},
"xdm:installs": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Install of an application on a device where the actual install event is available."
},
"xdm:firstLaunches": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Triggered on first launch after install."
},
"xdm:launches": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Launch of an application. Triggered on every run, including crashes and installs. Also triggered on a resume from background when the lifecycle session timeout has been exceeded."
},
"xdm:upgrades": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Upgrade of an application that has previously been installed. Triggered on first launch after upgrade."
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/application"
}
],
"meta:status": "stabilizing"
}