{
    "title": "Conditions Events Filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.jobstreams.ConditionEventsFilter",
    "type": "object",
    "required": [
        "jobschedulerId"
    ],
    "properties": {
        "jobschedulerId": {
            "type": "string",
            "pattern": "^[^/\\<>?:\"|*]*$",
            "maxLength": 100
        },
        "session": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 100
        },
        "path": {
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
            "maxLength": 255
        },
        "jobStream": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "outConditionId": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        },
        "limit": {
            "description": "restricts the number of responsed records; -1=unlimited",
            "type": "integer",
            "default": 0
        }
    }
}