interface Schema {
    $ref?: string;
    additionalProperties?: boolean | Swagger.BaseSchema;
    default?: unknown;
    description?: string;
    discriminator?: string;
    enum?: (null | string | number | boolean)[];
    example?: unknown;
    exclusiveMaximum?: number;
    exclusiveMinimum?: number;
    externalDocs?: Swagger.ExternalDocs;
    format?: Swagger.DataFormat;
    items?: Swagger.BaseSchema;
    maxItems?: number;
    maxLength?: number;
    maxProperties?: number;
    maximum?: number;
    minItems?: number;
    minLength?: number;
    minProperties?: number;
    minimum?: number;
    multipleOf?: number;
    pattern?: string;
    properties?: {
        [propertyName: string]: Swagger.Schema3;
    };
    readOnly?: boolean;
    required?: string[];
    title?: string;
    type?: Swagger.DataType;
    uniqueItems?: boolean;
    x-enum-varnames?: string[];
    xml?: Swagger.XML;
}

Hierarchy (view full)

Properties

$ref?: string
additionalProperties?: boolean | Swagger.BaseSchema
default?: unknown
description?: string
discriminator?: string
enum?: (null | string | number | boolean)[]
example?: unknown
exclusiveMaximum?: number
exclusiveMinimum?: number
externalDocs?: Swagger.ExternalDocs
maxItems?: number
maxLength?: number
maxProperties?: number
maximum?: number
minItems?: number
minLength?: number
minProperties?: number
minimum?: number
multipleOf?: number
pattern?: string
properties?: {
    [propertyName: string]: Swagger.Schema3;
}

Type declaration

readOnly?: boolean
required?: string[]
title?: string
uniqueItems?: boolean
x-enum-varnames?: string[]
xml?: Swagger.XML

Generated using TypeDoc