{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the error"
    },
    "message": {
      "type": "string",
      "description": "Message of the error"
    },
    "stack": {
      "type": "string",
      "description": "Call stack of the error"
    },
    "additionalData": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "stack": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "message"
      ],
      "additionalProperties": false,
      "description": "Internal error that occurred. If the stack is disabled this error is not set for security reasons"
    },
    "statusCode": {
      "type": "number",
      "description": "HTTP status code to return this error with"
    }
  },
  "additionalProperties": false,
  "required": [
    "message",
    "name",
    "statusCode"
  ],
  "description": "An error that is returned, when an internal server error occurred",
  "definitions": {
    "SCSCInternalServerErrorResponse": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the error"
        },
        "message": {
          "type": "string",
          "description": "Message of the error"
        },
        "stack": {
          "type": "string",
          "description": "Call stack of the error"
        },
        "additionalData": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "message": {
              "type": "string"
            },
            "stack": {
              "type": "string"
            }
          },
          "required": [
            "name",
            "message"
          ],
          "additionalProperties": false,
          "description": "Internal error that occurred. If the stack is disabled this error is not set for security reasons"
        },
        "statusCode": {
          "type": "number",
          "description": "HTTP status code to return this error with"
        }
      },
      "additionalProperties": false,
      "required": [
        "message",
        "name",
        "statusCode"
      ],
      "description": "An error that is returned, when an internal server error occurred"
    }
  },
  "$id": "https://core.stapps.tu-berlin.de/v4.0.2/lib/schema/SCInternalServerErrorResponse.json"
}