{
    "title": "Import Filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.publish.ImportFilter",
    "type": "object",
    "required": [
        "overwrite"
    ],
    "properties": {
        "overwrite": {
            "type": "boolean"
        },
        "targetFolder": {
            "description": "absolute path of an object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
            "maxLength": 255,
            "minLength": 1
        },
        "format": {
            "javaType": "com.sos.joc.model.publish.ArchiveFormat",
            "type": "string",
            "enum": [
                "ZIP",
                "TAR_GZ"
            ],
            "default": "ZIP"
        },
        "suffix": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 100
        },
        "prefix": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 100
        },
        "auditLog": {
            "javaType": "com.sos.joc.model.audit.AuditParams",
            "type": "object",
            "properties": {
                "comment": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "timeSpent": {
                    "type": "integer",
                    "minimum": 0
                },
                "ticketLink": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                }
            }
        }
    }
}