{
    "title": "modify custom event",
    "id": "schemas/event/modifyCustomEvent",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.event.custom.ModifyEvent",
    "type": "object",
    "properties": {
        "eventjobChain": {
            "id": "schemas/common/path",
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "/([^/]+/)*[^/]+"
        },
        "orderId": {
            "type": "string"
        },
        "jobChain": {
            "id": "schemas/common/path",
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "/([^/]+/)*[^/]+"
        },
        "job": {
            "id": "schemas/common/path",
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "/([^/]+/)*[^/]+"
        },
        "jobschedulerId": {
            "type": "string"
        },
        "eventClass": {
            "type": "string"
        },
        "eventId": {
            "type": "string"
        },
        "exitCode": {
            "id": "schemas/common/nonNegativeInteger",
            "type": "integer",
            "minimum": 0
        },
        "expires": {
            "type": "string"
        },
        "expirationPeriod": {
            "type": "string"
        },
        "expirationCycle": {
            "type": "string"
        },
        "params": {
            "id": "schemas/common/nameValuePairs",
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.common.NameValuePair",
                "type": "object",
                "required": [
                    "name",
                    "value"
                ],
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "value": {
                        "type": "string"
                    }
                }
            }
        },
        "auditLog": {
            "id": "schemas/common/auditParams",
            "javaType": "com.sos.joc.model.audit.AuditParams",
            "type": "object",
            "properties": {
                "comment": {
                    "type": "string"
                },
                "timeSpent": {
                    "id": "schemas/common/nonNegativeInteger",
                    "type": "integer",
                    "minimum": 0
                },
                "ticketLink": {
                    "type": "string"
                }
            }
        }
    }
}