{
    "title": "edit job configuration",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.joe.job.JobEdit",
    "type": "object",
    "required": [
        "configuration"
    ],
    "extends": {
        "javaType": "com.sos.joc.model.joe.common.JSObjectEdit"
    },
    "properties": {
        "configuration": {
            "javaType": "com.sos.joc.model.joe.job.Job",
            "javaInterfaces": [
                "com.sos.joc.model.joe.common.IJSObject"
            ],
            "type": "object",
            "properties": {
                "priority": {
                    "description": "possible values windows: idle, below_normal, normal, above_normal, high; possible values unix: integer from -20 to 20",
                    "type": "string"
                },
                "title": {
                    "type": "string"
                },
                "isOrderJob": {
                    "xmlElement": "order",
                    "description": "possible values: yes, no, 1, 0, true, false",
                    "type": "string",
                    "default": "false"
                },
                "criticality": {
                    "xmlElement": "criticality",
                    "description": "possible values: normal, minor, major",
                    "type": "string",
                    "default": "normal"
                },
                "enabled": {
                    "description": "possible values: yes, no, 1, 0, true, false",
                    "type": "string",
                    "default": "true"
                },
                "maxTasks": {
                    "xmlElement": "tasks",
                    "type": "integer",
                    "minimum": 0,
                    "default": 1
                },
                "minTasks": {
                    "type": "integer",
                    "minimum": 0
                },
                "timeout": {
                    "type": "string"
                },
                "idleTimeout": {
                    "type": "string"
                },
                "forceIdleTimeout": {
                    "description": "possible values: yes, no, 1, 0, true, false",
                    "type": "string",
                    "default": "false"
                },
                "processClass": {
                    "description": "path of a process class object",
                    "type": "string"
                },
                "javaOptions": {
                    "type": "string"
                },
                "stopOnError": {
                    "description": "possible values: yes, no, 1, 0, true, false",
                    "type": "string",
                    "default": "true"
                },
                "ignoreSignals": {
                    "description": "possible values: positive Integer or SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGIOT, SIGBUS, SIGFPE, SIGKILL, SIGUSR1, SIGSEGV, SIGUSR2, SIGPIPE, SIGALRM, SIGTERM, SIGSTKFLT, SIGCHLD, SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU, SIGURG, SIGXCPU, SIGXFSZ, SIGVTALRM, SIGPROF, SIGWINCH, SIGPOLL, SIGIO, SIGPWR, SIGSYS",
                    "type": "string"
                },
                "warnIfLongerThan": {
                    "type": "string"
                },
                "warnIfShorterThan": {
                    "type": "string"
                },
                "stderrLogLevel": {
                    "description": "possible values: error and info",
                    "type": "string",
                    "default": "info"
                },
                "credentialsKey": {
                    "type": "string"
                },
                "loadUserProfile": {
                    "description": "possible values: yes, no, 1, 0, true, false",
                    "type": "string",
                    "default": "false"
                },
                "settings": {
                    "javaType": "com.sos.joc.model.joe.job.Settings",
                    "type": "object",
                    "properties": {
                        "mailOnError": {
                            "description": "possible values: yes, no, 1, 0, true, false",
                            "type": "string",
                            "isXmlCData": false
                        },
                        "mailOnWarning": {
                            "description": "possible values: yes, no, 1, 0, true, false",
                            "type": "string",
                            "isXmlCData": false
                        },
                        "mailOnSuccess": {
                            "description": "possible values: yes, no, 1, 0, true, false",
                            "type": "string",
                            "isXmlCData": false
                        },
                        "mailOnProcess": {
                            "description": "possible values: yes, no, true, false, non-negative integer",
                            "type": "string",
                            "isXmlCData": false
                        },
                        "mailOnDelayAfterError": {
                            "description": "possible values: all, first_only, last_only, first_and_last_only",
                            "type": "string",
                            "isXmlCData": false
                        },
                        "logMailTo": {
                            "type": "string",
                            "isXmlCData": true
                        },
                        "logMailCc": {
                            "type": "string",
                            "isXmlCData": true
                        },
                        "logMailBcc": {
                            "type": "string",
                            "isXmlCData": true
                        },
                        "logLevel": {
                            "description": "possible values: error, warn, info, debug, debug[1-9]",
                            "type": "string",
                            "isXmlCData": false
                        },
                        "history": {
                            "description": "possible values: yes, no, 1, 0, true, false",
                            "type": "string",
                            "isXmlCData": false
                        },
                        "historyOnProcess": {
                            "description": "possible values: yes, no, true, false, non-negative integer",
                            "type": "string",
                            "isXmlCData": false
                        },
                        "historyWithLog": {
                            "description": "possible values: yes, no, gzip",
                            "type": "string",
                            "isXmlCData": false
                        }
                    }
                },
                "documentation": {
                    "xmlElement": "description",
                    "type": "object",
                    "javaType": "com.sos.joc.model.joe.job.Description",
                    "properties": {
                        "includes": {
                            "type": "array",
                            "xmlElement": "include",
                            "items": {
                                "javaType": "com.sos.joc.model.joe.common.Include",
                                "type": "object",
                                "description": "usage of file and liveFile are exclusive",
                                "properties": {
                                    "file": {
                                        "type": "string"
                                    },
                                    "liveFile": {
                                        "type": "string"
                                    }
                                }
                            }
                        },
                        "content": {
                            "description": "cdata embedded docu",
                            "type": "string"
                        }
                    }
                },
                "lockUses": {
                    "type": "array",
                    "xmlElement": "lock.use",
                    "items": {
                        "xmlElement": "lock.use",
                        "type": "object",
                        "javaType": "com.sos.joc.model.joe.job.LockUse",
                        "required": [
                            "lock"
                        ],
                        "properties": {
                            "lock": {
                                "description": "path to a lock object",
                                "type": "string"
                            },
                            "exclusive": {
                                "description": "possible values: yes, no, 1, 0, true, false",
                                "type": "string"
                            }
                        }
                    }
                },
                "params": {
                    "javaType": "com.sos.joc.model.joe.common.Params",
                    "type": "object",
                    "properties": {
                        "includes": {
                            "xmlElement": "include",
                            "type": "array",
                            "items": {
                                "javaType": "com.sos.joc.model.joe.common.ParamInclude",
                                "xmlElement": "include",
                                "type": "object",
                                "properties": {
                                    "file": {
                                        "type": "string"
                                    },
                                    "liveFile": {
                                        "type": "string"
                                    },
                                    "node": {
                                        "type": "string"
                                    }
                                }
                            }
                        },
                        "copyParams": {
                            "decription": "Only valid in start_job and add_order. Possible values for 'from' is task or order.",
                            "type": "array",
                            "uniqueItems": true,
                            "items": {
                                "type": "object",
                                "javaType": "com.sos.joc.model.joe.common.CopyParams",
                                "xmlElement": "copy_params",
                                "required": [
                                    "from"
                                ],
                                "properties": {
                                    "from": {
                                        "type": "string"
                                    }
                                }
                            }
                        },
                        "paramList": {
                            "xmlElement": "param",
                            "type": "array",
                            "items": {
                                "javaType": "com.sos.joc.model.joe.common.Param",
                                "type": "object",
                                "required": [
                                    "name",
                                    "value"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string"
                                    },
                                    "value": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "environment": {
                    "type": "object",
                    "javaType": "com.sos.joc.model.joe.job.EnviromentVariables",
                    "xmlElement": "environment",
                    "properties": {
                        "variables": {
                            "type": "array",
                            "xmlElement": "variable",
                            "items": {
                                "type": "object",
                                "javaType": "com.sos.joc.model.joe.job.EnviromentVariable",
                                "xmlElement": "variable",
                                "properties": {
                                    "name": {
                                        "type": "string"
                                    },
                                    "value": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "login": {
                    "type": "object",
                    "javaType": "com.sos.joc.model.joe.job.Login",
                    "required": [
                        "user",
                        "password"
                    ],
                    "properties": {
                        "user": {
                            "type": "string"
                        },
                        "password": {
                            "type": "string",
                            "xmlElement": "password.plain",
                            "isXmlCData": true
                        }
                    }
                },
                "script": {
                    "javaType": "com.sos.joc.model.joe.job.Script",
                    "type": "object",
                    "properties": {
                        "language": {
                            "type": "string"
                        },
                        "javaClass": {
                            "type": "string"
                        },
                        "javaClassPath": {
                            "type": "string"
                        },
                        "dll": {
                            "type": "string"
                        },
                        "dotnetClass": {
                            "type": "string"
                        },
                        "comClass": {
                            "type": "string"
                        },
                        "includes": {
                            "type": "array",
                            "xmlElement": "include",
                            "items": {
                                "javaType": "com.sos.joc.model.joe.common.Include",
                                "type": "object",
                                "description": "usage of file and liveFile are exclusive",
                                "properties": {
                                    "file": {
                                        "type": "string"
                                    },
                                    "liveFile": {
                                        "type": "string"
                                    }
                                }
                            }
                        },
                        "content": {
                            "description": "cdata embedded script, e.g. javascript",
                            "type": "string"
                        }
                    }
                },
                "monitors": {
                    "type": "array",
                    "xmlElement": "monitor",
                    "items": {
                        "javaType": "com.sos.joc.model.joe.job.Monitor",
                        "type": "object",
                        "javaInterfaces": [
                            "com.sos.joc.model.joe.common.IJSObject"
                        ],
                        "properties": {
                            "name": {
                                "description": "this field is only used for a monitor inside a job; not inside an external monitor file",
                                "type": "string"
                            },
                            "ordering": {
                                "type": "integer",
                                "minimum": 0
                            },
                            "script": {
                                "javaType": "com.sos.joc.model.joe.job.Script",
                                "type": "object",
                                "properties": {
                                    "language": {
                                        "type": "string"
                                    },
                                    "javaClass": {
                                        "type": "string"
                                    },
                                    "javaClassPath": {
                                        "type": "string"
                                    },
                                    "dll": {
                                        "type": "string"
                                    },
                                    "dotnetClass": {
                                        "type": "string"
                                    },
                                    "comClass": {
                                        "type": "string"
                                    },
                                    "includes": {
                                        "type": "array",
                                        "xmlElement": "include",
                                        "items": {
                                            "javaType": "com.sos.joc.model.joe.common.Include",
                                            "type": "object",
                                            "description": "usage of file and liveFile are exclusive",
                                            "properties": {
                                                "file": {
                                                    "type": "string"
                                                },
                                                "liveFile": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    },
                                    "content": {
                                        "description": "cdata embedded script, e.g. javascript",
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "monitorUses": {
                    "type": "array",
                    "xmlElement": "monitor.use",
                    "items": {
                        "xmlElement": "monitor.use",
                        "type": "object",
                        "javaType": "com.sos.joc.model.joe.job.MonitorUse",
                        "required": [
                            "monitor"
                        ],
                        "properties": {
                            "monitor": {
                                "description": "path to a monitor object",
                                "type": "string"
                            },
                            "ordering": {
                                "type": "integer",
                                "minimum": 0
                            }
                        }
                    }
                },
                "startWhenDirectoriesChanged": {
                    "type": "array",
                    "xmlElement": "start_when_directory_changed",
                    "items": {
                        "type": "object",
                        "javaType": "com.sos.joc.model.joe.job.StartWhenDirectoryChanged",
                        "required": [
                            "directory"
                        ],
                        "properties": {
                            "directory": {
                                "type": "string"
                            },
                            "regex": {
                                "type": "string"
                            }
                        }
                    }
                },
                "delayAfterErrors": {
                    "type": "array",
                    "xmlElement": "delay_after_error",
                    "items": {
                        "type": "object",
                        "javaType": "com.sos.joc.model.joe.job.DelayAfterError",
                        "required": [
                            "errorCount",
                            "delay"
                        ],
                        "properties": {
                            "errorCount": {
                                "type": "integer",
                                "minimum": 0
                            },
                            "delay": {
                                "description": "possible values: stop or a delay in the format [hh:mm:]ss",
                                "type": "string"
                            }
                        }
                    }
                },
                "delayOrderAfterSetbacks": {
                    "type": "array",
                    "xmlElement": "delay_order_after_setback",
                    "items": {
                        "type": "object",
                        "javaType": "com.sos.joc.model.joe.job.DelayOrderAfterSetback",
                        "description": "Only one item of this array can have isMaximum=true",
                        "required": [
                            "setbackCount"
                        ],
                        "properties": {
                            "setbackCount": {
                                "type": "integer",
                                "minimum": 0
                            },
                            "delay": {
                                "type": "string"
                            },
                            "isMaximum": {
                                "description": "possible values: yes, no, 1, 0, true, false",
                                "type": "string",
                                "default": "false"
                            }
                        }
                    }
                },
                "runTime": {
                    "javaType": "com.sos.joc.model.joe.schedule.RunTime",
                    "type": "object",
                    "xmlElement": "run_time",
                    "javaInterfaces": [
                        "com.sos.joc.model.joe.common.IJSObject"
                    ],
                    "extends": {
                        "javaType": "com.sos.joc.model.joe.schedule.AbstractSchedule",
                        "type": "object",
                        "properties": {
                            "timeZone": {
                                "type": "string"
                            },
                            "begin": {
                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                "type": "string"
                            },
                            "end": {
                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                "type": "string"
                            },
                            "letRun": {
                                "description": "possible values: yes, no, 1, 0, true, false",
                                "type": "string",
                                "default": "false"
                            },
                            "runOnce": {
                                "xmlElement": "once",
                                "description": "possible values: yes, no, 1, 0, true, false",
                                "type": "string",
                                "default": "false"
                            },
                            "periods": {
                                "xmlElement": "period",
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                    "type": "object",
                                    "properties": {
                                        "begin": {
                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                            "type": "string"
                                        },
                                        "end": {
                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                            "type": "string"
                                        },
                                        "singleStart": {
                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                            "type": "string"
                                        },
                                        "letRun": {
                                            "description": "possible values: yes, no, 1, 0, true, false",
                                            "type": "string",
                                            "default": "false"
                                        },
                                        "runOnce": {
                                            "xmlElement": "start_once",
                                            "description": "possible values: yes, no, 1, 0, true, false",
                                            "type": "string",
                                            "default": "false"
                                        },
                                        "repeat": {
                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                            "type": "string"
                                        },
                                        "absoluteRepeat": {
                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                            "type": "string"
                                        },
                                        "whenHoliday": {
                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                            "type": "string",
                                            "default": "suppress"
                                        }
                                    }
                                }
                            },
                            "ats": {
                                "xmlElement": "at",
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "javaType": "com.sos.joc.model.joe.schedule.At",
                                    "properties": {
                                        "at": {
                                            "description": "yyyy-mm-dd HH:MM[:SS]",
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "dates": {
                                "xmlElement": "date",
                                "type": "array",
                                "items": {
                                    "xmlElement": "date",
                                    "type": "object",
                                    "javaType": "com.sos.joc.model.joe.schedule.Date",
                                    "required": [
                                        "date"
                                    ],
                                    "properties": {
                                        "date": {
                                            "type": "string"
                                        },
                                        "calendar": {
                                            "type": "string"
                                        },
                                        "periods": {
                                            "xmlElement": "period",
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                "type": "object",
                                                "properties": {
                                                    "begin": {
                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                        "type": "string"
                                                    },
                                                    "end": {
                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                        "type": "string"
                                                    },
                                                    "singleStart": {
                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                        "type": "string"
                                                    },
                                                    "letRun": {
                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                        "type": "string",
                                                        "default": "false"
                                                    },
                                                    "runOnce": {
                                                        "xmlElement": "start_once",
                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                        "type": "string",
                                                        "default": "false"
                                                    },
                                                    "repeat": {
                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                        "type": "string"
                                                    },
                                                    "absoluteRepeat": {
                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                        "type": "string"
                                                    },
                                                    "whenHoliday": {
                                                        "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                        "type": "string",
                                                        "default": "suppress"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "weekdays": {
                                "type": "object",
                                "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                                "properties": {
                                    "days": {
                                        "xmlElement": "day",
                                        "type": "array",
                                        "items": {
                                            "xmlElement": "day",
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.schedule.Day",
                                            "required": [
                                                "day"
                                            ],
                                            "properties": {
                                                "day": {
                                                    "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                    "type": "string"
                                                },
                                                "periods": {
                                                    "xmlElement": "period",
                                                    "type": "array",
                                                    "items": {
                                                        "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                        "type": "object",
                                                        "properties": {
                                                            "begin": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "end": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "singleStart": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "letRun": {
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "runOnce": {
                                                                "xmlElement": "start_once",
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "repeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "absoluteRepeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "whenHoliday": {
                                                                "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                "type": "string",
                                                                "default": "suppress"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "monthdays": {
                                "type": "object",
                                "javaType": "com.sos.joc.model.joe.schedule.Monthdays",
                                "properties": {
                                    "days": {
                                        "xmlElement": "day",
                                        "type": "array",
                                        "items": {
                                            "xmlElement": "day",
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.schedule.Day",
                                            "required": [
                                                "day"
                                            ],
                                            "properties": {
                                                "day": {
                                                    "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                    "type": "string"
                                                },
                                                "periods": {
                                                    "xmlElement": "period",
                                                    "type": "array",
                                                    "items": {
                                                        "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                        "type": "object",
                                                        "properties": {
                                                            "begin": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "end": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "singleStart": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "letRun": {
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "runOnce": {
                                                                "xmlElement": "start_once",
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "repeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "absoluteRepeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "whenHoliday": {
                                                                "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                "type": "string",
                                                                "default": "suppress"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "weekdays": {
                                        "type": "array",
                                        "xmlElement": "weekday",
                                        "items": {
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.schedule.WeekdayOfMonth",
                                            "xmlElement": "weekday",
                                            "required": [
                                                "day",
                                                "which"
                                            ],
                                            "properties": {
                                                "day": {
                                                    "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?)",
                                                    "type": "string"
                                                },
                                                "which": {
                                                    "description": "possible value: -4, -3, -2, -1, 1, 2, 3, 4",
                                                    "type": "integer"
                                                },
                                                "periods": {
                                                    "xmlElement": "period",
                                                    "type": "array",
                                                    "items": {
                                                        "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                        "type": "object",
                                                        "properties": {
                                                            "begin": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "end": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "singleStart": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "letRun": {
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "runOnce": {
                                                                "xmlElement": "start_once",
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "repeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "absoluteRepeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "whenHoliday": {
                                                                "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                "type": "string",
                                                                "default": "suppress"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "ultimos": {
                                "type": "object",
                                "javaType": "com.sos.joc.model.joe.schedule.Ultimos",
                                "properties": {
                                    "days": {
                                        "xmlElement": "day",
                                        "type": "array",
                                        "items": {
                                            "xmlElement": "day",
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.schedule.Day",
                                            "required": [
                                                "day"
                                            ],
                                            "properties": {
                                                "day": {
                                                    "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                    "type": "string"
                                                },
                                                "periods": {
                                                    "xmlElement": "period",
                                                    "type": "array",
                                                    "items": {
                                                        "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                        "type": "object",
                                                        "properties": {
                                                            "begin": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "end": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "singleStart": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "letRun": {
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "runOnce": {
                                                                "xmlElement": "start_once",
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "repeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "absoluteRepeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "whenHoliday": {
                                                                "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                "type": "string",
                                                                "default": "suppress"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "months": {
                                "type": "array",
                                "xmlElement": "month",
                                "items": {
                                    "type": "object",
                                    "javaType": "com.sos.joc.model.joe.schedule.Month",
                                    "xmlElement": "month",
                                    "properties": {
                                        "month": {
                                            "description": "unordered space separated list of 1-12 or january, february, march, april, may, june, july, august, september, october, november, december",
                                            "type": "string"
                                        },
                                        "periods": {
                                            "xmlElement": "period",
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                "type": "object",
                                                "properties": {
                                                    "begin": {
                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                        "type": "string"
                                                    },
                                                    "end": {
                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                        "type": "string"
                                                    },
                                                    "singleStart": {
                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                        "type": "string"
                                                    },
                                                    "letRun": {
                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                        "type": "string",
                                                        "default": "false"
                                                    },
                                                    "runOnce": {
                                                        "xmlElement": "start_once",
                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                        "type": "string",
                                                        "default": "false"
                                                    },
                                                    "repeat": {
                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                        "type": "string"
                                                    },
                                                    "absoluteRepeat": {
                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                        "type": "string"
                                                    },
                                                    "whenHoliday": {
                                                        "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                        "type": "string",
                                                        "default": "suppress"
                                                    }
                                                }
                                            }
                                        },
                                        "weekdays": {
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                                            "properties": {
                                                "days": {
                                                    "xmlElement": "day",
                                                    "type": "array",
                                                    "items": {
                                                        "xmlElement": "day",
                                                        "type": "object",
                                                        "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                        "required": [
                                                            "day"
                                                        ],
                                                        "properties": {
                                                            "day": {
                                                                "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                "type": "string"
                                                            },
                                                            "periods": {
                                                                "xmlElement": "period",
                                                                "type": "array",
                                                                "items": {
                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "begin": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "end": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "singleStart": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "letRun": {
                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                            "type": "string",
                                                                            "default": "false"
                                                                        },
                                                                        "runOnce": {
                                                                            "xmlElement": "start_once",
                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                            "type": "string",
                                                                            "default": "false"
                                                                        },
                                                                        "repeat": {
                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                            "type": "string"
                                                                        },
                                                                        "absoluteRepeat": {
                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                            "type": "string"
                                                                        },
                                                                        "whenHoliday": {
                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                            "type": "string",
                                                                            "default": "suppress"
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "monthdays": {
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.schedule.Monthdays",
                                            "properties": {
                                                "days": {
                                                    "xmlElement": "day",
                                                    "type": "array",
                                                    "items": {
                                                        "xmlElement": "day",
                                                        "type": "object",
                                                        "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                        "required": [
                                                            "day"
                                                        ],
                                                        "properties": {
                                                            "day": {
                                                                "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                "type": "string"
                                                            },
                                                            "periods": {
                                                                "xmlElement": "period",
                                                                "type": "array",
                                                                "items": {
                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "begin": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "end": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "singleStart": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "letRun": {
                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                            "type": "string",
                                                                            "default": "false"
                                                                        },
                                                                        "runOnce": {
                                                                            "xmlElement": "start_once",
                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                            "type": "string",
                                                                            "default": "false"
                                                                        },
                                                                        "repeat": {
                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                            "type": "string"
                                                                        },
                                                                        "absoluteRepeat": {
                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                            "type": "string"
                                                                        },
                                                                        "whenHoliday": {
                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                            "type": "string",
                                                                            "default": "suppress"
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "weekdays": {
                                                    "type": "array",
                                                    "xmlElement": "weekday",
                                                    "items": {
                                                        "type": "object",
                                                        "javaType": "com.sos.joc.model.joe.schedule.WeekdayOfMonth",
                                                        "xmlElement": "weekday",
                                                        "required": [
                                                            "day",
                                                            "which"
                                                        ],
                                                        "properties": {
                                                            "day": {
                                                                "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?)",
                                                                "type": "string"
                                                            },
                                                            "which": {
                                                                "description": "possible value: -4, -3, -2, -1, 1, 2, 3, 4",
                                                                "type": "integer"
                                                            },
                                                            "periods": {
                                                                "xmlElement": "period",
                                                                "type": "array",
                                                                "items": {
                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "begin": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "end": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "singleStart": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "letRun": {
                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                            "type": "string",
                                                                            "default": "false"
                                                                        },
                                                                        "runOnce": {
                                                                            "xmlElement": "start_once",
                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                            "type": "string",
                                                                            "default": "false"
                                                                        },
                                                                        "repeat": {
                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                            "type": "string"
                                                                        },
                                                                        "absoluteRepeat": {
                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                            "type": "string"
                                                                        },
                                                                        "whenHoliday": {
                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                            "type": "string",
                                                                            "default": "suppress"
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "ultimos": {
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.schedule.Ultimos",
                                            "properties": {
                                                "days": {
                                                    "xmlElement": "day",
                                                    "type": "array",
                                                    "items": {
                                                        "xmlElement": "day",
                                                        "type": "object",
                                                        "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                        "required": [
                                                            "day"
                                                        ],
                                                        "properties": {
                                                            "day": {
                                                                "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                "type": "string"
                                                            },
                                                            "periods": {
                                                                "xmlElement": "period",
                                                                "type": "array",
                                                                "items": {
                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "begin": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "end": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "singleStart": {
                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                            "type": "string"
                                                                        },
                                                                        "letRun": {
                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                            "type": "string",
                                                                            "default": "false"
                                                                        },
                                                                        "runOnce": {
                                                                            "xmlElement": "start_once",
                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                            "type": "string",
                                                                            "default": "false"
                                                                        },
                                                                        "repeat": {
                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                            "type": "string"
                                                                        },
                                                                        "absoluteRepeat": {
                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                            "type": "string"
                                                                        },
                                                                        "whenHoliday": {
                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                            "type": "string",
                                                                            "default": "suppress"
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "holidays": {
                                "type": "object",
                                "javaType": "com.sos.joc.model.joe.schedule.Holidays",
                                "properties": {
                                    "includes": {
                                        "type": "array",
                                        "xmlElement": "include",
                                        "items": {
                                            "javaType": "com.sos.joc.model.joe.common.Include",
                                            "type": "object",
                                            "description": "usage of file and liveFile are exclusive",
                                            "properties": {
                                                "file": {
                                                    "type": "string"
                                                },
                                                "liveFile": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    },
                                    "weekdays": {
                                        "type": "object",
                                        "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                                        "properties": {
                                            "days": {
                                                "xmlElement": "day",
                                                "type": "array",
                                                "items": {
                                                    "xmlElement": "day",
                                                    "type": "object",
                                                    "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                    "required": [
                                                        "day"
                                                    ],
                                                    "properties": {
                                                        "day": {
                                                            "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                            "type": "string"
                                                        },
                                                        "periods": {
                                                            "xmlElement": "period",
                                                            "type": "array",
                                                            "items": {
                                                                "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                "type": "object",
                                                                "properties": {
                                                                    "begin": {
                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                        "type": "string"
                                                                    },
                                                                    "end": {
                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                        "type": "string"
                                                                    },
                                                                    "singleStart": {
                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                        "type": "string"
                                                                    },
                                                                    "letRun": {
                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                        "type": "string",
                                                                        "default": "false"
                                                                    },
                                                                    "runOnce": {
                                                                        "xmlElement": "start_once",
                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                        "type": "string",
                                                                        "default": "false"
                                                                    },
                                                                    "repeat": {
                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                        "type": "string"
                                                                    },
                                                                    "absoluteRepeat": {
                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                        "type": "string"
                                                                    },
                                                                    "whenHoliday": {
                                                                        "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                        "type": "string",
                                                                        "default": "suppress"
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "days": {
                                        "xmlElement": "holiday",
                                        "type": "array",
                                        "items": {
                                            "xmlElement": "holiday",
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.schedule.Holiday",
                                            "required": [
                                                "date"
                                            ],
                                            "properties": {
                                                "date": {
                                                    "type": "string"
                                                },
                                                "calendar": {
                                                    "type": "string"
                                                },
                                                "periods": {
                                                    "xmlElement": "period",
                                                    "type": "array",
                                                    "items": {
                                                        "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                        "type": "object",
                                                        "properties": {
                                                            "begin": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "end": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "singleStart": {
                                                                "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                "type": "string"
                                                            },
                                                            "letRun": {
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "runOnce": {
                                                                "xmlElement": "start_once",
                                                                "description": "possible values: yes, no, 1, 0, true, false",
                                                                "type": "string",
                                                                "default": "false"
                                                            },
                                                            "repeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "absoluteRepeat": {
                                                                "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                "type": "string"
                                                            },
                                                            "whenHoliday": {
                                                                "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                "type": "string",
                                                                "default": "suppress"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "calendars": {
                                "type": "string",
                                "isXmlCData": true
                            }
                        }
                    },
                    "properties": {
                        "schedule": {
                            "description": "path to a schedule",
                            "type": "string"
                        }
                    }
                },
                "commands": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "javaType": "com.sos.joc.model.joe.job.Commands",
                        "properties": {
                            "onExitCode": {
                                "description": "possible values: success, error or space separated collection of numbers or a unix signal",
                                "type": "string"
                            },
                            "addOrders": {
                                "type": "array",
                                "xmlElement": "add_order",
                                "items": {
                                    "javaType": "com.sos.joc.model.joe.order.AddOrder",
                                    "type": "object",
                                    "extends": {
                                        "javaType": "com.sos.joc.model.joe.order.Order",
                                        "type": "object",
                                        "javaInterfaces": [
                                            "com.sos.joc.model.joe.common.IJSObject"
                                        ],
                                        "properties": {
                                            "priority": {
                                                "type": "string"
                                            },
                                            "title": {
                                                "type": "string"
                                            },
                                            "initialState": {
                                                "xmlElement": "state",
                                                "type": "string"
                                            },
                                            "endState": {
                                                "type": "string"
                                            },
                                            "params": {
                                                "javaType": "com.sos.joc.model.joe.common.Params",
                                                "type": "object",
                                                "properties": {
                                                    "includes": {
                                                        "xmlElement": "include",
                                                        "type": "array",
                                                        "items": {
                                                            "javaType": "com.sos.joc.model.joe.common.ParamInclude",
                                                            "xmlElement": "include",
                                                            "type": "object",
                                                            "properties": {
                                                                "file": {
                                                                    "type": "string"
                                                                },
                                                                "liveFile": {
                                                                    "type": "string"
                                                                },
                                                                "node": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    },
                                                    "copyParams": {
                                                        "decription": "Only valid in start_job and add_order. Possible values for 'from' is task or order.",
                                                        "type": "array",
                                                        "uniqueItems": true,
                                                        "items": {
                                                            "type": "object",
                                                            "javaType": "com.sos.joc.model.joe.common.CopyParams",
                                                            "xmlElement": "copy_params",
                                                            "required": [
                                                                "from"
                                                            ],
                                                            "properties": {
                                                                "from": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    },
                                                    "paramList": {
                                                        "xmlElement": "param",
                                                        "type": "array",
                                                        "items": {
                                                            "javaType": "com.sos.joc.model.joe.common.Param",
                                                            "type": "object",
                                                            "required": [
                                                                "name",
                                                                "value"
                                                            ],
                                                            "properties": {
                                                                "name": {
                                                                    "type": "string"
                                                                },
                                                                "value": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            },
                                            "runTime": {
                                                "javaType": "com.sos.joc.model.joe.schedule.RunTime",
                                                "type": "object",
                                                "xmlElement": "run_time",
                                                "javaInterfaces": [
                                                    "com.sos.joc.model.joe.common.IJSObject"
                                                ],
                                                "extends": {
                                                    "javaType": "com.sos.joc.model.joe.schedule.AbstractSchedule",
                                                    "type": "object",
                                                    "properties": {
                                                        "timeZone": {
                                                            "type": "string"
                                                        },
                                                        "begin": {
                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                            "type": "string"
                                                        },
                                                        "end": {
                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                            "type": "string"
                                                        },
                                                        "letRun": {
                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                            "type": "string",
                                                            "default": "false"
                                                        },
                                                        "runOnce": {
                                                            "xmlElement": "once",
                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                            "type": "string",
                                                            "default": "false"
                                                        },
                                                        "periods": {
                                                            "xmlElement": "period",
                                                            "type": "array",
                                                            "items": {
                                                                "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                "type": "object",
                                                                "properties": {
                                                                    "begin": {
                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                        "type": "string"
                                                                    },
                                                                    "end": {
                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                        "type": "string"
                                                                    },
                                                                    "singleStart": {
                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                        "type": "string"
                                                                    },
                                                                    "letRun": {
                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                        "type": "string",
                                                                        "default": "false"
                                                                    },
                                                                    "runOnce": {
                                                                        "xmlElement": "start_once",
                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                        "type": "string",
                                                                        "default": "false"
                                                                    },
                                                                    "repeat": {
                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                        "type": "string"
                                                                    },
                                                                    "absoluteRepeat": {
                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                        "type": "string"
                                                                    },
                                                                    "whenHoliday": {
                                                                        "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                        "type": "string",
                                                                        "default": "suppress"
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "ats": {
                                                            "xmlElement": "at",
                                                            "type": "array",
                                                            "items": {
                                                                "type": "object",
                                                                "javaType": "com.sos.joc.model.joe.schedule.At",
                                                                "properties": {
                                                                    "at": {
                                                                        "description": "yyyy-mm-dd HH:MM[:SS]",
                                                                        "type": "string"
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "dates": {
                                                            "xmlElement": "date",
                                                            "type": "array",
                                                            "items": {
                                                                "xmlElement": "date",
                                                                "type": "object",
                                                                "javaType": "com.sos.joc.model.joe.schedule.Date",
                                                                "required": [
                                                                    "date"
                                                                ],
                                                                "properties": {
                                                                    "date": {
                                                                        "type": "string"
                                                                    },
                                                                    "calendar": {
                                                                        "type": "string"
                                                                    },
                                                                    "periods": {
                                                                        "xmlElement": "period",
                                                                        "type": "array",
                                                                        "items": {
                                                                            "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "begin": {
                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                    "type": "string"
                                                                                },
                                                                                "end": {
                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                    "type": "string"
                                                                                },
                                                                                "singleStart": {
                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                    "type": "string"
                                                                                },
                                                                                "letRun": {
                                                                                    "description": "possible values: yes, no, 1, 0, true, false",
                                                                                    "type": "string",
                                                                                    "default": "false"
                                                                                },
                                                                                "runOnce": {
                                                                                    "xmlElement": "start_once",
                                                                                    "description": "possible values: yes, no, 1, 0, true, false",
                                                                                    "type": "string",
                                                                                    "default": "false"
                                                                                },
                                                                                "repeat": {
                                                                                    "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                    "type": "string"
                                                                                },
                                                                                "absoluteRepeat": {
                                                                                    "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                    "type": "string"
                                                                                },
                                                                                "whenHoliday": {
                                                                                    "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                    "type": "string",
                                                                                    "default": "suppress"
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "weekdays": {
                                                            "type": "object",
                                                            "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                                                            "properties": {
                                                                "days": {
                                                                    "xmlElement": "day",
                                                                    "type": "array",
                                                                    "items": {
                                                                        "xmlElement": "day",
                                                                        "type": "object",
                                                                        "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                                        "required": [
                                                                            "day"
                                                                        ],
                                                                        "properties": {
                                                                            "day": {
                                                                                "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                                "type": "string"
                                                                            },
                                                                            "periods": {
                                                                                "xmlElement": "period",
                                                                                "type": "array",
                                                                                "items": {
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "begin": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "end": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "singleStart": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "letRun": {
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "runOnce": {
                                                                                            "xmlElement": "start_once",
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "repeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "absoluteRepeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "whenHoliday": {
                                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                            "type": "string",
                                                                                            "default": "suppress"
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "monthdays": {
                                                            "type": "object",
                                                            "javaType": "com.sos.joc.model.joe.schedule.Monthdays",
                                                            "properties": {
                                                                "days": {
                                                                    "xmlElement": "day",
                                                                    "type": "array",
                                                                    "items": {
                                                                        "xmlElement": "day",
                                                                        "type": "object",
                                                                        "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                                        "required": [
                                                                            "day"
                                                                        ],
                                                                        "properties": {
                                                                            "day": {
                                                                                "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                                "type": "string"
                                                                            },
                                                                            "periods": {
                                                                                "xmlElement": "period",
                                                                                "type": "array",
                                                                                "items": {
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "begin": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "end": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "singleStart": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "letRun": {
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "runOnce": {
                                                                                            "xmlElement": "start_once",
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "repeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "absoluteRepeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "whenHoliday": {
                                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                            "type": "string",
                                                                                            "default": "suppress"
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                },
                                                                "weekdays": {
                                                                    "type": "array",
                                                                    "xmlElement": "weekday",
                                                                    "items": {
                                                                        "type": "object",
                                                                        "javaType": "com.sos.joc.model.joe.schedule.WeekdayOfMonth",
                                                                        "xmlElement": "weekday",
                                                                        "required": [
                                                                            "day",
                                                                            "which"
                                                                        ],
                                                                        "properties": {
                                                                            "day": {
                                                                                "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?)",
                                                                                "type": "string"
                                                                            },
                                                                            "which": {
                                                                                "description": "possible value: -4, -3, -2, -1, 1, 2, 3, 4",
                                                                                "type": "integer"
                                                                            },
                                                                            "periods": {
                                                                                "xmlElement": "period",
                                                                                "type": "array",
                                                                                "items": {
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "begin": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "end": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "singleStart": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "letRun": {
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "runOnce": {
                                                                                            "xmlElement": "start_once",
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "repeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "absoluteRepeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "whenHoliday": {
                                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                            "type": "string",
                                                                                            "default": "suppress"
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "ultimos": {
                                                            "type": "object",
                                                            "javaType": "com.sos.joc.model.joe.schedule.Ultimos",
                                                            "properties": {
                                                                "days": {
                                                                    "xmlElement": "day",
                                                                    "type": "array",
                                                                    "items": {
                                                                        "xmlElement": "day",
                                                                        "type": "object",
                                                                        "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                                        "required": [
                                                                            "day"
                                                                        ],
                                                                        "properties": {
                                                                            "day": {
                                                                                "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                                "type": "string"
                                                                            },
                                                                            "periods": {
                                                                                "xmlElement": "period",
                                                                                "type": "array",
                                                                                "items": {
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "begin": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "end": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "singleStart": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "letRun": {
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "runOnce": {
                                                                                            "xmlElement": "start_once",
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "repeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "absoluteRepeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "whenHoliday": {
                                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                            "type": "string",
                                                                                            "default": "suppress"
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "months": {
                                                            "type": "array",
                                                            "xmlElement": "month",
                                                            "items": {
                                                                "type": "object",
                                                                "javaType": "com.sos.joc.model.joe.schedule.Month",
                                                                "xmlElement": "month",
                                                                "properties": {
                                                                    "month": {
                                                                        "description": "unordered space separated list of 1-12 or january, february, march, april, may, june, july, august, september, october, november, december",
                                                                        "type": "string"
                                                                    },
                                                                    "periods": {
                                                                        "xmlElement": "period",
                                                                        "type": "array",
                                                                        "items": {
                                                                            "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "begin": {
                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                    "type": "string"
                                                                                },
                                                                                "end": {
                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                    "type": "string"
                                                                                },
                                                                                "singleStart": {
                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                    "type": "string"
                                                                                },
                                                                                "letRun": {
                                                                                    "description": "possible values: yes, no, 1, 0, true, false",
                                                                                    "type": "string",
                                                                                    "default": "false"
                                                                                },
                                                                                "runOnce": {
                                                                                    "xmlElement": "start_once",
                                                                                    "description": "possible values: yes, no, 1, 0, true, false",
                                                                                    "type": "string",
                                                                                    "default": "false"
                                                                                },
                                                                                "repeat": {
                                                                                    "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                    "type": "string"
                                                                                },
                                                                                "absoluteRepeat": {
                                                                                    "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                    "type": "string"
                                                                                },
                                                                                "whenHoliday": {
                                                                                    "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                    "type": "string",
                                                                                    "default": "suppress"
                                                                                }
                                                                            }
                                                                        }
                                                                    },
                                                                    "weekdays": {
                                                                        "type": "object",
                                                                        "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                                                                        "properties": {
                                                                            "days": {
                                                                                "xmlElement": "day",
                                                                                "type": "array",
                                                                                "items": {
                                                                                    "xmlElement": "day",
                                                                                    "type": "object",
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                                                    "required": [
                                                                                        "day"
                                                                                    ],
                                                                                    "properties": {
                                                                                        "day": {
                                                                                            "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "periods": {
                                                                                            "xmlElement": "period",
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                                "type": "object",
                                                                                                "properties": {
                                                                                                    "begin": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "end": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "singleStart": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "letRun": {
                                                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                        "type": "string",
                                                                                                        "default": "false"
                                                                                                    },
                                                                                                    "runOnce": {
                                                                                                        "xmlElement": "start_once",
                                                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                        "type": "string",
                                                                                                        "default": "false"
                                                                                                    },
                                                                                                    "repeat": {
                                                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "absoluteRepeat": {
                                                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "whenHoliday": {
                                                                                                        "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                                        "type": "string",
                                                                                                        "default": "suppress"
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    },
                                                                    "monthdays": {
                                                                        "type": "object",
                                                                        "javaType": "com.sos.joc.model.joe.schedule.Monthdays",
                                                                        "properties": {
                                                                            "days": {
                                                                                "xmlElement": "day",
                                                                                "type": "array",
                                                                                "items": {
                                                                                    "xmlElement": "day",
                                                                                    "type": "object",
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                                                    "required": [
                                                                                        "day"
                                                                                    ],
                                                                                    "properties": {
                                                                                        "day": {
                                                                                            "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "periods": {
                                                                                            "xmlElement": "period",
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                                "type": "object",
                                                                                                "properties": {
                                                                                                    "begin": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "end": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "singleStart": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "letRun": {
                                                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                        "type": "string",
                                                                                                        "default": "false"
                                                                                                    },
                                                                                                    "runOnce": {
                                                                                                        "xmlElement": "start_once",
                                                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                        "type": "string",
                                                                                                        "default": "false"
                                                                                                    },
                                                                                                    "repeat": {
                                                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "absoluteRepeat": {
                                                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "whenHoliday": {
                                                                                                        "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                                        "type": "string",
                                                                                                        "default": "suppress"
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }
                                                                            },
                                                                            "weekdays": {
                                                                                "type": "array",
                                                                                "xmlElement": "weekday",
                                                                                "items": {
                                                                                    "type": "object",
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.WeekdayOfMonth",
                                                                                    "xmlElement": "weekday",
                                                                                    "required": [
                                                                                        "day",
                                                                                        "which"
                                                                                    ],
                                                                                    "properties": {
                                                                                        "day": {
                                                                                            "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "which": {
                                                                                            "description": "possible value: -4, -3, -2, -1, 1, 2, 3, 4",
                                                                                            "type": "integer"
                                                                                        },
                                                                                        "periods": {
                                                                                            "xmlElement": "period",
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                                "type": "object",
                                                                                                "properties": {
                                                                                                    "begin": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "end": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "singleStart": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "letRun": {
                                                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                        "type": "string",
                                                                                                        "default": "false"
                                                                                                    },
                                                                                                    "runOnce": {
                                                                                                        "xmlElement": "start_once",
                                                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                        "type": "string",
                                                                                                        "default": "false"
                                                                                                    },
                                                                                                    "repeat": {
                                                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "absoluteRepeat": {
                                                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "whenHoliday": {
                                                                                                        "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                                        "type": "string",
                                                                                                        "default": "suppress"
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    },
                                                                    "ultimos": {
                                                                        "type": "object",
                                                                        "javaType": "com.sos.joc.model.joe.schedule.Ultimos",
                                                                        "properties": {
                                                                            "days": {
                                                                                "xmlElement": "day",
                                                                                "type": "array",
                                                                                "items": {
                                                                                    "xmlElement": "day",
                                                                                    "type": "object",
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                                                    "required": [
                                                                                        "day"
                                                                                    ],
                                                                                    "properties": {
                                                                                        "day": {
                                                                                            "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "periods": {
                                                                                            "xmlElement": "period",
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                                "type": "object",
                                                                                                "properties": {
                                                                                                    "begin": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "end": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "singleStart": {
                                                                                                        "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "letRun": {
                                                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                        "type": "string",
                                                                                                        "default": "false"
                                                                                                    },
                                                                                                    "runOnce": {
                                                                                                        "xmlElement": "start_once",
                                                                                                        "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                        "type": "string",
                                                                                                        "default": "false"
                                                                                                    },
                                                                                                    "repeat": {
                                                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "absoluteRepeat": {
                                                                                                        "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                        "type": "string"
                                                                                                    },
                                                                                                    "whenHoliday": {
                                                                                                        "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                                        "type": "string",
                                                                                                        "default": "suppress"
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "holidays": {
                                                            "type": "object",
                                                            "javaType": "com.sos.joc.model.joe.schedule.Holidays",
                                                            "properties": {
                                                                "includes": {
                                                                    "type": "array",
                                                                    "xmlElement": "include",
                                                                    "items": {
                                                                        "javaType": "com.sos.joc.model.joe.common.Include",
                                                                        "type": "object",
                                                                        "description": "usage of file and liveFile are exclusive",
                                                                        "properties": {
                                                                            "file": {
                                                                                "type": "string"
                                                                            },
                                                                            "liveFile": {
                                                                                "type": "string"
                                                                            }
                                                                        }
                                                                    }
                                                                },
                                                                "weekdays": {
                                                                    "type": "object",
                                                                    "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                                                                    "properties": {
                                                                        "days": {
                                                                            "xmlElement": "day",
                                                                            "type": "array",
                                                                            "items": {
                                                                                "xmlElement": "day",
                                                                                "type": "object",
                                                                                "javaType": "com.sos.joc.model.joe.schedule.Day",
                                                                                "required": [
                                                                                    "day"
                                                                                ],
                                                                                "properties": {
                                                                                    "day": {
                                                                                        "description": "[01234567]|(so(nntag)?)|(mo(ntag)?)|(di(enstag)?)|(mi(ttwoch)?)|(do(nnerstag)?)|(fr(eitag)?)|(sa(mstag)?)|(sun(day)?)|(mon(day)?)|(tue(sday)?)|(wed(nesday)?)|(thu(rsday)?)|(fri(day)?)|(sat(urday)?) for weekdays (where sunday is 0 or 7) or 1-31 for monthdays and 0-30 for ultimos",
                                                                                        "type": "string"
                                                                                    },
                                                                                    "periods": {
                                                                                        "xmlElement": "period",
                                                                                        "type": "array",
                                                                                        "items": {
                                                                                            "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "begin": {
                                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                    "type": "string"
                                                                                                },
                                                                                                "end": {
                                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                    "type": "string"
                                                                                                },
                                                                                                "singleStart": {
                                                                                                    "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                                    "type": "string"
                                                                                                },
                                                                                                "letRun": {
                                                                                                    "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                    "type": "string",
                                                                                                    "default": "false"
                                                                                                },
                                                                                                "runOnce": {
                                                                                                    "xmlElement": "start_once",
                                                                                                    "description": "possible values: yes, no, 1, 0, true, false",
                                                                                                    "type": "string",
                                                                                                    "default": "false"
                                                                                                },
                                                                                                "repeat": {
                                                                                                    "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                    "type": "string"
                                                                                                },
                                                                                                "absoluteRepeat": {
                                                                                                    "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                                    "type": "string"
                                                                                                },
                                                                                                "whenHoliday": {
                                                                                                    "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                                    "type": "string",
                                                                                                    "default": "suppress"
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                },
                                                                "days": {
                                                                    "xmlElement": "holiday",
                                                                    "type": "array",
                                                                    "items": {
                                                                        "xmlElement": "holiday",
                                                                        "type": "object",
                                                                        "javaType": "com.sos.joc.model.joe.schedule.Holiday",
                                                                        "required": [
                                                                            "date"
                                                                        ],
                                                                        "properties": {
                                                                            "date": {
                                                                                "type": "string"
                                                                            },
                                                                            "calendar": {
                                                                                "type": "string"
                                                                            },
                                                                            "periods": {
                                                                                "xmlElement": "period",
                                                                                "type": "array",
                                                                                "items": {
                                                                                    "javaType": "com.sos.joc.model.joe.schedule.Period",
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "begin": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "end": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "singleStart": {
                                                                                            "description": "pattern: [0-9]{1,2}:[0-9]{2}(:[0-9]{2})?",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "letRun": {
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "runOnce": {
                                                                                            "xmlElement": "start_once",
                                                                                            "description": "possible values: yes, no, 1, 0, true, false",
                                                                                            "type": "string",
                                                                                            "default": "false"
                                                                                        },
                                                                                        "repeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "absoluteRepeat": {
                                                                                            "description": "pattern: ([0-9]+)|([0-9]+:[0-9]{2}(:[0-9]{2})?)",
                                                                                            "type": "string"
                                                                                        },
                                                                                        "whenHoliday": {
                                                                                            "description": "possible values: suppress (default), ignore_holiday, previous_non_holiday, next_non_holiday",
                                                                                            "type": "string",
                                                                                            "default": "suppress"
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "calendars": {
                                                            "type": "string",
                                                            "isXmlCData": true
                                                        }
                                                    }
                                                },
                                                "properties": {
                                                    "schedule": {
                                                        "description": "path to a schedule",
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "required": [
                                        "jobChain"
                                    ],
                                    "properties": {
                                        "jobChain": {
                                            "type": "string"
                                        },
                                        "id": {
                                            "type": "string"
                                        },
                                        "at": {
                                            "type": "string"
                                        },
                                        "replace": {
                                            "description": "possible values: yes, no, 1, 0, true, false",
                                            "type": "string"
                                        },
                                        "suspended": {
                                            "description": "possible values: yes, no, 1, 0, true, false",
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "startJobs": {
                                "type": "array",
                                "xmlElement": "start_job",
                                "items": {
                                    "javaType": "com.sos.joc.model.joe.job.StartJob",
                                    "type": "object",
                                    "properties": {
                                        "job": {
                                            "type": "string"
                                        },
                                        "at": {
                                            "type": "string",
                                            "default": "now"
                                        },
                                        "after": {
                                            "type": "string"
                                        },
                                        "force": {
                                            "description": "possible values: yes, no, 1, 0, true, false",
                                            "type": "string"
                                        },
                                        "params": {
                                            "javaType": "com.sos.joc.model.joe.common.Params",
                                            "type": "object",
                                            "properties": {
                                                "includes": {
                                                    "xmlElement": "include",
                                                    "type": "array",
                                                    "items": {
                                                        "javaType": "com.sos.joc.model.joe.common.ParamInclude",
                                                        "xmlElement": "include",
                                                        "type": "object",
                                                        "properties": {
                                                            "file": {
                                                                "type": "string"
                                                            },
                                                            "liveFile": {
                                                                "type": "string"
                                                            },
                                                            "node": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                },
                                                "copyParams": {
                                                    "decription": "Only valid in start_job and add_order. Possible values for 'from' is task or order.",
                                                    "type": "array",
                                                    "uniqueItems": true,
                                                    "items": {
                                                        "type": "object",
                                                        "javaType": "com.sos.joc.model.joe.common.CopyParams",
                                                        "xmlElement": "copy_params",
                                                        "required": [
                                                            "from"
                                                        ],
                                                        "properties": {
                                                            "from": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                },
                                                "paramList": {
                                                    "xmlElement": "param",
                                                    "type": "array",
                                                    "items": {
                                                        "javaType": "com.sos.joc.model.joe.common.Param",
                                                        "type": "object",
                                                        "required": [
                                                            "name",
                                                            "value"
                                                        ],
                                                        "properties": {
                                                            "name": {
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "environment": {
                                            "type": "object",
                                            "javaType": "com.sos.joc.model.joe.job.EnviromentVariables",
                                            "xmlElement": "environment",
                                            "properties": {
                                                "variables": {
                                                    "type": "array",
                                                    "xmlElement": "variable",
                                                    "items": {
                                                        "type": "object",
                                                        "javaType": "com.sos.joc.model.joe.job.EnviromentVariable",
                                                        "xmlElement": "variable",
                                                        "properties": {
                                                            "name": {
                                                                "type": "string"
                                                            },
                                                            "value": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}