interface TUnion<T> {
    [Hint]?: string;
    [Kind]: "Union";
    [OptionalKind]?: string;
    [ReadonlyKind]?: string;
    $id?: string;
    $schema?: string;
    anyOf: T;
    default?: any;
    description?: string;
    examples?: any;
    params: unknown[];
    readOnly?: boolean;
    static: UnionStatic<T, unknown[]>;
    title?: string;
    writeOnly?: boolean;
}

Type Parameters

Hierarchy (view full)

Properties

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

Id for this schema

$schema?: string
anyOf: T
default?: any

Default value for this schema

description?: string

Description of this schema

examples?: any

Example values matching this schema

params: unknown[]
readOnly?: boolean

Optional annotation for readOnly

static: UnionStatic<T, unknown[]>
title?: string

Title of this schema

writeOnly?: boolean

Optional annotation for writeOnly