/
extension.json
75 lines (75 loc) · 1.79 KB
/
extension.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
{
"platform": "web",
"displayName": "Hello World",
"name": "hello-world",
"version": "1.0.0",
"description": "Greets users in a friendly fashion.",
"iconPath": "resources/icons/Use_Your_Own_Logo.svg",
"author": {
"name": "Adobe Systems Incorporated",
"url": "http://adobe.com",
"email": "reactor@adobe.com"
},
"viewBasePath": "src/view/",
"events": [{
"name": "delay",
"displayName": "Delay",
"libPath": "src/lib/events/delay.js",
"viewPath": "events/delay.html",
"schema": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"delay": {
"type": "number",
"minimum": 1
}
},
"required": [
"delay"
],
"additionalProperties": false
}
}],
"conditions": [{
"name": "query-parameter",
"displayName": "Query Parameter",
"libPath": "src/lib/conditions/query-parameter.js",
"viewPath": "conditions/query-parameter.html",
"schema": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"queryParam": {
"type": "string",
"minLength": 1
},
"queryParamValue": {
"type": "string",
"minLength": 1
}
},
"required": [
"queryParam",
"queryParamValue"
],
"additionalProperties": false
}
}],
"actions": [{
"name": "alert",
"displayName": "Alert",
"libPath": "src/lib/actions/alert.js",
"viewPath": "actions/alert.html",
"schema": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"additionalProperties": false
}
}]
}