-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.json
56 lines (53 loc) · 1.81 KB
/
script.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
{
"name" : "script",
"author" : "z1p",
"version" : 3.11,
"categories" : ["automation"],
"description" : "Runs a defined python script.",
"icon" : null,
"requirements" : {
"jimi_min_version" : null,
"jimi_max_version" : null,
"plugins" : []
},
"collections" : {
},
"triggers" : {
},
"actions" : {
"scriptBlock" : {
"display_name" : "scriptBlock",
"className" : "_scriptBlock",
"class_location" : "models.action",
"description" : "Executes a provided python script block string provided to the object.",
"fields" : [
{ "schema_item" : "scriptBlock", "schema_value" : "scriptBlock", "type" : "script", "label" : "scriptBlock", "description" : "A function formatted script block that must contain the run function as per the initial value of this field.", "required" : true, "jimi_syntax" : true }
],
"data_out" : {
"result" : {
"description" : "Returns the scripts True/False.",
"type" : "boolean",
"always_present" : true,
"values" : {
}
},
"rc" : {
"description" : "Returns the scripts exit code.",
"type" : "number",
"always_present" : true,
"values" : {
}
},
"data" : {
"description" : "Updates data with the value provided by the script.",
"type" : "json",
"always_present" : true,
"values" : {
}
}
}
}
},
"settings" : {
}
}