{
    "title": "Schedule RunTime response",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.schedule.runtime.ScheduleRunTimeResponse",
    "type": "object",
    "required": [
        "deliveryDate",
        "dates"
    ],
    "properties": {
        "deliveryDate": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "dates": {
            "javaType": "com.sos.joc.model.schedule.runtime.items.DailyPlanDates",
            "type": "object",
            "additionalProperties": {
                "javaType": "com.sos.joc.model.schedule.runtime.items.DailyPlanDate",
                "type": "object",
                "description": "",
                "required": [
                    "periods"
                ],
                "properties": {
                    "periods": {
                        "type": "array",
                        "items": {
                            "javaType": "com.sos.inventory.model.calendar.Period",
                            "type": "object",
                            "properties": {
                                "singleStart": {
                                    "type": "string",
                                    "pattern": "^([0-1][0-9]|2[0-4])(:[0-5][0-9]){1,2}$"
                                },
                                "begin": {
                                    "type": "string",
                                    "pattern": "^([0-1][0-9]|2[0-4])(:[0-5][0-9]){1,2}$"
                                },
                                "end": {
                                    "type": "string",
                                    "pattern": "^([0-1][0-9]|2[0-4])(:[0-5][0-9]){1,2}$"
                                },
                                "repeat": {
                                    "type": "string",
                                    "pattern": "^([0-1][0-9]|2[0-4])(:[0-5][0-9]){1,2}$"
                                },
                                "whenHoliday": {
                                    "javaType": "com.sos.inventory.model.calendar.WhenHolidayType",
                                    "description": "default: SUPPRESS",
                                    "type": "string",
                                    "enum": [
                                        "SUPPRESS",
                                        "IGNORE",
                                        "PREVIOUSNONWORKINGDAY",
                                        "NEXTNONWORKINGDAY"
                                    ]
                                }
                            }
                        }
                    }
                },
                "additionalProperties": false
            }
        }
    },
    "additionalProperties": false
}