interface TNot<T> {
    $id?: string;
    $schema?: string;
    [Hint]?: string;
    [Kind]: "Not";
    [OptionalKind]?: string;
    [ReadonlyKind]?: string;
    default?: any;
    description?: string;
    examples?: any;
    not: T;
    params: unknown[];
    readOnly?: boolean;
    static: T extends TNot<U>
        ? (U & {
            params: [];
        })["static"]
        : unknown;
    title?: string;
    writeOnly?: boolean;
}

Type Parameters

Hierarchy (view full)

Properties

$id?: string

Id for this schema

$schema?: string
[Hint]?: string
[Kind]: "Not"
[OptionalKind]?: string
[ReadonlyKind]?: string
default?: any

Default value for this schema

description?: string

Description of this schema

examples?: any

Example values matching this schema

not: T
params: unknown[]
readOnly?: boolean

Optional annotation for readOnly

static: T extends TNot<U>
    ? (U & {
        params: [];
    })["static"]
    : unknown
title?: string

Title of this schema

writeOnly?: boolean

Optional annotation for writeOnly