{
    "title": "running joc log",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.joc.RunningLogEvents",
    "type": "object",
    "extends": {
        "javaType": "com.sos.joc.model.joc.RunningLogFilter",
        "type": "object",
        "required": [
            "eventId"
        ],
        "properties": {
            "eventId": {
                "type": "number",
                "format": "utc-millisec",
                "minimum": 0
            }
        }
    },
    "properties": {
        "logEvents": {
            "type": "array",
            "items": {
                "javaType": "com.sos.joc.model.joc.LogEntry",
                "type": "object",
                "required": [
                    "timestamp",
                    "logger",
                    "thread",
                    "logLevel",
                    "source",
                    "message"
                ],
                "properties": {
                    "timestamp": {
                        "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                        "type": "string",
                        "format": "date-time"
                    },
                    "logger": {
                        "type": "string"
                    },
                    "thread": {
                        "type": "string"
                    },
                    "logLevel": {
                        "type": "string",
                        "javaType": "com.sos.joc.model.joc.LogLevel",
                        "enum": [
                            "FATAL",
                            "ERROR",
                            "WARN",
                            "INFO",
                            "DEBUG",
                            "TRACE"
                        ]
                    },
                    "source": {
                        "description": "main(joc.log), service-cluster, service-history, etc.",
                        "type": "string"
                    },
                    "message": {
                        "type": "string"
                    },
                    "thrown": {
                        "type": "string"
                    }
                },
                "additionalProperties": false
            }
        }
    },
    "additionalProperties": false
}