OpenAI structured output guide
OpenAI Structured Outputs break when your schema is merely 'valid JSON Schema'.
OpenAI strict mode is powerful, but it is not a generic JSON Schema runtime. Teams regularly discover this after wiring a schema that validates locally and then fails in production.
openai structured outputs additionalProperties falseopenai all fields must be requiredopenai strict json schema optional fields