String type schema info.

interface IString {
    deprecated?: boolean;
    description?: string;
    enum?: (null | string)[];
    example?: any;
    examples?: Record<string, any>;
    nullable?: boolean;
    type: "string";
}

Hierarchy (View Summary)

Properties

deprecated?: boolean

Whether the type is deprecated or not.

document of Gemini says not supported, but cannot sure

description?: string

Detailed description of the schema.

enum?: (null | string)[]

Enumeration values.

example?: any

Example value.

document of Gemini says not supported, but cannot sure

examples?: Record<string, any>

List of example values as key-value pairs.

document of Gemini says not supported, but cannot sure

nullable?: boolean

Whether to allow null value or not.

type: "string"

Discriminator value of the type.