Question 160
A topic must return a JSON-like structured payload to a consuming application. Which approach best meets the stated requirement?
Explanation
Correct Answer
Define a constrained output schema and validate the fields before sending. Structured consumers require stable field names and types rather than free-form prose.
Incorrect Answers
Response formatting should preserve numeric fields and units rather than paraphrase them ambiguously. This solves “an itemized cost breakdown with amounts and currencies”; the stated issue is “a JSON-like structured payload to a consuming application”.
Presentation conversion must not silently alter the underlying delivery date. The deciding difference is “2026-11-05 but users need a human-readable delivery estimate” versus “a JSON-like structured payload to a consuming application”.
Clear output structure preserves the relation between each defect and its accountable assignee. Its application is “each need an actionable owner”, not the need “a JSON-like structured payload to a consuming application”.