interface TString {
    [Hint]?: string;
    [Kind]: "String";
    [OptionalKind]?: string;
    [ReadonlyKind]?: string;
    $id?: string;
    $schema?: string;
    contentEncoding?: StringContentEncodingOption;
    contentMediaType?: string;
    default?: any;
    description?: string;
    examples?: any;
    format?: StringFormatOption;
    maxLength?: number;
    minLength?: number;
    params: unknown[];
    pattern?: string;
    readOnly?: boolean;
    static: string;
    title?: string;
    type: "string";
    writeOnly?: boolean;
}

Hierarchy (view full)

Properties

[Hint]?: string
[Kind]: "String"
[OptionalKind]?: string
[ReadonlyKind]?: string
$id?: string

Id for this schema

$schema?: string
contentEncoding?: StringContentEncodingOption

The content encoding for this string

contentMediaType?: string

The content media type for this string

default?: any

Default value for this schema

description?: string

Description of this schema

examples?: any

Example values matching this schema

A format this string should match

maxLength?: number

The maximum string length

minLength?: number

The minimum string length

params: unknown[]
pattern?: string

A regular expression pattern this string should match

readOnly?: boolean

Optional annotation for readOnly

static: string
title?: string

Title of this schema

type: "string"
writeOnly?: boolean

Optional annotation for writeOnly