OptionaldescriptionOptional. The description of the property.
OptionalenumOptional. The enum of the property.
OptionalexampleOptional. The example of the property.
OptionalformatOptional. The format of the property.
When using the Gemini Developer API (GoogleAIBackend), this must be either 'enum' or
'date-time', otherwise requests will fail.
OptionalitemsOptional. The items of the property.
OptionalmaximumThe maximum value of a numeric type.
OptionalmaxThe maximum number of items (elements) in a schema of type SchemaType.ARRAY.
OptionalminimumThe minimum value of a numeric type.
OptionalminThe minimum number of items (elements) in a schema of type SchemaType.ARRAY.
OptionalnullableOptional. Whether the property is nullable.
OptionalpropertiesOptional. Map of Schema objects.
OptionalpropertyA hint suggesting the order in which the keys should appear in the generated JSON string.
OptionaltitleThe title of the property. This helps document the schema's purpose but does not typically constrain the generated value. It can subtly guide the model by clarifying the intent of a field.
The type of the property. SchemaType.
Interface for Schema class.