Interface protos.google.ai.generativelanguage.v1beta.ISchema (2.6.0)

Properties of a Schema.

Package

@google-ai/generativelanguage

Properties

description

description?: (string|null);

Schema description

enum

"enum"?: (string[]|null);

Schema enum

format

format?: (string|null);

Schema format

items

items?: (google.ai.generativelanguage.v1beta.ISchema|null);

Schema items

nullable

nullable?: (boolean|null);

Schema nullable

properties

properties?: ({ [k: string]: google.ai.generativelanguage.v1beta.ISchema }|null);

Schema properties

required

required?: (string[]|null);

Schema required

type

type?: (google.ai.generativelanguage.v1beta.Type|keyof typeof google.ai.generativelanguage.v1beta.Type|null);

Schema type