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

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