Question 170
Scenario: Structured Data Extraction
A system extracts structured fields from messy documents, validates every output against JSON schemas, handles edge cases gracefully, and stays accurate enough to feed downstream systems.
Read the full scenario lessonWhen designing JSON schemas for an extraction tool, why is it considered a best practice to define certain fields as optional or nullable (e.g., ["string", "null"])? Choose 2 correct answers.