{
    "title": "JS Junction Edit configuration",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.jobscheduler.model.junction.JunctionPublish",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.publish.JSObject"
    },
    "properties": {
        "content": {
            "javaType": "com.sos.jobscheduler.model.junction.Junction",
            "type": "object",
            "javaInterfaces": [
                "com.sos.joc.model.common.IConfigurationObject",
                "com.sos.joc.model.common.IDeployObject"
            ],
            "required": [
                "path"
            ],
            "propertyOrder": [
                "TYPE",
                "path",
                "lifetime",
                "orderId"
            ],
            "description": "deploy object with fixed property 'TYPE':'Junction'",
            "properties": {
                "TYPE": {
                    "javaType": "com.sos.jobscheduler.model.deploy.DeployType",
                    "type": "string",
                    "enum": [
                        "Workflow",
                        "JobClass",
                        "Lock",
                        "Junction"
                    ],
                    "javaEnumNames": [
                        "Workflow",
                        "JobClass",
                        "Lock",
                        "Junction"
                    ],
                    "default": "Workflow"
                },
                "path": {
                    "description": "absolute path of a JobScheduler object.",
                    "type": "string",
                    "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                    "maxLength": 255
                },
                "versionId": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "lifetime": {
                    "type": "integer",
                    "minimum": 0
                },
                "orderId": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "documentationId": {
                    "type": "number",
                    "format": "utc-millisec",
                    "minimum": 0
                },
                "title": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                }
            },
            "additionalProperties": false
        }
    }
}