@adcp/sdk API Reference - v14.0.0-beta.6
    Preparing search index...

    Type Alias LegacyFormatConverter

    LegacyFormatConverter: (
        context: LegacyFormatConversionContext,
    ) => V2ProductFormatDeclaration | null | undefined

    Escape hatch for legacy formats owned by a custom creative agent. The converter returns the canonical product declaration that the legacy ref represents. For bespoke shapes, return format_kind: 'custom' with both format_shape and an immutable format_schema reference.

    The SDK adds the source formatId as v1_format_ref; converters must not set canonical_formats_only: true because a legacy source is, by definition, round-trippable to that ref.

    Type Declaration