{
    "title": "jobClass",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.inventory.model.jobclass.JobClass",
    "type": "object",
    "javaInterfaces": [
        "com.sos.joc.model.common.IConfigurationObject",
        "com.sos.joc.model.common.IDeployObject",
        "com.sos.inventory.model.common.IInventoryObject"
    ],
    "propertyOrder": [
        "TYPE",
        "version",
        "maxProcesses",
        "priority"
    ],
    "description": "deploy object with fixed property 'TYPE':'jobClass'",
    "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.0.0",
            "maxLength": 10
        },
        "maxProcesses": {
            "type": "integer",
            "minimum": 0,
            "default": 30
        },
        "priority": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 100
        },
        "documentationName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "title": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        }
    },
    "additionalProperties": false
}