jsonSchema property

  1. @TagNumber.new(10)
String get jsonSchema

Optional structured-output mode (JSON schema). Engine returns text that conforms to this schema. Swift wraps this in a StructuredOutputConfig struct with the Generatable.Type — proto carries just the schema string.

Implementation

@$pb.TagNumber(10)
$core.String get jsonSchema => $_getSZ(9);
  1. @TagNumber.new(10)
set jsonSchema (String value)

Implementation

@$pb.TagNumber(10)
set jsonSchema($core.String value) => $_setString(9, value);