{
    "title": "file transfer files filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.yade.FilesFilter",
    "type": "object",
    "properties": {
        "transferIds": {
            "type": "array",
            "items": {
                "type": "number",
                "format": "utc-millisec",
                "minimum": 0
            }
        },
        "states": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.yade.FileTransferStateText",
                "type": "string",
                "enum": [
                    "UNDEFINED",
                    "WAITING",
                    "TRANSFERRING",
                    "IN_PROGRESS",
                    "TRANSFERRED",
                    "SUCCESS",
                    "SKIPPED",
                    "FAILED",
                    "ABORTED",
                    "COMPRESSED",
                    "NOT_OVERWRITTEN",
                    "DELETED",
                    "RENAMED",
                    "IGNORED_DUE_TO_ZEROBYTE_CONSTRAINT",
                    "ROLLED_BACK",
                    "POLLING"
                ]
            }
        },
        "sourceFiles": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            }
        },
        "targetFiles": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            }
        },
        "sourceFile": {
            "description": "pattern with wildcards '*' and '?' where '*' match zero or more characters and '?' match any single character",
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "targetFile": {
            "description": "pattern with wildcards '*' and '?' where '*' match zero or more characters and '?' match any single character",
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "limit": {
            "description": "only for db history urls to restrict the number of responsed records; -1=unlimited",
            "type": "integer",
            "default": 10000
        }
    }
}