{
    "title": "java executable",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.inventory.model.job.ExecutableJava",
    "type": "object",
    "extends": {
        "javaType": "com.sos.inventory.model.job.Executable",
        "type": "object",
        "required": [
            "TYPE"
        ],
        "properties": {
            "TYPE": {
                "javaType": "com.sos.inventory.model.job.ExecutableType",
                "type": "string",
                "enum": [
                    "ShellScriptExecutable",
                    "ScriptExecutable",
                    "InternalExecutable"
                ],
                "javaEnumNames": [
                    "ShellScriptExecutable",
                    "ScriptExecutable",
                    "InternalExecutable"
                ]
            }
        },
        "additionalProperties": false
    },
    "required": [
        "className"
    ],
    "propertyOrder": [
        "TYPE",
        "className"
    ],
    "description": "executable with fixed property 'TYPE':'InternalExecutable'",
    "properties": {
        "className": {
            "type": "string",
            "minLength": 1
        },
        "jobArguments": {
            "description": "a map for arbitrary key-value pairs",
            "javaType": "com.sos.inventory.model.common.Variables",
            "type": "object",
            "additionalProperties": true
        },
        "returnCodeMeaning": {
            "javaType": "com.sos.inventory.model.job.JobReturnCodeWarning",
            "type": "object",
            "properties": {
                "warning": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                }
            },
            "additionalProperties": false
        },
        "arguments": {
            "description": "a map for arbitrary key-value pairs",
            "javaType": "com.sos.inventory.model.job.Environment",
            "type": "object",
            "additionalProperties": {
                "type": "string"
            }
        }
    },
    "additionalProperties": false
}