Remove redundant format fields (accepts_3p_tags, category, is_standard)#107
Merged
Conversation
Removed three redundant fields from the format schema: 1. accepts_3p_tags - Redundant with HTML/JavaScript asset types - Third-party tags ARE HTML/JavaScript assets - Filter by asset_types: ["html"] or ["javascript"] instead 2. category - Redundant with format source location - Standard formats are in /schemas/v1/standard-formats/ - Custom formats have agent_url pointing to custom agent 3. is_standard - Redundant with format source location - Same rationale as category field Changes: - Updated core format schema (format.json) - Updated 15 standard format schemas - Removed fields from documentation examples - Added migration guide to CLAUDE.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removed three redundant fields from the AdCP format schema that were carrying information already expressed through other means.
Fields Removed
1.
accepts_3p_tagsWhy: Redundant with HTML/JavaScript asset types
asset_types: ["html"]or["javascript"]2.
categoryWhy: Redundant with format source location
/schemas/v1/standard-formats/directoryagent_urlpointing to a custom creative agent3.
is_standardWhy: Same rationale as
category- redundant with source locationChanges Made
format.json)CLAUDE.mdMigration
For consumers of the API:
accepts_3p_tags, filter byasset_types: ["html"]or["javascript"]is_standardorcategory, check format source:/standard-formats/pathagent_urlpointing to custom agentsImpact
🤖 Generated with Claude Code