{
    "additionalProperties": false,
    "description": "Schema for an application error",
    "properties": {
        "causeStackTrace": {
            "maxLength": 8192,
            "type": [
                "string",
                "null"
            ]
        },
        "className": {
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "exceptionName": {
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fileName": {
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "isFatal": {
            "type": [
                "boolean",
                "null"
            ]
        },
        "lineColumn": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": [
                "integer",
                "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"
            ],
            "type": "string"
        },
        "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-2"
    },
    "type": "object"
}