near-api-js - v7.0.4
    Preparing search index...

    Interface RootSchema

    The root object of a JSON Schema document.

    interface RootSchema {
        $id?: string | null;
        $ref?: string | null;
        $schema?: string | null;
        additionalItems?: Schema | null;
        additionalProperties?: Schema | null;
        allOf?: Schema[] | null;
        anyOf?: Schema[] | null;
        const?: { [k: string]: unknown };
        contains?: Schema | null;
        default?: { [k: string]: unknown };
        definitions?: { [k: string]: Schema };
        deprecated?: boolean;
        description?: string | null;
        else?: Schema | null;
        enum?: true[] | null;
        examples?: true[];
        exclusiveMaximum?: number | null;
        exclusiveMinimum?: number | null;
        format?: string | null;
        if?: Schema | null;
        items?: SingleOrVecFor_Schema | null;
        maximum?: number | null;
        maxItems?: number | null;
        maxLength?: number | null;
        maxProperties?: number | null;
        minimum?: number | null;
        minItems?: number | null;
        minLength?: number | null;
        minProperties?: number | null;
        multipleOf?: number | null;
        not?: Schema | null;
        oneOf?: Schema[] | null;
        pattern?: string | null;
        patternProperties?: { [k: string]: Schema };
        properties?: { [k: string]: Schema };
        propertyNames?: Schema | null;
        readOnly?: boolean;
        required?: string[];
        then?: Schema | null;
        title?: string | null;
        type?: SingleOrVecFor_InstanceType | null;
        uniqueItems?: boolean | null;
        writeOnly?: boolean;
        [k: string]: unknown;
    }

    Indexable

    • [k: string]: unknown
    Index

    Properties

    $id?: string | null
    $ref?: string | null
    $schema?: string | null

    The $schema keyword.

    See JSON Schema 8.1.1. The "$schema" Keyword.

    additionalItems?: Schema | null

    The additionalItems keyword.

    See JSON Schema 9.3.1.2. "additionalItems".

    additionalProperties?: Schema | null

    The additionalProperties keyword.

    See JSON Schema 9.3.2.3. "additionalProperties".

    allOf?: Schema[] | null

    The allOf keyword.

    See JSON Schema 9.2.1.1. "allOf".

    anyOf?: Schema[] | null

    The anyOf keyword.

    See JSON Schema 9.2.1.2. "anyOf".

    const?: { [k: string]: unknown }
    contains?: Schema | null

    The contains keyword.

    See JSON Schema 9.3.1.4. "contains".

    default?: { [k: string]: unknown }

    The default keyword.

    See JSON Schema Validation 9.2. "default".

    definitions?: { [k: string]: Schema }

    The definitions keyword.

    In JSON Schema draft 2019-09 this was replaced by $defs, but in Schemars this is still serialized as definitions for backward-compatibility.

    See JSON Schema 8.2.5. Schema Re-Use With "$defs", and JSON Schema (draft 07) 9. Schema Re-Use With "definitions".

    deprecated?: boolean

    The deprecated keyword.

    See JSON Schema Validation 9.3. "deprecated".

    description?: string | null
    else?: Schema | null

    The else keyword.

    See JSON Schema 9.2.2.3. "else".

    enum?: true[] | null
    examples?: true[]

    The examples keyword.

    See JSON Schema Validation 9.5. "examples".

    exclusiveMaximum?: number | null

    The exclusiveMaximum keyword.

    See JSON Schema Validation 6.2.3. "exclusiveMaximum".

    exclusiveMinimum?: number | null

    The exclusiveMinimum keyword.

    See JSON Schema Validation 6.2.5. "exclusiveMinimum".

    format?: string | null
    if?: Schema | null

    The if keyword.

    See JSON Schema 9.2.2.1. "if".

    items?: SingleOrVecFor_Schema | null

    The items keyword.

    See JSON Schema 9.3.1.1. "items".

    maximum?: number | null

    The maximum keyword.

    See JSON Schema Validation 6.2.2. "maximum".

    maxItems?: number | null

    The maxItems keyword.

    See JSON Schema Validation 6.4.1. "maxItems".

    maxLength?: number | null

    The maxLength keyword.

    See JSON Schema Validation 6.3.1. "maxLength".

    maxProperties?: number | null

    The maxProperties keyword.

    See JSON Schema Validation 6.5.1. "maxProperties".

    minimum?: number | null

    The minimum keyword.

    See JSON Schema Validation 6.2.4. "minimum".

    minItems?: number | null

    The minItems keyword.

    See JSON Schema Validation 6.4.2. "minItems".

    minLength?: number | null

    The minLength keyword.

    See JSON Schema Validation 6.3.2. "minLength".

    minProperties?: number | null

    The minProperties keyword.

    See JSON Schema Validation 6.5.2. "minProperties".

    multipleOf?: number | null

    The multipleOf keyword.

    See JSON Schema Validation 6.2.1. "multipleOf".

    not?: Schema | null

    The not keyword.

    See JSON Schema 9.2.1.4. "not".

    oneOf?: Schema[] | null

    The oneOf keyword.

    See JSON Schema 9.2.1.3. "oneOf".

    pattern?: string | null

    The pattern keyword.

    See JSON Schema Validation 6.3.3. "pattern".

    patternProperties?: { [k: string]: Schema }

    The patternProperties keyword.

    See JSON Schema 9.3.2.2. "patternProperties".

    properties?: { [k: string]: Schema }

    The properties keyword.

    See JSON Schema 9.3.2.1. "properties".

    propertyNames?: Schema | null

    The propertyNames keyword.

    See JSON Schema 9.3.2.5. "propertyNames".

    readOnly?: boolean
    required?: string[]

    The required keyword.

    See JSON Schema Validation 6.5.3. "required".

    then?: Schema | null

    The then keyword.

    See JSON Schema 9.2.2.2. "then".

    title?: string | null
    uniqueItems?: boolean | null

    The uniqueItems keyword.

    See JSON Schema Validation 6.4.3. "uniqueItems".

    writeOnly?: boolean