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 kind, string property, string path)
{
Kind = kind;
Property = property;
Path = ((path != null) ? ("#/" + path) : "#");
}
}
}