SchemaEnum Property
Optional. Possible values of the element of Type.STRING with enum format.
For example we can define an Enum Direction as:
{type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
Namespace: GenerativeAI.TypesAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public List<string>? Enum { get; set; }
Property Value
ListString