Interface SchemaShapeObject

interface SchemaShapeObject {
    additionalProperties?: AdditionalProperties;
    allOf?: (ReferenceObject | SchemaObject | ISchemaShape)[];
    anyOf?: (ReferenceObject | SchemaObject | ISchemaShape)[];
    default?: unknown;
    deprecated?: boolean;
    description?: string;
    discriminator?: DiscriminatorObject;
    enum?: unknown[];
    example?: unknown;
    exclusiveMaximum?: boolean;
    exclusiveMinimum?: boolean;
    externalDocs?: ExternalDocObject;
    format?: string;
    items?: ReferenceObject | SchemaObject | ISchemaShape;
    maximum?: number;
    maxItems?: number;
    maxLength?: number;
    maxProperties?: number;
    minimum?: number;
    minItems?: number;
    minLength?: number;
    minProperties?: number;
    multipleOf?: number;
    not?: ReferenceObject | SchemaObject | ISchemaShape;
    nullable?: boolean;
    oneOf?: (ReferenceObject | SchemaObject | ISchemaShape)[];
    pattern?: string | RegExp;
    properties?: Record<string, ReferenceObject | SchemaObject | ISchemaShape>;
    readOnly?: boolean;
    required?: string[];
    title?: string;
    type?: string;
    uniqueItems?: boolean;
    writeOnly?: boolean;
    xml?: unknown;
}

Hierarchy

  • SchemaProp<"title">
  • SchemaProp<"description">
  • SchemaProp<"type">
  • SchemaProp<"format">
  • SchemaProp<"pattern">
  • SchemaProp<"default">
  • SchemaProp<"enum">
  • SchemaProp<"multipleOf">
  • SchemaProp<"uniqueItems">
  • SchemaProp<"additionalProperties">
  • SchemaProp<"required">
  • SchemaProp<"maxLength">
  • SchemaProp<"minLength">
  • SchemaProp<"maxItems">
  • SchemaProp<"minItems">
  • SchemaProp<"maxProperties">
  • SchemaProp<"minProperties">
  • SchemaProp<"maximum">
  • SchemaProp<"minimum">
  • SchemaProp<"exclusiveMaximum">
  • SchemaProp<"exclusiveMinimum">
  • SchemaProp<"nullable">
  • SchemaProp<"discriminator">
  • SchemaProp<"readOnly">
  • SchemaProp<"writeOnly">
  • SchemaProp<"xml">
  • SchemaProp<"externalDocs">
  • SchemaProp<"example">
  • SchemaProp<"deprecated">
    • SchemaShapeObject

Properties

additionalProperties?: AdditionalProperties
allOf?: (ReferenceObject | SchemaObject | ISchemaShape)[]
anyOf?: (ReferenceObject | SchemaObject | ISchemaShape)[]
default?: unknown
deprecated?: boolean
description?: string

CommonMark syntax MAY be used for rich text representation.

discriminator?: DiscriminatorObject
enum?: unknown[]
example?: unknown
exclusiveMaximum?: boolean
exclusiveMinimum?: boolean
externalDocs?: ExternalDocObject
format?: string
items?: ReferenceObject | SchemaObject | ISchemaShape
maximum?: number
maxItems?: number
maxLength?: number
maxProperties?: number
minimum?: number
minItems?: number
minLength?: number
minProperties?: number
multipleOf?: number
not?: ReferenceObject | SchemaObject | ISchemaShape
nullable?: boolean
oneOf?: (ReferenceObject | SchemaObject | ISchemaShape)[]
pattern?: string | RegExp
properties?: Record<string, ReferenceObject | SchemaObject | ISchemaShape>
readOnly?: boolean
required?: string[]
title?: string
type?: string
uniqueItems?: boolean
writeOnly?: boolean
xml?: unknown