TextFormat
data class TextFormat(val type: String, val name: String? = null, val schema: JsonSchema? = null, val strict: Boolean? = null) : Record(source)
Represents the format configuration for text output.
Author
Konstantin Pavlov
Constructors
Link copied to clipboard
constructor(type: String, name: String? = null, schema: JsonSchema? = null, strict: Boolean? = null)
Properties
Link copied to clipboard
Optional name for the schema when type is "json_schema".
Link copied to clipboard
Optional JSON schema definition when type is "json_schema".
Link copied to clipboard
Optional strict mode flag for schema validation.
Link copied to clipboard
The type of format (e.g., "text", "json_schema").