jsonSchema

fun jsonSchema(name: String, schema: JsonObject): TextFormat

Response constrained to a JSON Schema.

Parameters

name

Name of the schema

schema

JSON Schema the answer must conform to