ArraySchema class

Schema class for "array" types. The items param should refer to the type of item that can be a member of the array.

Signature:

export declare class ArraySchema extends Schema 

Extends: Schema

Constructors

Constructor Modifiers Description
(constructor)(schemaParams, items) Constructs a new instance of the ArraySchema class

Properties

Property Modifiers Type Description
items TypedSchema

ArraySchema.(constructor)

Constructs a new instance of the ArraySchema class

Signature:

constructor(schemaParams: SchemaParams, items: TypedSchema);

Parameters

Parameter Type Description
schemaParams SchemaParams
items TypedSchema

ArraySchema.items

Signature:

items: TypedSchema;