public static CapturedConstraint Length(this IHaveConstraintFactory self, int length) => self.Capture(new ExactStringLengthJsonConstraint(length));
public static CapturedConstraint LengthBetween(this IHaveConstraintFactory self, int minLength, int maxLength) => self.Capture(new StringLengthJsonConstraint(minLength, maxLength));
public static CapturedConstraint Value(this IHaveConstraintFactory self) => self.Capture(new HasValueConstraint());
public static CapturedConstraint MaxLength(this IHaveConstraintFactory self, int maxLength) => self.Capture(new MaxStringLengthJsonConstraint(maxLength));
public static CapturedConstraint MinLength(this IHaveConstraintFactory self, int minLength) => self.Capture(new MinLengthConstraint(minLength));