{
    "title": "runtime",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "A run_time xml is expected which is specified in the <xsd:complexType name='run_time'> element of  http://www.sos-berlin.com/schema/scheduler.xsd",
    "javaType": "com.sos.joc.model.common.RunTime",
    "type": "object",
    "required": [
        "surveyDate",
        "runTime",
        "runTimeIsTemporary"
    ],
    "properties": {
        "surveyDate": {
            "description": "Current date of the JobScheduler Master/Agent. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
            "type": "string",
            "format": "date-time"
        },
        "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"
                }
            }
        },
        "runTimeXml": {
            "type": "string"
        },
        "permanentRunTime": {
            "description": "is required iff runTimeIsTemporary = true",
            "type": "string"
        },
        "runTimeIsTemporary": {
            "type": "boolean",
            "default": false
        },
        "calendars": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.calendar.Calendar",
                "type": "object",
                "properties": {
                    "id": {
                        "type": "number",
                        "format": "utc-millisec",
                        "minimum": 0
                    },
                    "path": {
                        "description": "absolute path based on live folder of a JobScheduler object.",
                        "type": "string",
                        "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                        "maxLength": 255
                    },
                    "name": {
                        "type": "string",
                        "pattern": "^[^/\\<>?:\"|*]*$",
                        "maxLength": 255
                    },
                    "basedOn": {
                        "description": "absolute path based on live folder of a JobScheduler object.",
                        "type": "string",
                        "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                        "maxLength": 255
                    },
                    "documentation": {
                        "description": "absolute path based on live folder of a JobScheduler object.",
                        "type": "string",
                        "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                        "maxLength": 255
                    },
                    "type": {
                        "javaType": "com.sos.joc.model.calendar.CalendarType",
                        "type": "string",
                        "enum": [
                            "WORKING_DAYS",
                            "NON_WORKING_DAYS",
                            "JOB",
                            "ORDER",
                            "SCHEDULE"
                        ],
                        "default": "WORKING_DAYS"
                    },
                    "category": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "title": {
                        "type": "string",
                        "pattern": "^[^<>]*$",
                        "maxLength": 255
                    },
                    "from": {
                        "description": "ISO date YYYY-MM-DD",
                        "type": "string",
                        "format": "date"
                    },
                    "to": {
                        "description": "ISO date YYYY-MM-DD",
                        "type": "string",
                        "format": "date"
                    },
                    "periods": {
                        "type": "array",
                        "items": {
                            "javaType": "com.sos.joc.model.calendar.Period",
                            "type": "object",
                            "properties": {
                                "singleStart": {
                                    "type": "string",
                                    "pattern": "^[0-9:]*$"
                                },
                                "begin": {
                                    "type": "string",
                                    "pattern": "^[0-9:]*$"
                                },
                                "end": {
                                    "type": "string",
                                    "pattern": "^[0-9:]*$"
                                },
                                "repeat": {
                                    "type": "string",
                                    "pattern": "^[0-9:]*$"
                                },
                                "absoluteRepeat": {
                                    "type": "string",
                                    "pattern": "^[0-9:]*$"
                                },
                                "whenHoliday": {
                                    "type": "string",
                                    "pattern": "^[^<>]*$",
                                    "maxLength": 255
                                }
                            }
                        }
                    },
                    "includes": {
                        "javaType": "com.sos.joc.model.calendar.Frequencies",
                        "type": "object",
                        "properties": {
                            "dates": {
                                "type": "array",
                                "items": {
                                    "description": "ISO date YYYY-MM-DD",
                                    "type": "string",
                                    "format": "date"
                                }
                            },
                            "weekdays": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.WeekDays",
                                    "type": "object",
                                    "required": [
                                        "days"
                                    ],
                                    "properties": {
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "days": {
                                            "type": "array",
                                            "items": {
                                                "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 7
                                            }
                                        }
                                    }
                                }
                            },
                            "monthdays": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.MonthDays",
                                    "type": "object",
                                    "properties": {
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "days": {
                                            "type": "array",
                                            "items": {
                                                "description": "digit from 1-31",
                                                "type": "integer",
                                                "minimum": 1,
                                                "maximum": 31
                                            }
                                        },
                                        "weeklyDays": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.WeeklyDay",
                                                "type": "object",
                                                "properties": {
                                                    "day": {
                                                        "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                        "type": "integer",
                                                        "minimum": 0,
                                                        "maximum": 7
                                                    },
                                                    "weekOfMonth": {
                                                        "type": "integer",
                                                        "minimum": 1,
                                                        "maximum": 5
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "ultimos": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.MonthDays",
                                    "type": "object",
                                    "properties": {
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "days": {
                                            "type": "array",
                                            "items": {
                                                "description": "digit from 1-31",
                                                "type": "integer",
                                                "minimum": 1,
                                                "maximum": 31
                                            }
                                        },
                                        "weeklyDays": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.WeeklyDay",
                                                "type": "object",
                                                "properties": {
                                                    "day": {
                                                        "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                        "type": "integer",
                                                        "minimum": 0,
                                                        "maximum": 7
                                                    },
                                                    "weekOfMonth": {
                                                        "type": "integer",
                                                        "minimum": 1,
                                                        "maximum": 5
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "months": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.Months",
                                    "type": "object",
                                    "required": [
                                        "months"
                                    ],
                                    "properties": {
                                        "months": {
                                            "type": "array",
                                            "items": {
                                                "type": "integer",
                                                "minimum": 1,
                                                "maximum": 12
                                            }
                                        },
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "weekdays": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.WeekDays",
                                                "type": "object",
                                                "required": [
                                                    "days"
                                                ],
                                                "properties": {
                                                    "from": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "to": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days": {
                                                        "type": "array",
                                                        "items": {
                                                            "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                            "type": "integer",
                                                            "minimum": 0,
                                                            "maximum": 7
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "monthdays": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.MonthDays",
                                                "type": "object",
                                                "properties": {
                                                    "from": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "to": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days": {
                                                        "type": "array",
                                                        "items": {
                                                            "description": "digit from 1-31",
                                                            "type": "integer",
                                                            "minimum": 1,
                                                            "maximum": 31
                                                        }
                                                    },
                                                    "weeklyDays": {
                                                        "type": "array",
                                                        "items": {
                                                            "javaType": "com.sos.joc.model.calendar.WeeklyDay",
                                                            "type": "object",
                                                            "properties": {
                                                                "day": {
                                                                    "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                                    "type": "integer",
                                                                    "minimum": 0,
                                                                    "maximum": 7
                                                                },
                                                                "weekOfMonth": {
                                                                    "type": "integer",
                                                                    "minimum": 1,
                                                                    "maximum": 5
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "ultimos": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.MonthDays",
                                                "type": "object",
                                                "properties": {
                                                    "from": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "to": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days": {
                                                        "type": "array",
                                                        "items": {
                                                            "description": "digit from 1-31",
                                                            "type": "integer",
                                                            "minimum": 1,
                                                            "maximum": 31
                                                        }
                                                    },
                                                    "weeklyDays": {
                                                        "type": "array",
                                                        "items": {
                                                            "javaType": "com.sos.joc.model.calendar.WeeklyDay",
                                                            "type": "object",
                                                            "properties": {
                                                                "day": {
                                                                    "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                                    "type": "integer",
                                                                    "minimum": 0,
                                                                    "maximum": 7
                                                                },
                                                                "weekOfMonth": {
                                                                    "type": "integer",
                                                                    "minimum": 1,
                                                                    "maximum": 5
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "holidays": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.Holidays",
                                    "type": "object",
                                    "properties": {
                                        "nationalCalendar": {
                                            "type": "string",
                                            "pattern": "^[^<>]*$",
                                            "maxLength": 255
                                        },
                                        "dates": {
                                            "type": "array",
                                            "items": {
                                                "description": "ISO date YYYY-MM-DD",
                                                "type": "string",
                                                "format": "date"
                                            }
                                        }
                                    }
                                }
                            },
                            "repetitions": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.Repetition",
                                    "type": "object",
                                    "required": [
                                        "repetition"
                                    ],
                                    "properties": {
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "repetition": {
                                            "javaType": "com.sos.joc.model.calendar.RepetitionText",
                                            "type": "string",
                                            "enum": [
                                                "DAILY",
                                                "WEEKLY",
                                                "MONTHLY",
                                                "YEARLY"
                                            ]
                                        },
                                        "step": {
                                            "type": "integer",
                                            "minimum": 1,
                                            "default": 1
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "excludes": {
                        "javaType": "com.sos.joc.model.calendar.Frequencies",
                        "type": "object",
                        "properties": {
                            "dates": {
                                "type": "array",
                                "items": {
                                    "description": "ISO date YYYY-MM-DD",
                                    "type": "string",
                                    "format": "date"
                                }
                            },
                            "weekdays": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.WeekDays",
                                    "type": "object",
                                    "required": [
                                        "days"
                                    ],
                                    "properties": {
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "days": {
                                            "type": "array",
                                            "items": {
                                                "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 7
                                            }
                                        }
                                    }
                                }
                            },
                            "monthdays": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.MonthDays",
                                    "type": "object",
                                    "properties": {
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "days": {
                                            "type": "array",
                                            "items": {
                                                "description": "digit from 1-31",
                                                "type": "integer",
                                                "minimum": 1,
                                                "maximum": 31
                                            }
                                        },
                                        "weeklyDays": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.WeeklyDay",
                                                "type": "object",
                                                "properties": {
                                                    "day": {
                                                        "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                        "type": "integer",
                                                        "minimum": 0,
                                                        "maximum": 7
                                                    },
                                                    "weekOfMonth": {
                                                        "type": "integer",
                                                        "minimum": 1,
                                                        "maximum": 5
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "ultimos": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.MonthDays",
                                    "type": "object",
                                    "properties": {
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "days": {
                                            "type": "array",
                                            "items": {
                                                "description": "digit from 1-31",
                                                "type": "integer",
                                                "minimum": 1,
                                                "maximum": 31
                                            }
                                        },
                                        "weeklyDays": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.WeeklyDay",
                                                "type": "object",
                                                "properties": {
                                                    "day": {
                                                        "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                        "type": "integer",
                                                        "minimum": 0,
                                                        "maximum": 7
                                                    },
                                                    "weekOfMonth": {
                                                        "type": "integer",
                                                        "minimum": 1,
                                                        "maximum": 5
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "months": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.Months",
                                    "type": "object",
                                    "required": [
                                        "months"
                                    ],
                                    "properties": {
                                        "months": {
                                            "type": "array",
                                            "items": {
                                                "type": "integer",
                                                "minimum": 1,
                                                "maximum": 12
                                            }
                                        },
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "weekdays": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.WeekDays",
                                                "type": "object",
                                                "required": [
                                                    "days"
                                                ],
                                                "properties": {
                                                    "from": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "to": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days": {
                                                        "type": "array",
                                                        "items": {
                                                            "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                            "type": "integer",
                                                            "minimum": 0,
                                                            "maximum": 7
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "monthdays": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.MonthDays",
                                                "type": "object",
                                                "properties": {
                                                    "from": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "to": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days": {
                                                        "type": "array",
                                                        "items": {
                                                            "description": "digit from 1-31",
                                                            "type": "integer",
                                                            "minimum": 1,
                                                            "maximum": 31
                                                        }
                                                    },
                                                    "weeklyDays": {
                                                        "type": "array",
                                                        "items": {
                                                            "javaType": "com.sos.joc.model.calendar.WeeklyDay",
                                                            "type": "object",
                                                            "properties": {
                                                                "day": {
                                                                    "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                                    "type": "integer",
                                                                    "minimum": 0,
                                                                    "maximum": 7
                                                                },
                                                                "weekOfMonth": {
                                                                    "type": "integer",
                                                                    "minimum": 1,
                                                                    "maximum": 5
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "ultimos": {
                                            "type": "array",
                                            "items": {
                                                "javaType": "com.sos.joc.model.calendar.MonthDays",
                                                "type": "object",
                                                "properties": {
                                                    "from": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "to": {
                                                        "description": "ISO date YYYY-MM-DD",
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days": {
                                                        "type": "array",
                                                        "items": {
                                                            "description": "digit from 1-31",
                                                            "type": "integer",
                                                            "minimum": 1,
                                                            "maximum": 31
                                                        }
                                                    },
                                                    "weeklyDays": {
                                                        "type": "array",
                                                        "items": {
                                                            "javaType": "com.sos.joc.model.calendar.WeeklyDay",
                                                            "type": "object",
                                                            "properties": {
                                                                "day": {
                                                                    "description": "digit from 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday, 7=Sunday (again)",
                                                                    "type": "integer",
                                                                    "minimum": 0,
                                                                    "maximum": 7
                                                                },
                                                                "weekOfMonth": {
                                                                    "type": "integer",
                                                                    "minimum": 1,
                                                                    "maximum": 5
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "holidays": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.Holidays",
                                    "type": "object",
                                    "properties": {
                                        "nationalCalendar": {
                                            "type": "string",
                                            "pattern": "^[^<>]*$",
                                            "maxLength": 255
                                        },
                                        "dates": {
                                            "type": "array",
                                            "items": {
                                                "description": "ISO date YYYY-MM-DD",
                                                "type": "string",
                                                "format": "date"
                                            }
                                        }
                                    }
                                }
                            },
                            "repetitions": {
                                "type": "array",
                                "items": {
                                    "javaType": "com.sos.joc.model.calendar.Repetition",
                                    "type": "object",
                                    "required": [
                                        "repetition"
                                    ],
                                    "properties": {
                                        "from": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "to": {
                                            "description": "ISO date YYYY-MM-DD",
                                            "type": "string",
                                            "format": "date"
                                        },
                                        "repetition": {
                                            "javaType": "com.sos.joc.model.calendar.RepetitionText",
                                            "type": "string",
                                            "enum": [
                                                "DAILY",
                                                "WEEKLY",
                                                "MONTHLY",
                                                "YEARLY"
                                            ]
                                        },
                                        "step": {
                                            "type": "integer",
                                            "minimum": 1,
                                            "default": 1
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "usedBy": {
                        "javaType": "com.sos.joc.model.calendar.UsedBy",
                        "type": "object",
                        "properties": {
                            "deliveryDate": {
                                "description": "Date time. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
                                "type": "string",
                                "format": "date-time"
                            },
                            "jobs": {
                                "type": "array",
                                "items": {
                                    "description": "absolute path based on live folder of a JobScheduler object.",
                                    "type": "string",
                                    "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                                    "maxLength": 255
                                }
                            },
                            "orders": {
                                "type": "array",
                                "items": {
                                    "description": "absolute path based on live folder of a JobScheduler object.",
                                    "type": "string",
                                    "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                                    "maxLength": 255
                                }
                            },
                            "schedules": {
                                "type": "array",
                                "items": {
                                    "description": "absolute path based on live folder of a JobScheduler object.",
                                    "type": "string",
                                    "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                                    "maxLength": 255
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}