observation-js Documentation - v1.16.0
    Preparing search index...

    Interface Challenge

    interface Challenge {
        id: number;
        type: "regular" | "onboarding" | "group" | "template";
        title: string;
        header: string;
        start_date_time: string;
        end_date_time: string;
        cover_image: string;
        cover_thumbnail: string | null;
        instructions: ChallengeContent | null;
        results: ChallengeContent[];
        observation_count: number;
        species_count: number;
        challenge_user: ChallengeUser | null;
        targets_description: string;
        targets: ChallengeTarget[];
        group_id?: number;
        template_id?: number;
    }
    Index

    Properties

    id: number
    type: "regular" | "onboarding" | "group" | "template"
    title: string
    header: string
    start_date_time: string
    end_date_time: string
    cover_image: string
    cover_thumbnail: string | null
    instructions: ChallengeContent | null
    results: ChallengeContent[]
    observation_count: number
    species_count: number
    challenge_user: ChallengeUser | null
    targets_description: string

    Translated text in HTML format (or empty string).

    targets: ChallengeTarget[]
    group_id?: number

    Group id for challenges with type group.

    template_id?: number

    id of the template challenge on which a group challenge was based.