<#3098 feat: Added the `normalize` keyword-only ar...
# meltano-repo-activity
g
#3098 feat: Added the `normalize` keyword-only argument to `singer_sdk.singerlib.resolve_schema_references` to naively normalize `oneOf`, `allOf` and `anyOf` keywords Pull request opened by edgarrmondragon on <!date^1749784703^{date_short}|2025-06-13T03:18:23Z> ## Links • https://json-schema.org/understanding-json-schema/reference/combining ## Summary by Sourcery Introduce a normalize option in resolve_schema_references to naively flatten single-element oneOf/allOf/anyOf subschemas, add 'not' keyword resolution support, and update tests to use a parameter object with normalization scenarios. New Features: • Add normalize keyword-only argument to resolve_schema_references to enable optional schema normalization Enhancements: • Implement normalization helpers to flatten oneOf/allOf/anyOf when they contain a single subschema • Add support for resolving the 'not' JSON Schema keyword Tests: • Refactor tests to use a dataclass for passing schema, refs, and normalize flag • Add a test case for normalizing single-element composition schemas meltano/sdk