Shell Scripting: Structured Representation¶
We present in what follows the structured representation for the shell scripting language.
{
"$id": "software-directory/scripting/shell",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Shell Scripting Language Schema",
"type": "object",
"allOf": [
{
"$ref": "../../software/application.json"
}
],
"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"
}
}
}
{
"exec": "sh",
"flavor": "sh",
"name": "shell",
"shortName": "sh",
"summary": "Shell Script",
"version": "4.2.46"
}