Skip to content

Fix reporting_webhook schema to enable additionalProperties validation - #357

Merged
bokelley merged 3 commits into
mainfrom
bokelley/fix-schema-additionalprops
Dec 24, 2025
Merged

bokelley merged 3 commits into
mainfrom
bokelley/fix-schema-additionalprops

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Inline push-notification-config fields to avoid JSON Schema limitation where additionalProperties: false doesn't work with allOf composition. Document this pattern in CLAUDE.md for future reference.

Changes:

  • Refactored reporting_webhook in create-media-buy-request.json to inline base fields
  • Added $comment explaining the schema pattern
  • Documented the allOf + additionalProperties limitation in CLAUDE.md

All tests passing.

🤖 Generated with Claude Code

bokelley and others added 3 commits December 24, 2025 07:46
Inline push-notification-config fields to avoid JSON Schema limitation where
additionalProperties: false doesn't work with allOf composition. Document this
pattern in CLAUDE.md for future reference.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
@bokelley
bokelley merged commit b3b4eed into main Dec 24, 2025
@bokelley
bokelley deleted the bokelley/fix-schema-additionalprops branch December 24, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant