GuidFormatValidator
Validator for "Guid" format.
                using Newtonsoft.Json.Linq;
using System;
using System.Runtime.CompilerServices;
namespace NJsonSchema.Validation.FormatValidators
{
    [System.Runtime.CompilerServices.NullableContext(1)]
    [System.Runtime.CompilerServices.Nullable(0)]
    public class GuidFormatValidator : IFormatValidator
    {
        public string Format { get; } = "guid";
        public ValidationErrorKind ValidationErrorKind { get; } = ValidationErrorKind.GuidExpected;
        public bool IsValid(string value, JTokenType tokenType)
        {
            Guid result;
            return Guid.TryParse(value, out result);
        }
    }
}