{
    "title": "ConditionEvents",
    "id": "schemas/jobstreams/conditionEvents",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.jobstreams.ConditionEvents",
    "type": "object",
    "required": [
        "deliveryDate",
        "conditionEvents"
    ],
    "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"
        },
        "session": {
            "type": "string"
        },
        "conditionEvents": {
            "type": "array",
            "items": {
                "id": "schemas/jobstreams/conditionEvent",
                "javaType": "com.sos.joc.model.jobstreams.ConditionEvent",
                "type": "object",
                "properties": {
                    "jobschedulerId": {
                        "type": "string"
                    },
                    "event": {
                        "type": "string"
                    },
                    "globalEvent": {
                        "type": "boolean"
                    },
                    "path": {
                        "type": "string"
                    },
                    "jobStream": {
                        "type": "string"
                    },
                    "session": {
                        "type": "string"
                    },
                    "outConditionId": {
                        "id": "schemas/common/nonNegativeLong",
                        "type": "string",
                        "format": "utc-millisec"
                    }
                }
            }
        }
    }
}