{
    "title": "conditionEvent",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.jobstreams.ConditionEvent",
    "type": "object",
    "required": [
        "jobschedulerId",
        "jobStream",
        "outConditionId",
        "event"
    ],
    "properties": {
        "jobschedulerId": {
            "type": "string",
            "pattern": "^[^/\\<>?:\"|*]*$",
            "maxLength": 100
        },
        "event": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "globalEvent": {
            "type": "boolean"
        },
        "path": {
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
            "maxLength": 255
        },
        "jobStream": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "session": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 100
        },
        "outConditionId": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        }
    }
}