{
"allOf": [
{
"schemaId": "software-application",
"required": [
"name"
],
"type": "object",
"properties": {
"build": {
"type": "string",
"description": "Application build. e.g. VTST"
},
"shortName": {
"type": "string",
"description": "The short name of the application. e.g. qe"
},
"version": {
"type": "string",
"description": "Application version. e.g. 5.3.5"
},
"name": {
"type": "string",
"description": "The name of the application. e.g. espresso"
},
"summary": {
"type": "string",
"description": "Application's short description."
}
},
"title": "application schema (base)"
}
],
"schemaId": "software-directory-scripting-python",
"title": "Python Programing Language Schema",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"name": {
"enum": [
"python"
]
},
"exec": {
"enum": [
"python"
]
},
"summary": {
"enum": [
"Python Script"
]
},
"environment": {
"type": "object",
"description": "Optional environment variables exported before running the Python script"
},
"version": {
"enum": [
"2.7.5",
"3.6.1"
]
},
"arguments": {
"type": "string",
"description": "Optional arguments passed to the Python script"
},
"dependencies": {
"type": "array",
"description": "Optional Python dependencies, e.g. amqp==1.4.6"
},
"flavor": {
"enum": [
"python2",
"python3"
]
}
}
}