jx/internal/resource/schemas/command.schema.json

32 lines
654 B
JSON
Raw Permalink Normal View History

{
"$id": "command.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "command",
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "command path",
"minLength": 1
},
"args": {
"type": "array",
"description": "list of command args",
"items": {
"type": "string"
}
},
"split": {
"type": "boolean",
"description": "split command line args by space"
},
"failonerror": {
"type": "boolean",
"description": "Generate an error if the command fails",
"items": {
"type": "string"
}
}
}
}