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

    Variable CollectionSchemaConst

    CollectionSchema: ZodObject<
        {
            collection_id: ZodString;
            name: ZodString;
            kind: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodLiteral<"series">,
                        ZodLiteral<"publication">,
                        ZodLiteral<"event_series">,
                        ZodLiteral<"rotation">,
                    ],
                >,
            >;
            description: ZodOptional<ZodString>;
            genre: ZodOptional<ZodArray<ZodString>>;
            genre_taxonomy: ZodOptional<ZodString>;
            language: ZodOptional<ZodString>;
            content_rating: ZodOptional<
                ZodObject<
                    {
                        system: ZodUnion<
                            readonly [
                                ZodLiteral<"tv_parental">,
                                ZodLiteral<"mpaa">,
                                ZodLiteral<"podcast">,
                                ZodLiteral<"esrb">,
                                ZodLiteral<"bbfc">,
                                ZodLiteral<"fsk">,
                                ZodLiteral<"acb">,
                                ZodLiteral<"chvrs">,
                                ZodLiteral<"csa">,
                                ZodLiteral<"pegi">,
                                ZodLiteral<"custom">,
                            ],
                        >;
                        rating: ZodString;
                    },
                    $loose,
                >,
            >;
            cadence: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodLiteral<"daily">,
                        ZodLiteral<"weekly">,
                        ZodLiteral<"monthly">,
                        ZodLiteral<"seasonal">,
                        ZodLiteral<"event">,
                        ZodLiteral<"irregular">,
                    ],
                >,
            >;
            season: ZodOptional<ZodString>;
            status: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodLiteral<"active">,
                        ZodLiteral<"hiatus">,
                        ZodLiteral<"ended">,
                        ZodLiteral<"upcoming">,
                    ],
                >,
            >;
            production_quality: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodLiteral<"professional">,
                        ZodLiteral<"prosumer">,
                        ZodLiteral<"ugc">,
                    ],
                >,
            >;
            talent: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            role: ZodUnion<
                                readonly [
                                    ZodLiteral<"host">,
                                    ZodLiteral<"guest">,
                                    ZodLiteral<"creator">,
                                    ZodLiteral<"cast">,
                                    ZodLiteral<"narrator">,
                                    ZodLiteral<"producer">,
                                    ZodLiteral<"correspondent">,
                                    ZodLiteral<"commentator">,
                                    ZodLiteral<"analyst">,
                                ],
                            >;
                            name: ZodString;
                            brand_url: ZodOptional<ZodString>;
                        },
                        $loose,
                    >,
                >,
            >;
            special: ZodOptional<
                ZodObject<
                    {
                        name: ZodString;
                        category: ZodOptional<
                            ZodUnion<
                                readonly [
                                    ZodLiteral<"awards">,
                                    ZodLiteral<"championship">,
                                    ZodLiteral<"concert">,
                                    ZodLiteral<"conference">,
                                    ZodLiteral<"election">,
                                    ZodLiteral<"festival">,
                                    ZodLiteral<"gala">,
                                    ZodLiteral<"holiday">,
                                    ZodLiteral<"premiere">,
                                    ZodLiteral<"product_launch">,
                                    ZodLiteral<"reunion">,
                                    ZodLiteral<"tribute">,
                                ],
                            >,
                        >;
                        starts: ZodOptional<ZodISODateTime>;
                        ends: ZodOptional<ZodISODateTime>;
                    },
                    $loose,
                >,
            >;
            limited_series: ZodOptional<
                ZodObject<
                    {
                        total_installments: ZodNumber;
                        starts: ZodOptional<ZodISODateTime>;
                        ends: ZodOptional<ZodISODateTime>;
                    },
                    $loose,
                >,
            >;
            distribution: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            publisher_domain: ZodString;
                            identifiers: ZodArray<
                                ZodObject<
                                    {
                                        type: ZodUnion<
                                            readonly [
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                                (...),
                                            ],
                                        >;
                                        value: ZodString;
                                    },
                                    $loose,
                                >,
                            >;
                        },
                        $loose,
                    >,
                >,
            >;
            deadline_policy: ZodOptional<
                ZodObject<
                    {
                        booking_lead_days: ZodOptional<ZodNumber>;
                        cancellation_lead_days: ZodOptional<ZodNumber>;
                        material_stages: ZodOptional<
                            ZodArray<
                                ZodObject<
                                    {
                                        stage: ZodString;
                                        lead_days: ZodNumber;
                                        label: ZodOptional<ZodString>;
                                    },
                                    $loose,
                                >,
                            >,
                        >;
                        business_days_only: ZodOptional<ZodBoolean>;
                    },
                    $loose,
                >,
            >;
            related_collections: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            collection_id: ZodString;
                            relationship: ZodUnion<
                                readonly [
                                    ZodLiteral<"spinoff">,
                                    ZodLiteral<"companion">,
                                    ZodLiteral<"sequel">,
                                    ZodLiteral<"prequel">,
                                    ZodLiteral<"crossover">,
                                ],
                            >;
                        },
                        $loose,
                    >,
                >,
            >;
            ext: ZodOptional<ZodObject<{}, $loose>>;
        },
        $loose,
    > = ...