{
    "title": "runtime with delivery date",
    "id": "schemas/common/runtime",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.common.RunTime200",
    "type": "object",
    "required": [
        "deliveryDate",
        "runTime"
    ],
    "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"
        },
        "runTime": {
            "id": "schemas/common/runtime",
            "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": {
                    "id": "schemas/common/surveyDate_v",
                    "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": {
                    "type": "string"
                },
                "permanentRunTime": {
                    "description": "is required iff runTimeIsTemporary = true",
                    "type": "string"
                },
                "runTimeIsTemporary": {
                    "type": "boolean",
                    "default": false
                }
            }
        }
    }
}