{
    "title": "modify job commands",
    "id": "schemas/job/modifyJobs",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.job.ModifyJobs",
    "type": "object",
    "required": [
        "jobschedulerId",
        "jobs"
    ],
    "properties": {
        "jobschedulerId": {
            "type": "string"
        },
        "jobs": {
            "type": "array",
            "items": {
                "id": "schemas/job/modifyJob",
                "description": "the command is part of the web servive url",
                "javaType": "com.sos.joc.model.job.ModifyJob",
                "type": "object",
                "required": [
                    "job"
                ],
                "properties": {
                    "job": {
                        "id": "schemas/common/path",
                        "description": "absolute path based on live folder of a JobScheduler object.",
                        "type": "string",
                        "pattern": "/([^/]+/)*[^/]+"
                    },
                    "runTime": {
                        "description": "A run_time xml is expected which is specified in the <xsd:complexType name='run_time'> element of  http://www.sos-berlin.com/schema/scheduler.xsd",
                        "type": "string"
                    }
                }
            }
        },
        "auditLog": {
            "id": "schemas/common/auditParams",
            "javaType": "com.sos.joc.model.audit.AuditParams",
            "type": "object",
            "properties": {
                "comment": {
                    "type": "string"
                },
                "timeSpent": {
                    "id": "schemas/common/nonNegativeInteger",
                    "type": "integer",
                    "minimum": 0
                },
                "ticketLink": {
                    "type": "string"
                }
            }
        }
    }
}