{
    "additionalProperties": false,
    "description": "Schema for an application error",
    "properties": {
        "className": {
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "exceptionName": {
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "isFatal": {
            "type": [
                "boolean",
                "null"
            ]
        },
        "lineNumber": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": [
                "integer",
                "null"
            ]
        },
        "message": {
            "maxLength": 2048,
            "type": "string"
        },
        "programmingLanguage": {
            "enum": [
                "JAVA",
                "SCALA",
                "KOTLIN",
                "GROOVY",
                "RUBY",
                "GOLANG",
                "JAVASCRIPT",
                "PHP",
                "PYTHON",
                "OBJECTIVEC",
                "SWIFT",
                "C",
                "CPLUSPLUS",
                "CSHARP",
                "ACTIONSCRIPT",
                "LUA",
                "RUST",
                "HASKELL",
                "CLOJURE",
                "ERLANG",
                "ELIXIR",
                "CRYSTAL",
                "PONY",
                "NIM"
            ]
        },
        "stackTrace": {
            "maxLength": 8192,
            "type": [
                "string",
                "null"
            ]
        },
        "threadId": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": [
                "integer",
                "null"
            ]
        },
        "threadName": {
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        }
    },
    "required": [
        "programmingLanguage",
        "message"
    ],
    "self": {
        "format": "jsonschema",
        "name": "application_error",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-0-0"
    },
    "type": "object"
}