<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />

Newtonsoft.Json.Schema.JsonSchemaException

Returns detailed information about the schema exception.

JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
namespace Newtonsoft.Json.Schema { public class JsonSchemaException : JsonException { public int LineNumber { get; } public int LinePosition { get; } public string Path { get; } public JsonSchemaException(); public JsonSchemaException(string message); public JsonSchemaException(string message, Exception innerException); public JsonSchemaException(SerializationInfo info, StreamingContext context); } }