forked from paritytech-stg/cmd-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
38 lines (38 loc) · 1.11 KB
/
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
{
"$id": "https://github.com/paritytech/cmd-action/blob/main/schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Command Action",
"description": "Schema for writting commands for the cmd-action",
"type": "object",
"properties": {
"name": {
"description": "Name of the command",
"type": "string"
},
"description": {
"description": "Detailed information on what the command does",
"type": "string"
},
"machine": {
"description": "VM to run the command on",
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
},
"timeout": {
"description": "Maximum time that the command can run before timing out",
"type": "number",
"exclusiveMinimum": 1
},
"commandStart": {
"description": "Bash command/file to start this command",
"type": "string"
}
},
"required": [
"name",
"commandStart"
]
}