Firebase.AI.SchemaInfoAttribute

Attribute that can be used to define various fields when generating the JsonSchema for it.

Summary

Inheritance

Inherits from: Attribute

Properties

Description
string
A human-readable explanation of the purpose of the schema or property.
Format = false
string
The format of the data.
Nullable = null
bool
Indicates if the value may be null.
Optional = null
bool
Indicates that the property should be considered as optional.
Title = null
string
A human-readable name/summary for the schema or a specific property.

Properties

Description

string Description

A human-readable explanation of the purpose of the schema or property.

Format

string Format = false

The format of the data.

Nullable

bool Nullable = null

Indicates if the value may be null.

Optional

bool Optional = null

Indicates that the property should be considered as optional.

Properties are considered required by default.

Title

string Title = null

A human-readable name/summary for the schema or a specific property.