{
    "title": "fileOrderSource",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.joe.jobchain.FileOrderSource",
    "type": "object",
    "required": [
        "directory"
    ],
    "properties": {
        "directory": {
            "type": "string"
        },
        "regex": {
            "type": "string"
        },
        "repeat": {
            "description": "possible values: 'no' or positive number",
            "type": "string"
        },
        "delayAfterError": {
            "type": "integer",
            "minimum": 0
        },
        "max": {
            "type": "integer",
            "minimum": 0
        },
        "nextState": {
            "type": "string"
        },
        "alertWhenDirectoryMissing": {
            "description": "possible values: yes, no, 1, 0, true, false",
            "type": "string",
            "default": "true"
        }
    }
}