{
    "title": "filter for descriptor copy",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.descriptor.copy.RequestFilter",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.descriptor.common.RequestFilter",
        "type": "object",
        "required": [
            "path"
        ],
        "properties": {
            "path": {
                "type": "string",
                "pattern": "^[^<>]*$",
                "maxLength": 255,
                "minLength": 1
            },
            "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
                    }
                }
            }
        }
    },
    "required": [
        "path",
        "objectType",
        "newPath"
    ],
    "properties": {
        "newPath": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255,
            "minLength": 1
        },
        "objectType": {
            "javaType": "com.sos.joc.model.inventory.common.ConfigurationType",
            "type": "string",
            "enum": [
                "FOLDER",
                "WORKFLOW",
                "JOBCLASS",
                "JOBRESOURCE",
                "LOCK",
                "NOTICEBOARD",
                "FILEORDERSOURCE",
                "WORKINGDAYSCALENDAR",
                "NONWORKINGDAYSCALENDAR",
                "SCHEDULE",
                "INCLUDESCRIPT",
                "JOBTEMPLATE",
                "DEPLOYMENTDESCRIPTOR",
                "DESCRIPTORFOLDER"
            ]
        },
        "suffix": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 100
        },
        "prefix": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 100
        }
    }
}