SchemaType Enumeration

Type contains the list of OpenAPI data types as defined by https://spec.openapis.org/oas/v3.0.3#data-types.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public enum SchemaType

Members

TYPE_UNSPECIFIED0 Not specified, should not be used.
STRING1 String type.
NUMBER2 Number type.
INTEGER3 Integer type.
BOOLEAN4 Boolean type.
ARRAY5 Array type.
OBJECT6 Object type.

See Also