@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Variable OfferingAssetConstraintSchemaConst

    OfferingAssetConstraintSchema: ZodObject<
        {
            asset_group_id: ZodString;
            asset_type: ZodUnion<
                readonly [
                    ZodLiteral<"image">,
                    ZodLiteral<"video">,
                    ZodLiteral<"audio">,
                    ZodLiteral<"text">,
                    ZodLiteral<"markdown">,
                    ZodLiteral<"html">,
                    ZodLiteral<"css">,
                    ZodLiteral<"javascript">,
                    ZodLiteral<"vast">,
                    ZodLiteral<"daast">,
                    ZodLiteral<"url">,
                    ZodLiteral<"webhook">,
                    ZodLiteral<"brief">,
                    ZodLiteral<"catalog">,
                ],
            >;
            required: ZodOptional<ZodBoolean>;
            min_count: ZodOptional<ZodNumber>;
            max_count: ZodOptional<ZodNumber>;
            asset_requirements: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodObject<
                            {
                                min_width: ZodOptional<ZodNumber>;
                                max_width: ZodOptional<ZodNumber>;
                                min_height: ZodOptional<ZodNumber>;
                                max_height: ZodOptional<ZodNumber>;
                                unit: ZodOptional<
                                    ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >,
                                >;
                                aspect_ratio: ZodOptional<ZodString>;
                                formats: ZodOptional<
                                    ZodArray<
                                        ZodUnion<
                                            readonly [
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                            ],
                                        >,
                                    >,
                                >;
                                min_dpi: ZodOptional<ZodNumber>;
                                bleed: ZodOptional<
                                    ZodUnion<
                                        readonly [ZodObject<(...), (...)>, ZodObject<(...), (...)>],
                                    >,
                                >;
                                color_space: ZodOptional<
                                    ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >,
                                >;
                                max_file_size_kb: ZodOptional<ZodNumber>;
                                transparency_required: ZodOptional<ZodBoolean>;
                                animation_allowed: ZodOptional<ZodBoolean>;
                                max_animation_duration_ms: ZodOptional<ZodNumber>;
                                max_weight_grams: ZodOptional<ZodNumber>;
                            },
                            $loose,
                        >,
                        ZodObject<
                            {
                                min_width: ZodOptional<ZodNumber>;
                                max_width: ZodOptional<ZodNumber>;
                                min_height: ZodOptional<ZodNumber>;
                                max_height: ZodOptional<ZodNumber>;
                                aspect_ratio: ZodOptional<ZodString>;
                                min_duration_ms: ZodOptional<ZodNumber>;
                                max_duration_ms: ZodOptional<ZodNumber>;
                                containers: ZodOptional<
                                    ZodArray<ZodUnion<readonly [(...), (...), (...), (...), (...)]>>,
                                >;
                                codecs: ZodOptional<
                                    ZodArray<
                                        ZodUnion<readonly [(...), (...), (...), (...), (...), (...)]>,
                                    >,
                                >;
                                max_file_size_kb: ZodOptional<ZodNumber>;
                                min_bitrate_kbps: ZodOptional<ZodNumber>;
                                max_bitrate_kbps: ZodOptional<ZodNumber>;
                                frame_rates: ZodOptional<ZodArray<ZodNumber>>;
                                audio_required: ZodOptional<ZodBoolean>;
                                frame_rate_type: ZodOptional<
                                    ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
                                >;
                                scan_type: ZodOptional<
                                    ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
                                >;
                                gop_type: ZodOptional<
                                    ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
                                >;
                                min_gop_interval_seconds: ZodOptional<ZodNumber>;
                                max_gop_interval_seconds: ZodOptional<ZodNumber>;
                                moov_atom_position: ZodOptional<
                                    ZodUnion<readonly [ZodLiteral<(...)>, ZodLiteral<(...)>]>,
                                >;
                                audio_codecs: ZodOptional<
                                    ZodArray<
                                        ZodUnion<
                                            readonly [
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                            ],
                                        >,
                                    >,
                                >;
                                audio_sample_rates: ZodOptional<ZodArray<ZodNumber>>;
                                audio_channels: ZodOptional<
                                    ZodArray<ZodUnion<readonly [(...), (...), (...), (...)]>>,
                                >;
                                loudness_lufs: ZodOptional<ZodNumber>;
                                loudness_tolerance_db: ZodOptional<ZodNumber>;
                                true_peak_dbfs: ZodOptional<ZodNumber>;
                            },
                            $loose,
                        >,
                        ZodObject<
                            {
                                min_duration_ms: ZodOptional<ZodNumber>;
                                max_duration_ms: ZodOptional<ZodNumber>;
                                formats: ZodOptional<
                                    ZodArray<ZodUnion<readonly [(...), (...), (...), (...), (...)]>>,
                                >;
                                max_file_size_kb: ZodOptional<ZodNumber>;
                                sample_rates: ZodOptional<ZodArray<ZodNumber>>;
                                channels: ZodOptional<ZodArray<ZodUnion<readonly [(...), (...)]>>>;
                                min_bitrate_kbps: ZodOptional<ZodNumber>;
                                max_bitrate_kbps: ZodOptional<ZodNumber>;
                            },
                            $loose,
                        >,
                        ZodObject<
                            {
                                min_length: ZodOptional<ZodNumber>;
                                max_length: ZodOptional<ZodNumber>;
                                min_lines: ZodOptional<ZodNumber>;
                                max_lines: ZodOptional<ZodNumber>;
                                character_pattern: ZodOptional<ZodString>;
                                prohibited_terms: ZodOptional<ZodArray<ZodString>>;
                            },
                            $loose,
                        >,
                        ZodObject<{ max_length: ZodOptional<ZodNumber> }, $loose>,
                        ZodObject<
                            {
                                max_file_size_kb: ZodOptional<ZodNumber>;
                                sandbox: ZodOptional<
                                    ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >,
                                >;
                                external_resources_allowed: ZodOptional<ZodBoolean>;
                                allowed_external_domains: ZodOptional<ZodArray<ZodString>>;
                            },
                            $loose,
                        >,
                        ZodObject<{ max_file_size_kb: ZodOptional<ZodNumber> }, $loose>,
                        ZodObject<
                            {
                                max_file_size_kb: ZodOptional<ZodNumber>;
                                module_type: ZodOptional<
                                    ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >,
                                >;
                                strict_mode_required: ZodOptional<ZodBoolean>;
                                external_resources_allowed: ZodOptional<ZodBoolean>;
                                allowed_external_domains: ZodOptional<ZodArray<ZodString>>;
                            },
                            $loose,
                        >,
                        ZodObject<
                            {
                                vast_version: ZodOptional<
                                    ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >,
                                >;
                            },
                            $loose,
                        >,
                        ZodObject<{ daast_version: ZodOptional<ZodLiteral<"1.0">> }, $loose>,
                        ZodObject<
                            {
                                role: ZodOptional<
                                    ZodUnion<
                                        readonly [
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                            ZodLiteral<(...)>,
                                        ],
                                    >,
                                >;
                                protocols: ZodOptional<ZodArray<ZodUnion<readonly [(...), (...)]>>>;
                                allowed_domains: ZodOptional<ZodArray<ZodString>>;
                                max_length: ZodOptional<ZodNumber>;
                                macro_support: ZodOptional<ZodBoolean>;
                            },
                            $loose,
                        >,
                        ZodObject<
                            {
                                methods: ZodOptional<ZodArray<ZodUnion<readonly [(...), (...)]>>>;
                            },
                            $loose,
                        >,
                    ],
                >,
            >;
            ext: ZodOptional<ZodObject<{}, $loose>>;
        },
        $loose,
    > = ...