Quiz 12 Question 2 of 20

A data pipeline requires Claude to always output valid JSON with a specific schema. During production, the team observes occasional schema violations (missing fields, wrong types) that break downstream parsing. Which combination of techniques most reliably enforces schema compliance?

Select an answer to reveal the explanation.

Motivation