{
"schemaId": "software-directory/scripting/shell",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Shell Scripting Language Schema",
"type": "object",
"allOf": [
{
"schemaId": "software/application",
"title": "application schema (base)",
"type": "object",
"properties": {
"name": {
"description": "The name of the application. e.g. espresso",
"type": "string"
},
"shortName": {
"description": "The short name of the application. e.g. qe",
"type": "string"
},
"summary": {
"description": "Application's short description.",
"type": "string"
},
"version": {
"description": "Application version. e.g. 5.3.5",
"type": "string"
},
"build": {
"description": "Application build. e.g. VTST",
"type": "string"
},
"hasAdvancedComputeOptions": {
"description": "Whether advanced compute options are present",
"type": "boolean"
},
"isLicensed": {
"description": "Whether licensing is present",
"type": "boolean"
}
},
"additionalProperties": true,
"required": [
"name"
]
}
],
"properties": {
"name": {
"enum": [
"shell"
]
},
"flavor": {
"enum": [
"sh",
"bash",
"zsh",
"csh"
]
},
"summary": {
"enum": [
"Shell Script"
]
},
"version": {
"enum": [
"4.2.46"
]
},
"exec": {
"enum": [
"sh",
"bash",
"zsh",
"csh"
]
},
"arguments": {
"description": "Optional arguments passed to the Shell script",
"type": "string"
},
"environment": {
"description": "Optional environment variables exported before running the Shell script",
"type": "object"
}
}
}