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

JsonFormatStrings

public static class JsonFormatStrings
Class containing the constants available as format string.
public const string Base64 = "base64"

Format for binary data encoded with Base64.

public const string Byte = "byte"

Format for a byte if used with numeric type or for base64 encoded value otherwise.

public const string Date = "date"

Format for a full date per RFC3339 Section 5.6.

public const string DateTime = "date-time"

Format for a DateTime.

public const string Decimal = "decimal"

Format for a decimal number.

public const string Double = "double"

Format for a double number.

public const string Email = "email"

Format for an email.

public const string Float = "float"

Format for a float number.

public const string Guid = "guid"

Format for an GUID.

public const string Hostname = "hostname"

Format for a hostname (DNS name).

public const string Integer = "int32"

Format for an integer.

public const string IpV4 = "ipv4"

Format for an IP v4 address.

public const string IpV6 = "ipv6"

Format for an IP v6 address.

public const string Long = "int64"

Format for a long integer.

public const string Phone = "phone"

Format for a phone number.

public const string Time = "time"

Format for a full time per RFC3339 Section 5.6.

public const string TimeSpan = "time-span"

Format for a TimeSpan.

public const string Uri = "uri"

Format for an URI.

public const string Uuid = "uuid"

Format for an UUID (same as GUID).