Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 973 Bytes

generative-ai.arrayschema.md

File metadata and controls

24 lines (16 loc) · 973 Bytes

Home > @google/generative-ai > ArraySchema

ArraySchema interface

Describes an array, an ordered list of values.

Signature:

export interface ArraySchema extends BaseSchema 

Extends: BaseSchema

Properties

Property Modifiers Type Description
items Schema A schema describing the entries in the array.
maxItems? number (Optional) The maximum number of items in the array.
minItems? number (Optional) The minimum number of items in the array.
type typeof SchemaType.ARRAY