{
    "title": "event from approval notification",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.event.EventApprovalNotification",
    "type": "object",
    "required": [
        "eventType"
    ],
    "javaInterfaces": [
        "com.sos.joc.model.common.IEventObject"
    ],
    "properties": {
        "eventId": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        },
        "eventType": {
            "description": "ApproverNotification, RequestorNotification",
            "type": "string"
        },
        "approver": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "numOfPendingApprovals": {
            "type": "number",
            "format": "utc-millisec",
            "minimum": 0
        },
        "requestor": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "approverState": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        }
    },
    "additionalProperties": false
}