{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "SdkException",
    "type": "object",
    "additionalProperties": false,
    "description": "Drive Motion SDK Exception Event Schema",
    "properties": {
        "log_context": {
            "$ref": "/resources/schema/analytics/client/v4/LogContext.json",
            "description": "Required Log Context Reference"
        },
        "event_name": {
            "type": "string",
            "enum": [
                "SDK_EXCEPTION"
            ],
            "description": "Event name identifier."
        },
        "schema_definition": {
            "type": "string",
            "enum": [
                "SdkException"
            ],
            "description": "Schema definition name."
        },
        "exception_type": {
            "type": "string",
            "description": "The type or class name of the exception (e.g., IllegalStateException, TimeoutError)."
        },
        "exception_message": {
            "type": "string",
            "description": "Detailed exception message or stack trace snippet."
        },
        "exception_severity": {
            "type": "string",
            "enum": [
                "INFO",
                "WARNING",
                "ERROR",
                "CRITICAL"
            ],
            "description": "Severity level of the exception."
        },
        "occur_utc_timestamp": {
            "type": "integer",
            "description": "UTC timestamp in milliseconds when the exception occurred."
        },
        "thread_name": {
            "type": "string",
            "description": "The name of the thread in which the exception occurred."
        }
    },
    "required": [
        "log_context",
        "event_name",
        "schema_definition",
        "exception_type",
        "exception_message",
        "exception_severity",
        "occur_utc_timestamp"
    ]
}