{
    "title": "periods",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "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"
            }
        }
    }
}