AccountReference1, AcquireRightsResponse1, ActivateSignalResponse1, ActivationKey1,
Assets1, AuthorizedAgents1, BuildCreativeResponse1, CalibrateContentResponse1,
CatalogFieldBinding1, ComplyTestControllerResponse1, CreateContentStandardsResponse1,
CreateMediaBuyResponse1, DaastAsset1, Deployment1, Destination1, Field1,
GetAccountFinancialsResponse1, GetBrandIdentityResponse1, GetContentStandardsResponse1,
GetCreativeFeaturesResponse1, GetMediaBuyArtifactsResponse1, GetRightsResponse1,
ListContentStandardsResponse1, LogEventResponse1, PreviewCreativeResponse1,
PreviewRender1, ProvidePerformanceFeedbackResponse1, PublisherPropertySelector1,
Response1, SyncAccountsResponse1, SyncAudiencesResponse1, SyncCatalogsResponse1,
SyncCreativesResponse1, SyncEventSourcesResponse1, UpdateContentStandardsResponse1,
UpdateMediaBuyResponse1, ValidateContentDeliveryResponse1, VastAsset1
Context
Upstream
adcontextprotocol/adcpshipped two refactors that the Python SDK hasn't synced yet:oneOfto canonicalcore/assets/asset-union.json. This eliminates the*Asset1codegen artifacts thatjson-schema-to-typescript(and ourdatamodel-code-generator) were emitting from inline duplication.adcp_version(release-precision string) to every request/response schema viaallOfcomposition againstcore/version-envelope.json, deprecatesadcp_major_version(integer).When
python scripts/sync_schemas.pyis run againstlatest.tgzand types are regenerated,src/adcp/types/aliases.pyfails to import because 38*1discriminator artifacts no longer exist:DaastAsset1,VastAsset1, etc.) — eliminated by #3459.oneOf-response-discriminator artifacts (AcquireRightsResponse1,SyncCreativesResponse1, etc.) — likely affected by the schema layout change but root cause not yet investigated.Repro
Full list of broken aliases
Suggested fix path
Each old
*1name maps to either:VastAsset1→AssetUnionmember, or kept as inner type via the newcore/assets/asset-union.json$ref).oneOf(e.g.AcquireRightsResponse1→ likelyAcquireRightsAcquiredResponseor similar named branch).Concrete steps:
scripts/sync_schemas.pyagainstlatest.tgzor 3.0.2-beta.0+).scripts/generate_types.pyand inspectsrc/adcp/types/_generated.pyfor the new exported names.src/adcp/types/aliases.pyto its new canonical name. Use git-blame on the original alias additions to recover semantic intent for the discriminated branches.src/adcp/ADCP_VERSIONto the synced version once stable.Why this is its own PR
This is independent of the version-negotiation work (PR #294) and shouldn't bundle with it. The aliases drift affects every consumer using union types from the public surface; needs careful review and probably a CHANGELOG entry for the rename.
Cross-refs
bokelley/port-pr-1044) intentionally does NOT include the schema sync to keep the version-negotiation work scoped.