Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typebox/src/typebox.ts>StringOptions

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
interface StringOptions
implements SchemaOptions
import { type StringOptions } from "https://deno.land/x/typebox@0.26.0-dev.1/src/typebox.ts";

Type Parameters

Format extends string

Properties

optional
minLength: number
optional
maxLength: number
optional
pattern: string
optional
format: Format
optional
contentEncoding:
| "7bit"
| "8bit"
| "binary"
| "quoted-printable"
| "base64"
optional
contentMediaType: string