Table of Contents

Enum TextExtractionElementFormat.PredefinedStringFormat

Namespace
LMKit.Extraction
Assembly
LM-Kit.NET.dll

Enumerates the standard string formats supported by the extractor.

public enum TextExtractionElementFormat.PredefinedStringFormat

Fields

None = 0

Indicates that no specific format validation is applied. This is equivalent to omitting the format keyword in a schema.

Date = 1

The “date” format: an RFC 3339 full-date, YYYY-MM-DD (e.g. "2025-05-16").

DateTime = 2

The “date-time” format: an RFC 3339 date-time, YYYY-MM-DDThh:mm:ssZ (e.g. "2025-05-16T08:30:00Z").

Time = 3

The “time” format: an RFC 3339 partial-time, hh:mm:ss[.sss] (e.g. "08:30:00").

Email = 4

The “email” format: an Internet email address as defined by RFC 5322, with optional IDN support.

Hostname = 5

The “hostname” format: an Internet host name (letters, digits, hyphens), with optional IDN support.

Ipv4 = 6

The “ipv4” format: a dotted-quad IPv4 address (e.g. "192.168.0.1").

Ipv6 = 7

The “ipv6” format: a full or compressed IPv6 address (e.g. "2001:0db8::1").

Uri = 8

The “uri” format: a URI reference as defined by RFC 3986 (e.g. "https://example.com/path?query").