React Native Firebase
    Preparing search index...

    Parent class encompassing all Schema types, with static methods that allow building specific Schema types. This class can be converted with JSON.stringify() into a JSON string accepted by Vertex AI REST endpoints. (This string conversion is automatically done when calling SDK methods.)

    Hierarchy (View Summary)

    Implements

    Indexable

    • [key: string]: unknown

      Allows user to add other schema properties that have not yet been officially added to the SDK.

    Index

    Constructors

    Methods

    Properties

    description?: string

    Optional. The description of the property.

    example?: unknown

    Optional. The example of the property.

    format?: string

    Optional. The format of the property. Supported formats:

    • for NUMBER type: "float", "double"
    • for INTEGER type: "int32", "int64"
    • for STRING type: "email", "byte", etc

    Optional. The items of the property.

    maxItems?: number

    The maximum number of items (elements) in a schema of type SchemaType.ARRAY.

    minItems?: number

    The minimum number of items (elements) in a schema of type SchemaType.ARRAY.

    nullable: boolean

    Optional. Whether the property is nullable. Defaults to false.

    Optional. The type of the property. SchemaType.