{
  "$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": "array",
      "items": {
        "type": "object",
        "properties": {
          "dataPath": {
            "type": "string",
            "description": "JSON schema path"
          },
          "instance": {
            "description": "The instance"
          },
          "message": {
            "type": "string",
            "description": "The message\n\nProvided by https://www.npmjs.com/package/better-ajv-errors"
          },
          "name": {
            "type": "string",
            "description": "Name of the error"
          },
          "schemaPath": {
            "type": "string",
            "description": "Path within the Schema"
          },
          "suggestion": {
            "type": "string",
            "description": "Suggestion to fix the occurring error\n\nProvided by https://www.npmjs.com/package/better-ajv-errors"
          }
        },
        "required": [
          "dataPath",
          "instance",
          "message",
          "name",
          "schemaPath"
        ],
        "additionalProperties": false,
        "description": "An error that occurred while validating\n\nThis is a duplicate of the ValidationError in core/protocol/errors/validation because of incompatibilities between TypeDoc and TypeScript"
      },
      "description": "List of validatation errors"
    },
    "statusCode": {
      "type": "number",
      "description": "HTTP status code to return this error with"
    }
  },
  "required": [
    "additionalData",
    "message",
    "name",
    "statusCode"
  ],
  "additionalProperties": false,
  "description": "An error that is returned when the validation of a request fails",
  "definitions": {
    "SCSCValidationErrorResponse": {
      "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": "array",
          "items": {
            "type": "object",
            "properties": {
              "dataPath": {
                "type": "string",
                "description": "JSON schema path"
              },
              "instance": {
                "description": "The instance"
              },
              "message": {
                "type": "string",
                "description": "The message\n\nProvided by https://www.npmjs.com/package/better-ajv-errors"
              },
              "name": {
                "type": "string",
                "description": "Name of the error"
              },
              "schemaPath": {
                "type": "string",
                "description": "Path within the Schema"
              },
              "suggestion": {
                "type": "string",
                "description": "Suggestion to fix the occurring error\n\nProvided by https://www.npmjs.com/package/better-ajv-errors"
              }
            },
            "required": [
              "dataPath",
              "instance",
              "message",
              "name",
              "schemaPath"
            ],
            "additionalProperties": false,
            "description": "An error that occurred while validating\n\nThis is a duplicate of the ValidationError in core/protocol/errors/validation because of incompatibilities between TypeDoc and TypeScript"
          },
          "description": "List of validatation errors"
        },
        "statusCode": {
          "type": "number",
          "description": "HTTP status code to return this error with"
        }
      },
      "required": [
        "additionalData",
        "message",
        "name",
        "statusCode"
      ],
      "additionalProperties": false,
      "description": "An error that is returned when the validation of a request fails"
    }
  },
  "$id": "https://core.stapps.tu-berlin.de/v4.0.2/lib/schema/SCValidationErrorResponse.json"
}