Interface: StringOptions
Extends
Properties
$id?
optional$id:string
Id for this schema
Inherited from
Defined in
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:5
$schema?
optional$schema:string
Inherited from
Defined in
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:3
contentEncoding?
optionalcontentEncoding:StringContentEncodingOption
The content encoding for this string
Defined in
node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts:15
contentMediaType?
optionalcontentMediaType:string
The content media type for this string
Defined in
node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts:17
default?
optionaldefault:any
Default value for this schema
Inherited from
Defined in
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:11
description?
optionaldescription:string
Description of this schema
Inherited from
Defined in
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:9
examples?
optionalexamples:any
Example values matching this schema
Inherited from
Defined in
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:13
format?
optionalformat:StringFormatOption
A format this string should match
Defined in
node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts:13
maxLength?
optionalmaxLength:number
The maximum string length
Defined in
node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts:7
minLength?
optionalminLength:number
The minimum string length
Defined in
node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts:9
pattern?
optionalpattern:string
A regular expression pattern this string should match
Defined in
node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts:11
readOnly?
optionalreadOnly:boolean
Optional annotation for readOnly
Inherited from
Defined in
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:15
title?
optionaltitle:string
Title of this schema
Inherited from
Defined in
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:7
writeOnly?
optionalwriteOnly:boolean
Optional annotation for writeOnly
Inherited from
Defined in
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:17