StringSchemaOptionsinterface

{
	readonly value?: string | undefined;
	readonly min?: number | undefined;
	readonly max?: number | undefined;
	readonly rows?: number | undefined;
	readonly match?: RegExp | undefined;
	readonly case?: "upper" | "lower" | undefined;
	readonly input?: StringInputType | undefined;
}
PropertyType
.valuestring
Default string value used when the input is undefined. Defaults to "" readonly
.minnumber
Minimum allowed character length. Defaults to 0 readonly
.maxnumber
Maximum allowed character length. Defaults to Number.POSITIVE_INFINITY readonly
.rowsnumber
Number of rows; more than one enables multiline sanitization. Defaults to 1 readonly
.matchRegExp
Regular expression the sanitized string must match. readonly
.case"upper"
"lower"
Force the result to "upper" or "lower" case. readonly
.inputStringInputType
HTML <input /> type="" hint for downstream UIs. Defaults to "text" readonly

Options for StringSchema.