{
    "title": "run time",
    "id": "schemas/plan/runtime",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.plan.RunTime",
    "type": "object",
    "required": [
        "deliveryDate",
        "timeZone",
        "periods"
    ],
    "properties": {
        "deliveryDate": {
            "id": "schemas/common/deliveryDate",
            "description": "Current date of the JOC server/REST service. Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ",
            "type": "string",
            "format": "date-time"
        },
        "timeZone": {
            "type": "string",
            "default": "UTC"
        },
        "periods": {
            "type": "array",
            "items": {
                "id": "schemas/calendar/periods",
                "javaType": "com.sos.joc.model.calendar.Period",
                "type": "object",
                "properties": {
                    "singleStart": {
                        "type": "string"
                    },
                    "begin": {
                        "type": "string"
                    },
                    "end": {
                        "type": "string"
                    },
                    "repeat": {
                        "type": "string"
                    },
                    "absoluteRepeat": {
                        "type": "string"
                    },
                    "whenHoliday": {
                        "type": "string"
                    }
                }
            }
        }
    }
}