{
    "title": "JobResource",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.inventory.model.jobresource.JobResource",
    "type": "object",
    "javaInterfaces": [
        "com.sos.joc.model.common.IConfigurationObject",
        "com.sos.joc.model.common.IDeployObject",
        "com.sos.inventory.model.common.IInventoryObject"
    ],
    "anyOf": [
        {
            "required": [
                "env"
            ]
        },
        {
            "required": [
                "arguments"
            ]
        }
    ],
    "propertyOrder": [
        "TYPE",
        "version",
        "arguments",
        "env"
    ],
    "description": "deploy object with fixed property 'TYPE':'JobResource'",
    "properties": {
        "TYPE": {
            "javaType": "com.sos.inventory.model.deploy.DeployType",
            "type": "string",
            "enum": [
                "Workflow",
                "JobClass",
                "Lock",
                "FileWatch",
                "JobResource",
                "Board"
            ],
            "javaEnumNames": [
                "Workflow",
                "JobClass",
                "Lock",
                "FileWatch",
                "JobResource",
                "Board"
            ],
            "default": "Workflow"
        },
        "version": {
            "description": "inventory repository version",
            "type": "string",
            "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
            "default": "1.1.0",
            "maxLength": 10
        },
        "arguments": {
            "alias": "settings",
            "description": "a map for arbitrary key-value pairs",
            "javaType": "com.sos.inventory.model.job.Environment",
            "type": "object",
            "additionalProperties": {
                "type": "string"
            }
        },
        "env": {
            "description": "a map for arbitrary key-value pairs",
            "javaType": "com.sos.inventory.model.job.Environment",
            "type": "object",
            "additionalProperties": {
                "type": "string"
            }
        },
        "documentationName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "title": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        }
    },
    "additionalProperties": false
}