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

IFormatValidator

public interface 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); } }