Read the passage and select the option that best preserves the JSON contract under failure conditions.
Answer
Return a JSON object that includes error_reason and uses null for missing fields while keeping the same keys
Explanation
Keeping the same keys preserves the JSON contract, while null values and an explicit error_reason prevent fabrication. Validating structure ensures downstream systems can handle failures safely.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
What is the primary reason to separate a “system” instruction from “user” instructions in a CCDV-F style application?
View question →
Read the passage and choose the best next step for a developer to maintain reliable behavior.
View question →
Which scenario most closely matches a best practice for tool use in Claude-based applications?
View question →
A student wants an app feature that summarizes customer feedback and outputs sentiment tags. Which design is most consistent with CCDV-F foundations?
View question →
In CCDV-F, what does “defensive prompting” most strongly refer to?
View question →
You want an application to transform a user request into a consistent JSON object with specific keys. What is the best approach in CCDV-F terms?
View question →