Skip to main content
Go to Latest
interface StringOptions
implements SchemaOptions
import { type StringOptions } from "https://deno.land/x/openbox@1.1.1/deps.ts";

Properties

optional
maxLength: number

The maximum string length

optional
minLength: number

The minimum string length

optional
pattern: string

A regular expression pattern this string should match

optional
format: StringFormatOption

A format this string should match

optional
contentEncoding: StringContentEncodingOption

The content encoding for this string

optional
contentMediaType: string

The content media type for this string