-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlmacTaskType.json
More file actions
66 lines (66 loc) · 1.55 KB
/
lmacTaskType.json
File metadata and controls
66 lines (66 loc) · 1.55 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://www.lavishsoft.com/schema/lmacTaskType.json",
"description": "An LMAC Task Type",
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "Name of the LMAC Task Type",
"type": "string",
"examples": [
"isboxer2.Keystroke",
"isboxer2launcher.DebugTrace",
"isboxer2launcher.LaunchTeam"
]
},
"schema": {
"allOf": [
{
"$ref": "http://www.lavishsoft.com/schema/isboxer2/isboxer2.json"
}
],
"description": "Define any parameters for a Task of this Type. GUI can be provided based on the schema."
}
},
"oneOf": [
{
"properties": {
"object": {
"type": "string",
"description": "LavishScript Object with a Method to handle this Task",
"examples": [
"ISB2_MyModule"
]
},
"method": {
"type": "string",
"description": "LavishScript Method to perform on the object, for this Task",
"examples": [
"Task_MyTask",
"Task_Keystroke",
"Task_DebugTrace"
]
}
},
"required": [
"object",
"method"
]
},
{
"properties": {
"function": {
"type": "string",
"description": "Lua function to handle this Task. (ISBoxer 2 Launcher only)"
}
},
"required": [
"function"
]
}
],
"required": [
"name"
]
}