Choose an explicit missing-value label

Preserve the difference between an unknown value, a value that does not apply, and a confirmed zero.

Decide what each empty field actually means

A blank cell might mean no response, an unanswered question, or an item outside the scope of the form. A confirmed zero is different from each of those cases. State the distinctions in your output instructions and include an example from the target task. For an attendance import, “count unavailable” and “nobody attended” can lead a reader to opposite decisions, even though both may be misrepresented by an empty display.

Use the correct representation for the next system

JSON has a null value distinct from strings and numbers, and schemas can define properties, types, and allowed values. A record might use a number or null for the count and a separate status field for the reason. Structured outputs can help your AI response match the allowed shape on a supported API, but the next system must handle each state properly. 2 1 3

Check a blank and a real zero side by side

Give the workflow one record with a missing count and one with verified zero attendance. Inspect each result after import, because a spreadsheet or chart tool might collapse the distinction during display. If the system cannot represent several missing states directly, include them in a separate readable note. Make sure the receiving team can tell which values are ready to publish.

Sources

  1. What is JSON Schema?
  2. IETF JSON specification
  3. OpenAI API structured model outputs guide