{
    "additionalProperties": false,
    "definitions": {
        "Error": {
            "properties": {
                "exc": {
                    "description": "Message from extracted traceback (should be identical to `message`)",
                    "type": "string"
                },
                "fname": {
                    "description": "Name of file from which the exception was thrown",
                    "type": "string"
                },
                "func": {
                    "description": "Name of function from which the exception was thrown",
                    "type": "string"
                },
                "line_number": {
                    "description": "Line at which exception occurred",
                    "type": "number"
                },
                "message": {
                    "description": "Message passed to exception",
                    "type": "string"
                }
            },
            "required": [
                "message"
            ],
            "type": "object"
        },
        "Record": {
            "properties": {
                "args": {},
                "created": {},
                "exc_info": {},
                "exc_text": {},
                "filename": {},
                "funcName": {},
                "levelname": {},
                "levelno": {},
                "lineno": {},
                "message": {
                    "type": "string"
                },
                "module": {},
                "msecs": {},
                "name": {},
                "pathname": {},
                "process": {},
                "processName": {},
                "relativeCreated": {},
                "thread": {},
                "threadName": {}
            },
            "required": [
                "message"
            ],
            "type": "object"
        }
    },
    "description": "Result from processing a (plugin, instance) pair",
    "properties": {
        "duration": {
            "description": "Time in milliseconds taken to process a pair",
            "type": "number"
        },
        "error": {
            "oneOf": [
                {
                    "$ref": "#/definitions/Error"
                },
                {
                    "type": "null"
                }
            ]
        },
        "instance": {
            "description": "Name of processed instance or null if no instance were processed",
            "type": [
                "string",
                "null"
            ]
        },
        "plugin": {
            "description": "Name of processed plug-in",
            "type": "string"
        },
        "records": {
            "items": {
                "$ref": "#/definitions/Record"
            },
            "type": "array"
        },
        "success": {
            "description": "Status of processing",
            "type": "boolean"
        }
    },
    "title": "Result",
    "type": "object"
}