<PackageReference Include="NJsonSchema" Version="6.1.6179.17509" />

ValidationError

public class ValidationError
A validation error.
namespace NJsonSchema.Validation { public class ValidationError { public ValidationErrorKind Kind { get; set; } public string Property { get; set; } public string Path { get; set; } public ValidationError(ValidationErrorKind errorKind, string propertyName, string propertyPath) { Kind = errorKind; Property = propertyName; Path = ((propertyPath != null) ? ("#/" + propertyPath) : "#"); } public override string ToString() { return string.Format("{0}: {1}", new object[2] { Kind, Path }); } } }