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

    Variable CatalogRequirementsSchemaConst

    CatalogRequirementsSchema: ZodObject<
        {
            catalog_type: ZodUnion<
                readonly [
                    ZodLiteral<"offering">,
                    ZodLiteral<"product">,
                    ZodLiteral<"inventory">,
                    ZodLiteral<"store">,
                    ZodLiteral<"promotion">,
                    ZodLiteral<"hotel">,
                    ZodLiteral<"flight">,
                    ZodLiteral<"job">,
                    ZodLiteral<"vehicle">,
                    ZodLiteral<"real_estate">,
                    ZodLiteral<"education">,
                    ZodLiteral<"destination">,
                    ZodLiteral<"app">,
                ],
            >;
            required: ZodOptional<ZodBoolean>;
            min_items: ZodOptional<ZodNumber>;
            max_items: ZodOptional<ZodNumber>;
            required_fields: ZodOptional<ZodArray<ZodString>>;
            feed_formats: ZodOptional<
                ZodArray<
                    ZodUnion<
                        readonly [
                            ZodLiteral<"google_merchant_center">,
                            ZodLiteral<"facebook_catalog">,
                            ZodLiteral<"shopify">,
                            ZodLiteral<"linkedin_jobs">,
                            ZodLiteral<"custom">,
                        ],
                    >,
                >,
            >;
            offering_asset_constraints: ZodOptional<
                ZodArray<
                    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: ...;
                                                max_width: ...;
                                                min_height: ...;
                                                max_height: ...;
                                                unit: ...;
                                                aspect_ratio: ...;
                                                formats: ...;
                                                min_dpi: ...;
                                                bleed: ...;
                                                color_space: ...;
                                                max_file_size_kb: ...;
                                                transparency_required: ...;
                                                animation_allowed: ...;
                                                max_animation_duration_ms: ...;
                                                max_weight_grams: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                min_width: ...;
                                                max_width: ...;
                                                min_height: ...;
                                                max_height: ...;
                                                aspect_ratio: ...;
                                                min_duration_ms: ...;
                                                max_duration_ms: ...;
                                                containers: ...;
                                                codecs: ...;
                                                max_file_size_kb: ...;
                                                min_bitrate_kbps: ...;
                                                max_bitrate_kbps: ...;
                                                frame_rates: ...;
                                                audio_required: ...;
                                                frame_rate_type: ...;
                                                scan_type: ...;
                                                gop_type: ...;
                                                min_gop_interval_seconds: ...;
                                                max_gop_interval_seconds: ...;
                                                moov_atom_position: ...;
                                                audio_codecs: ...;
                                                audio_sample_rates: ...;
                                                audio_channels: ...;
                                                loudness_lufs: ...;
                                                loudness_tolerance_db: ...;
                                                true_peak_dbfs: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                min_duration_ms: ...;
                                                max_duration_ms: ...;
                                                formats: ...;
                                                max_file_size_kb: ...;
                                                sample_rates: ...;
                                                channels: ...;
                                                min_bitrate_kbps: ...;
                                                max_bitrate_kbps: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<
                                            {
                                                min_length: ...;
                                                max_length: ...;
                                                min_lines: ...;
                                                max_lines: ...;
                                                character_pattern: ...;
                                                prohibited_terms: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<{ max_length: ... }, $loose>,
                                        ZodObject<
                                            {
                                                max_file_size_kb: ...;
                                                sandbox: ...;
                                                external_resources_allowed: ...;
                                                allowed_external_domains: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<{ max_file_size_kb: ... }, $loose>,
                                        ZodObject<
                                            {
                                                max_file_size_kb: ...;
                                                module_type: ...;
                                                strict_mode_required: ...;
                                                external_resources_allowed: ...;
                                                allowed_external_domains: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<{ vast_version: ... }, $loose>,
                                        ZodObject<{ daast_version: ... }, $loose>,
                                        ZodObject<
                                            {
                                                role: ...;
                                                protocols: ...;
                                                allowed_domains: ...;
                                                max_length: ...;
                                                macro_support: ...;
                                            },
                                            $loose,
                                        >,
                                        ZodObject<{ methods: ... }, $loose>,
                                    ],
                                >,
                            >;
                            ext: ZodOptional<ZodObject<{}, $loose>>;
                        },
                        $loose,
                    >,
                >,
            >;
            field_bindings: ZodOptional<
                ZodArray<
                    ZodUnion<
                        readonly [
                            ZodObject<
                                {
                                    kind: ZodLiteral<"scalar">;
                                    asset_id: ZodString;
                                    catalog_field: ZodString;
                                    ext: ZodOptional<ZodObject<{}, $loose>>;
                                },
                                $loose,
                            >,
                            ZodObject<
                                {
                                    kind: ZodLiteral<"asset_pool">;
                                    asset_id: ZodString;
                                    asset_group_id: ZodString;
                                    ext: ZodOptional<ZodObject<{}, $loose>>;
                                },
                                $loose,
                            >,
                            ZodObject<
                                {
                                    kind: ZodLiteral<"catalog_group">;
                                    format_group_id: ZodString;
                                    catalog_item: ZodLiteral<true>;
                                    per_item_bindings: ZodOptional<ZodArray<ZodUnion<(...)>>>;
                                    ext: ZodOptional<ZodObject<{}, $loose>>;
                                },
                                $loose,
                            >,
                        ],
                    >,
                >,
            >;
        },
        $loose,
    > = ...