@adcp/client API Reference - v4.19.0
    Preparing search index...

    Variable BuildCreativeResponseSchemaConst

    BuildCreativeResponseSchema: ZodUnion<
        readonly [
            ZodObject<
                {
                    creative_manifest: ZodObject<
                        {
                            format_id: ZodObject<
                                {
                                    agent_url: ZodString;
                                    id: ZodString;
                                    width: ZodOptional<ZodNullable<ZodNumber>>;
                                    height: ZodOptional<ZodNullable<ZodNumber>>;
                                    duration_ms: ZodOptional<ZodNullable<ZodNumber>>;
                                },
                                $loose,
                            >;
                            assets: ZodRecord<
                                ZodString,
                                ZodUnion<
                                    readonly [
                                        ZodObject<
                                            {
                                                url: ...;
                                                width: ...;
                                                height: ...;
                                                format: ...;
                                                alt_text: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                url: ...;
                                                width: ...;
                                                height: ...;
                                                duration_ms: ...;
                                                file_size_bytes: ...;
                                                container_format: ...;
                                                video_codec: ...;
                                                video_bitrate_kbps: ...;
                                                frame_rate: ...;
                                                frame_rate_type: ...;
                                                scan_type: ...;
                                                color_space: ...;
                                                hdr_format: ...;
                                                chroma_subsampling: ...;
                                                video_bit_depth: ...;
                                                gop_interval_seconds: ...;
                                                gop_type: ...;
                                                moov_atom_position: ...;
                                                has_audio: ...;
                                                audio_codec: ...;
                                                audio_sampling_rate_hz: ...;
                                                audio_channels: ...;
                                                audio_bit_depth: ...;
                                                audio_bitrate_kbps: ...;
                                                audio_loudness_lufs: ...;
                                                audio_true_peak_dbfs: ...;
                                                captions_url: ...;
                                                transcript_url: ...;
                                                audio_description_url: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                url: ...;
                                                duration_ms: ...;
                                                file_size_bytes: ...;
                                                container_format: ...;
                                                codec: ...;
                                                sampling_rate_hz: ...;
                                                channels: ...;
                                                bit_depth: ...;
                                                bitrate_kbps: ...;
                                                loudness_lufs: ...;
                                                true_peak_dbfs: ...;
                                                transcript_url: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodUnion<readonly [(...), (...)]>,
                                        ZodObject<{ content: ...; language: ...; provenance: ... }, $loose>,
                                        ZodObject<
                                            { url: ...; url_type: ...; description: ...; provenance: ... },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                content: ...;
                                                version: ...;
                                                accessibility: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                content: ...;
                                                module_type: ...;
                                                accessibility: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                url: ...;
                                                method: ...;
                                                timeout_ms: ...;
                                                supported_macros: ...;
                                                required_macros: ...;
                                                response_type: ...;
                                                security: ...;
                                                provenance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<{ content: ...; media: ...; provenance: ... }, $loose>,
                                        ZodUnion<readonly [(...), (...)]>,
                                        ZodObject<
                                            {
                                                content: ...;
                                                language: ...;
                                                markdown_flavor: ...;
                                                allow_raw_html: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                name: ...;
                                                objective: ...;
                                                tone: ...;
                                                audience: ...;
                                                territory: ...;
                                                messaging: ...;
                                                reference_assets: ...;
                                                compliance: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                catalog_id: ...;
                                                name: ...;
                                                type: ...;
                                                url: ...;
                                                feed_format: ...;
                                                update_frequency: ...;
                                                items: ...;
                                                ids: ...;
                                                gtins: ...;
                                                tags: ...;
                                                category: ...;
                                                query: ...;
                                                conversion_events: ...;
                                                content_id_type: ...;
                                                feed_field_mappings: ...;
                                            },
                                            $loose,
                                        >,
                                    ],
                                >,
                            >;
                            rights: ZodOptional<
                                ZodNullable<
                                    ZodArray<
                                        ZodObject<
                                            {
                                                rights_id: ...;
                                                rights_agent: ...;
                                                valid_from: ...;
                                                valid_until: ...;
                                                uses: ...;
                                                countries: ...;
                                                excluded_countries: ...;
                                                impression_cap: ...;
                                                right_type: ...;
                                                approval_status: ...;
                                                verification_url: ...;
                                                ext: ...;
                                            },
                                            $loose,
                                        >,
                                    >,
                                >,
                            >;
                            provenance: ZodOptional<
                                ZodNullable<
                                    ZodObject<
                                        {
                                            digital_source_type: ZodOptional<(...)>;
                                            ai_tool: ZodOptional<(...)>;
                                            human_oversight: ZodOptional<(...)>;
                                            declared_by: ZodOptional<(...)>;
                                            declared_at: ZodOptional<(...)>;
                                            created_time: ZodOptional<(...)>;
                                            c2pa: ZodOptional<(...)>;
                                            disclosure: ZodOptional<(...)>;
                                            verification: ZodOptional<(...)>;
                                            ext: ZodOptional<(...)>;
                                        },
                                        $loose,
                                    >,
                                >,
                            >;
                            ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                        },
                        $loose,
                    >;
                    sandbox: ZodOptional<ZodNullable<ZodBoolean>>;
                    expires_at: ZodOptional<ZodNullable<ZodString>>;
                    preview: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    previews: ZodArray<
                                        ZodObject<{ preview_id: ...; renders: ...; input: ... }, $loose>,
                                    >;
                                    interactive_url: ZodOptional<ZodNullable<ZodString>>;
                                    expires_at: ZodString;
                                },
                                $loose,
                            >,
                        >,
                    >;
                    preview_error: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    code: ZodString;
                                    message: ZodString;
                                    field: ZodOptional<ZodNullable<ZodString>>;
                                    suggestion: ZodOptional<ZodNullable<ZodString>>;
                                    retry_after: ZodOptional<ZodNullable<ZodNumber>>;
                                    details: ZodOptional<ZodNullable<ZodObject<(...), (...)>>>;
                                    recovery: ZodOptional<ZodNullable<ZodUnion<(...)>>>;
                                },
                                $loose,
                            >,
                        >,
                    >;
                    context: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                    ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                },
                $loose,
            >,
            ZodObject<
                {
                    creative_manifests: ZodArray<
                        ZodObject<
                            {
                                format_id: ZodObject<
                                    {
                                        agent_url: ZodString;
                                        id: ZodString;
                                        width: ZodOptional<ZodNullable<(...)>>;
                                        height: ZodOptional<ZodNullable<(...)>>;
                                        duration_ms: ZodOptional<ZodNullable<(...)>>;
                                    },
                                    $loose,
                                >;
                                assets: ZodRecord<
                                    ZodString,
                                    ZodUnion<
                                        readonly [
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodUnion<(...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodUnion<(...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                            ZodObject<(...), (...)>,
                                        ],
                                    >,
                                >;
                                rights: ZodOptional<ZodNullable<ZodArray<ZodObject<(...), (...)>>>>;
                                provenance: ZodOptional<
                                    ZodNullable<
                                        ZodObject<
                                            {
                                                digital_source_type: ...;
                                                ai_tool: ...;
                                                human_oversight: ...;
                                                declared_by: ...;
                                                declared_at: ...;
                                                created_time: ...;
                                                c2pa: ...;
                                                disclosure: ...;
                                                verification: ...;
                                                ext: ...;
                                            },
                                            $loose,
                                        >,
                                    >,
                                >;
                                ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                            },
                            $loose,
                        >,
                    >;
                    sandbox: ZodOptional<ZodNullable<ZodBoolean>>;
                    expires_at: ZodOptional<ZodNullable<ZodString>>;
                    preview: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    previews: ZodArray<
                                        ZodObject<
                                            { preview_id: ...; format_id: ...; renders: ...; input: ... },
                                            $loose,
                                        >,
                                    >;
                                    interactive_url: ZodOptional<ZodNullable<ZodString>>;
                                    expires_at: ZodString;
                                },
                                $loose,
                            >,
                        >,
                    >;
                    preview_error: ZodOptional<
                        ZodNullable<
                            ZodObject<
                                {
                                    code: ZodString;
                                    message: ZodString;
                                    field: ZodOptional<ZodNullable<ZodString>>;
                                    suggestion: ZodOptional<ZodNullable<ZodString>>;
                                    retry_after: ZodOptional<ZodNullable<ZodNumber>>;
                                    details: ZodOptional<ZodNullable<ZodObject<(...), (...)>>>;
                                    recovery: ZodOptional<ZodNullable<ZodUnion<(...)>>>;
                                },
                                $loose,
                            >,
                        >,
                    >;
                    context: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                    ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                },
                $loose,
            >,
            ZodObject<
                {
                    errors: ZodArray<
                        ZodObject<
                            {
                                code: ZodString;
                                message: ZodString;
                                field: ZodOptional<ZodNullable<ZodString>>;
                                suggestion: ZodOptional<ZodNullable<ZodString>>;
                                retry_after: ZodOptional<ZodNullable<ZodNumber>>;
                                details: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                                recovery: ZodOptional<
                                    ZodNullable<ZodUnion<readonly [(...), (...), (...)]>>,
                                >;
                            },
                            $loose,
                        >,
                    >;
                    context: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                    ext: ZodOptional<ZodNullable<ZodObject<{}, $loose>>>;
                },
                $loose,
            >,
        ],
    > = ...