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
#3144 / #3148 hoisted 4 of the most-duplicated inline string-literal unions into enums/ files (payment-terms, audio-channel-layout, media-buy-valid-action, rights-billing-period). Independent SDK-side review of #3148 spotted ~25 more inline-enum duplicates in static/schemas/source/ that follow the same byte-identical pattern across multiple parents and would benefit from the same treatment.
approval status — ["approved", "conditions", "denied"]
account-status
Several of these surface as per-parent Foo_BarValues exports in adcp-client's inline-enums.generated.ts (mirrors the concrete duplicates that motivated #3144).
Context
#3144 / #3148 hoisted 4 of the most-duplicated inline string-literal unions into
enums/files (payment-terms,audio-channel-layout,media-buy-valid-action,rights-billing-period). Independent SDK-side review of #3148 spotted ~25 more inline-enum duplicates instatic/schemas/source/that follow the same byte-identical pattern across multiple parents and would benefit from the same treatment.This is the tracker for the next tranche.
Candidates
Per the protocol-expert scan of source schemas:
match_type—["broad", "exact", "phrase"]— appears in ~5 files (10 sites)["advertiser", "agent", "operator"]— ~4 fileskind—["event_series", "publication", "rotation", "series"]— ~3 files["hr", "min"]["MultiPolygon", "Polygon"]frame_rate_type,scan_type,gop_type,moov_atom_position["failed", "passed", "unevaluated", "warning"]["created", "deleted", "failed", "unchanged", "updated"]account_scopeverdict—["fail", "pass"]status—["approved", "conditions", "denied"]Several of these surface as per-parent
Foo_BarValuesexports in adcp-client'sinline-enums.generated.ts(mirrors the concrete duplicates that motivated #3144).Approach
Same as #3148:
rgoverstatic/schemas/source/).enums/<name>.jsonper shared set; pick names distinct from existing ones.\$refthe new file.minorbump, source-only (nodist/edits per the immutability convention reaffirmed in fix(schema): correct title annotation in rate-limited error-details schema #3149 review).Valuesnames that landed in a published release.Out of scope for this issue
audio-asset-requirements.json["mono","stereo"]is a constraint, not the layout type).insertion-order.jsonpayment_termsis a different set thanaccount.json).\$defshoisting for re-referenced complex object types (BriefAsset1,VASTAsset1, etc.) — see Rename SCREAMING_SNAKE schema artifacts that surface as public TypeScript types #3145 for that thread.Refs
payment-terms,audio-channel-layout,media-buy-valid-action,rights-billing-period)🤖 Filed by Claude Code