Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

Update to AdCP format schema - remove deprecated fields - #8

Merged
bokelley merged 1 commit into
mainfrom
bokelley/update-schemas
Oct 14, 2025
Merged

Update to AdCP format schema - remove deprecated fields#8
bokelley merged 1 commit into
mainfrom
bokelley/update-schemas

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Updated format.json schema to match latest AdCP v2.4 specification
  • Removed three deprecated fields: category, is_standard, and accepts_3p_tags
  • Regenerated Pydantic models and updated all format definitions
  • Fixed Python 3.9 compatibility in schema generation scripts

Changes

The AdCP format schema was simplified by removing fields that are no longer needed:

  • category: The standard/custom distinction is now implicit
  • is_standard: IAB compliance is determined by format_id conventions
  • accepts_3p_tags: Third-party tag support is handled through other mechanisms

Impact

  • All 63 standard format definitions updated to remove deprecated fields
  • Generated Python models reflect new schema structure
  • No breaking changes to API responses - removed fields were all optional

Test plan

  • All existing tests pass (10/10)
  • Schema compliance tests validate against updated schemas
  • Format listing and preview functionality works correctly
  • Pre-commit hooks pass (ruff, mypy, formatting)

🤖 Generated with Claude Code

Updated schemas and code to match latest AdCP v2.4 specification which
removed three deprecated fields from the Format schema:
- category (standard/custom distinction)
- is_standard (IAB compliance flag)
- accepts_3p_tags (third-party tag support flag)

Changes:
- Updated format.json schema from adcontextprotocol.org
- Regenerated Pydantic models from schemas
- Removed field usage from standard_formats.py
- Fixed Python 3.9 compatibility in schema scripts
- All tests passing

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

Co-Authored-By: Claude <noreply@anthropic.com>
@bokelley
bokelley merged commit 294a812 into main Oct 14, 2025
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant