← Quiz: Structured Outputs: all 10 questions
Quiz: Structured Outputs · Question 6 of 10
What does "additionalProperties": false do in a JSON schema?
What does "additionalProperties": false do in a JSON schema?
- A.Makes every field optional
- B.Forbids fields that are not listed in the schema
- C.Allows extra text before the JSON
- D.Turns numbers into strings
Answer & explanation
Correct answer: Forbids fields that are not listed in the schema
The output then contains exactly the fields you defined.
Can you get the rest right without peeking?
Take the timed Quiz: Structured Outputs quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →