{
    "title": "schedule",
    "id": "schemas/joe/schedule/schedule",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.joe.schedule.Schedule",
    "type": "object",
    "javaInterfaces": [
        "com.sos.joc.model.joe.common.IJSObject"
    ],
    "extends": {
        "id": "schemas/joe/schedule/superSchedule",
        "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": {
                "id": "schemas/joe/schedule/periods",
                "xmlElement": "period",
                "type": "array",
                "items": {
                    "id": "schemas/joe/schedule/period",
                    "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": {
                            "id": "schemas/joe/schedule/periods",
                            "xmlElement": "period",
                            "type": "array",
                            "items": {
                                "id": "schemas/joe/schedule/period",
                                "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": {
                "id": "schemas/joe/schedule/weekdays",
                "type": "object",
                "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                "properties": {
                    "days": {
                        "id": "schemas/joe/schedule/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": {
                                    "id": "schemas/joe/schedule/periods",
                                    "xmlElement": "period",
                                    "type": "array",
                                    "items": {
                                        "id": "schemas/joe/schedule/period",
                                        "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": {
                "id": "schemas/joe/schedule/monthdays",
                "type": "object",
                "javaType": "com.sos.joc.model.joe.schedule.Monthdays",
                "properties": {
                    "days": {
                        "id": "schemas/joe/schedule/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": {
                                    "id": "schemas/joe/schedule/periods",
                                    "xmlElement": "period",
                                    "type": "array",
                                    "items": {
                                        "id": "schemas/joe/schedule/period",
                                        "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": {
                                    "id": "schemas/joe/schedule/periods",
                                    "xmlElement": "period",
                                    "type": "array",
                                    "items": {
                                        "id": "schemas/joe/schedule/period",
                                        "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": {
                "id": "schemas/joe/schedule/ultimos",
                "type": "object",
                "javaType": "com.sos.joc.model.joe.schedule.Ultimos",
                "properties": {
                    "days": {
                        "id": "schemas/joe/schedule/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": {
                                    "id": "schemas/joe/schedule/periods",
                                    "xmlElement": "period",
                                    "type": "array",
                                    "items": {
                                        "id": "schemas/joe/schedule/period",
                                        "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": {
                "id": "schemas/joe/schedule/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": {
                            "id": "schemas/joe/schedule/periods",
                            "xmlElement": "period",
                            "type": "array",
                            "items": {
                                "id": "schemas/joe/schedule/period",
                                "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": {
                            "id": "schemas/joe/schedule/weekdays",
                            "type": "object",
                            "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                            "properties": {
                                "days": {
                                    "id": "schemas/joe/schedule/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": {
                                                "id": "schemas/joe/schedule/periods",
                                                "xmlElement": "period",
                                                "type": "array",
                                                "items": {
                                                    "id": "schemas/joe/schedule/period",
                                                    "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": {
                            "id": "schemas/joe/schedule/monthdays",
                            "type": "object",
                            "javaType": "com.sos.joc.model.joe.schedule.Monthdays",
                            "properties": {
                                "days": {
                                    "id": "schemas/joe/schedule/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": {
                                                "id": "schemas/joe/schedule/periods",
                                                "xmlElement": "period",
                                                "type": "array",
                                                "items": {
                                                    "id": "schemas/joe/schedule/period",
                                                    "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": {
                                                "id": "schemas/joe/schedule/periods",
                                                "xmlElement": "period",
                                                "type": "array",
                                                "items": {
                                                    "id": "schemas/joe/schedule/period",
                                                    "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": {
                            "id": "schemas/joe/schedule/ultimos",
                            "type": "object",
                            "javaType": "com.sos.joc.model.joe.schedule.Ultimos",
                            "properties": {
                                "days": {
                                    "id": "schemas/joe/schedule/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": {
                                                "id": "schemas/joe/schedule/periods",
                                                "xmlElement": "period",
                                                "type": "array",
                                                "items": {
                                                    "id": "schemas/joe/schedule/period",
                                                    "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": {
                "id": "schemas/joe/schedule/holidays",
                "type": "object",
                "javaType": "com.sos.joc.model.joe.schedule.Holidays",
                "properties": {
                    "includes": {
                        "id": "schemas/joe/common/includes",
                        "type": "array",
                        "xmlElement": "include",
                        "items": {
                            "id": "schemas/joe/common/include",
                            "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": {
                        "id": "schemas/joe/schedule/weekdays",
                        "type": "object",
                        "javaType": "com.sos.joc.model.joe.schedule.Weekdays",
                        "properties": {
                            "days": {
                                "id": "schemas/joe/schedule/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": {
                                            "id": "schemas/joe/schedule/periods",
                                            "xmlElement": "period",
                                            "type": "array",
                                            "items": {
                                                "id": "schemas/joe/schedule/period",
                                                "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": {
                                    "id": "schemas/joe/schedule/periods",
                                    "xmlElement": "period",
                                    "type": "array",
                                    "items": {
                                        "id": "schemas/joe/schedule/period",
                                        "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": {
        "validFrom": {
            "description": "yyyy-mm-dd HH:MM[:SS]",
            "type": "string"
        },
        "validTo": {
            "description": "yyyy-mm-dd HH:MM[:SS]",
            "type": "string"
        },
        "substitute": {
            "description": "path to another schedule",
            "type": "string"
        },
        "title": {
            "type": "string"
        }
    }
}