{
    "title": "task modify",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "the command is part of the web servive url",
    "javaType": "com.sos.joc.model.job.ModifyTasks",
    "type": "object",
    "required": [
        "jobschedulerId"
    ],
    "properties": {
        "jobschedulerId": {
            "type": "string",
            "pattern": "^[^/\\<>?:\"|*]*$",
            "maxLength": 100
        },
        "jobs": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.job.TasksFilter",
                "type": "object",
                "properties": {
                    "job": {
                        "description": "absolute path based on live folder of a JobScheduler object.",
                        "type": "string",
                        "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                        "maxLength": 255
                    },
                    "taskIds": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "taskId": {
                                    "type": "string",
                                    "pattern": "^\\d+$"
                                }
                            }
                        }
                    }
                }
            }
        },
        "timeout": {
            "type": "integer",
            "minimum": 0
        },
        "auditLog": {
            "javaType": "com.sos.joc.model.audit.AuditParams",
            "type": "object",
            "properties": {
                "comment": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "timeSpent": {
                    "type": "integer",
                    "minimum": 0
                },
                "ticketLink": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                }
            }
        }
    }
}