IFormatValidator
Provides a method to verify if value is of valid format.
using Newtonsoft.Json.Linq;
namespace NJsonSchema.Validation.FormatValidators
{
public interface IFormatValidator
{
ValidationErrorKind ValidationErrorKind { get; }
string Format { get; }
bool IsValid(string value, JTokenType tokenType);
}
}