{
    "title": "customEvent",
    "id": "schemas/event/customEvent",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.event.custom.Event",
    "type": "object",
    "required": [
        "jobschedulerId"
    ],
    "properties": {
        "jobschedulerId": {
            "type": "string"
        },
        "id": {
            "id": "schemas/common/nonNegativeLong",
            "type": "string",
            "format": "utc-millisec"
        },
        "eventId": {
            "type": "string"
        },
        "eventClass": {
            "type": "string"
        },
        "exitCode": {
            "id": "schemas/common/nonNegativeInteger",
            "type": "integer",
            "minimum": 0
        },
        "job": {
            "id": "schemas/common/path",
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "/([^/]+/)*[^/]+"
        },
        "jobChain": {
            "id": "schemas/common/path",
            "description": "absolute path based on live folder of a JobScheduler object.",
            "type": "string",
            "pattern": "/([^/]+/)*[^/]+"
        },
        "orderId": {
            "type": "string"
        },
        "created": {
            "id": "schemas/common/timestamp",
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "expires": {
            "id": "schemas/common/timestamp",
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "remoteJobSchedulerHost": {
            "type": "string"
        },
        "remoteJobSchedulerPort": {
            "id": "schemas/common/port",
            "type": "integer",
            "minimum": 0,
            "maximum": 65535
        }
    }
}