{
    "title": "Filter for Workflows updates from JobTemplates in specified folder",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.jobtemplate.propagate.WorkflowPropagateFilter",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.jobtemplate.propagate.JobTemplatesPropagateBaseFilter",
        "type": "object",
        "properties": {
            "overwriteNotification": {
                "type": "boolean",
                "default": false
            },
            "overwriteAdmissionTime": {
                "type": "boolean",
                "default": false
            },
            "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
                    }
                }
            }
        },
        "additionalProperties": false
    },
    "properties": {
        "workflowPaths": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            }
        },
        "folder": {
            "description": "absolute path of an object.",
            "type": "string",
            "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
            "maxLength": 255,
            "minLength": 1
        },
        "recursive": {
            "type": "boolean",
            "default": false
        }
    },
    "additionalProperties": false
}