Home > @google/generative-ai > ArraySchema
Describes an array, an ordered list of values.
Signature:
export interface ArraySchema extends BaseSchema
Extends: BaseSchema
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 |