{
    "title": "fileOrderSource (volatile part)",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.jobChain.FileWatchingNodeV",
    "type": "object",
    "required": [
        "directory",
        "regex"
    ],
    "properties": {
        "directory": {
            "type": "string"
        },
        "regex": {
            "type": "string"
        },
        "files": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.jobChain.FileWatchingNodeFile",
                "type": "object",
                "properties": {
                    "path": {
                        "description": "absolute path based on live folder of a JobScheduler object.",
                        "type": "string",
                        "pattern": "^(/|(/[^/\\<>?:\"|*]+)+)$",
                        "maxLength": 255
                    },
                    "modified": {
                        "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                        "type": "string",
                        "format": "date-time"
                    }
                }
            }
        },
        "repeat": {
            "type": "integer",
            "minimum": 0
        },
        "delayAfterError": {
            "type": "integer",
            "minimum": 0
        },
        "alertWhenDirectoryMissing": {
            "type": "boolean"
        }
    }
}