{
    "title": "Convert Cron Filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.convert.ConvertCronFilter",
    "type": "object",
    "required": [
        "calendarName",
        "agentName"
    ],
    "properties": {
        "folder": {
            "type": "string",
            "pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
            "maxLength": 255,
            "minLength": 1,
            "default": "/"
        },
        "calendarName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "agentName": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 100
        },
        "subagentClusterId": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "systemCrontab": {
            "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
                }
            }
        }
    }
}