{
    "additionalProperties": false,
    "description": "Schema for a tracker error",
    "properties": {
        "className": {
            "description": "ClassName where the error appeared.",
            "maxLength": 1024,
            "minLength": 0,
            "type": [
                "string",
                "null"
            ]
        },
        "exceptionName": {
            "description": "Exception name involved in the error.",
            "maxLength": 1024,
            "minLength": 0,
            "type": [
                "string",
                "null"
            ]
        },
        "message": {
            "description": "Message of the error.",
            "maxLength": 2048,
            "minLength": 0,
            "type": "string"
        },
        "stackTrace": {
            "description": "StackTrace of the error.",
            "maxLength": 8192,
            "minLength": 0,
            "type": [
                "string",
                "null"
            ]
        }
    },
    "required": [
        "message"
    ],
    "self": {
        "format": "jsonschema",
        "name": "diagnostic_error",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-0-0"
    },
    "type": "object"
}