Strict

Configuration for full JSON Schema Draft 2020-12 compliance:

  • respectDefaultPresence = false - ignore default values (KSP limitation)

  • requireNullableFields = true - all fields in required array (including nullables)

  • useUnionTypes = true - union types for nullable fields

Use this when generating schemas that must strictly comply with JSON Schema Draft 2020-12, or when using with OpenAI function calling APIs with strict mode enabled.

See JSON Schema Draft 2020-12