{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "AppCrash",
    "type": "object",
    "additionalProperties": false,
    "description": "TAnalytics-v2 .. App crash event",
    "properties": {
        "log_context": {
            "$ref": "/resources/schema/analytics/client/v2/LogContext.json",
            "description": "Required Log Context Reference"
        },
        "event_name": {
            "type": "string",
            "enum": ["APP_CRASH"]
        },
        "schema_definition": {
            "type": "string",
            "enum": ["AppCrash"]
        },
        "transaction_tag": {
            "type": "string",
            "description": "transaction tag"
        },
        "app_state": {
            "type": "string",
            "description": "App state"
        },
        "app_sub_state": {
            "type": "string",
            "description": "App sub state"
        },
        "error_message": {
            "type": "string",
            "description": "error message"
        }
    },
    "required": [
        "log_context",
        "event_name",
        "schema_definition"
    ]
}