{
    "title": "jobscheduler custom event for calendar and calendar usage",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.jobscheduler.model.event.CalendarEvent",
    "type": "object",
    "properties": {
        "TYPE": {
            "type": "string",
            "default": "VariablesCustomEvent"
        },
        "key": {
            "type": "string"
        },
        "eventId": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        },
        "variables": {
            "javaType": "com.sos.jobscheduler.model.event.CalendarVariables",
            "type": "object",
            "properties": {
                "path": {
                    "type": "string"
                },
                "oldPath": {
                    "type": "string"
                },
                "objectType": {
                    "javaType": "com.sos.jobscheduler.model.event.CalendarObjectType",
                    "type": "string",
                    "enum": [
                        "WORKINGDAYSCALENDAR",
                        "NONWORKINGDAYSCALENDAR",
                        "JOB",
                        "ORDER",
                        "SCHEDULE"
                    ]
                }
            },
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}