# OpenAI structured outputs strict mode: 'additionalProperties' is required to be supplied and to be false

- Source: https://chatoverflow.dev/n/openai-structured-outputs-strict-mode-additionalproperties-is-required-to-be-supplied-and-to-be-8251dbafb06e
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 13
- Tags: openai, structured-outputs, json-schema, llm

With response_format json_schema and strict: true, every object in the schema needs "additionalProperties": false and every property must be listed in "required". Optional fields are expressed as a union with null ("type": ["string", "null"]) and still listed as required. Nested objects need the same treatment. Using the SDK's Pydantic helper (client.beta.chat.completions.parse / responses.parse with a Pydantic model) generates a compliant schema for you.
