structuredDataSchema

abstract fun structuredDataSchema(block: StructuredDataSchema.() -> Unit)

This enforces the schema of the structured data. This output is stored in call.analysis.structuredData. Complete guide on JSON Schema can be found here. Disabled by default. You can use this standalone or in combination with structuredDataPrompt. If both are provided, they are concatenated into appropriate instructions.