You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regen for AdCP 3.0 GA: new custom pricing variant + experimental_features[] #204
classCustomPricing(BaseModel):
model: Literal["custom"]
description: str# requiredmetadata: Dict[str, Any] # required, non-emptycurrency: str|None=None# ISO 4217 when monetary
Consumers using match p.model or discriminated-union isinstance checks need to add a CustomPricing branch. Recommended default: route to operator review rather than auto-select.
x-status: experimental annotations on Brand Rights, Campaign Governance, and TMP schemas.
Metadata only — datamodel-code-generator and most Pydantic generators ignore unknown x-* extensions. Type output is unchanged. Optionally surface in docstrings.
Pre-existing backlog
If per_unit pricing variant (added in an earlier 3.0 rc) is not yet in your generated models, this regen will pick it up alongside custom.
Suggested release
Minor version bump
Changelog: "Handle model: 'custom' in pricing consumers. New experimental_features attribute on capabilities."
Activity
feat(schemas): regen for AdCP 3.0 GA — custom pricing + experimental_…