Interface PearsonContextTemplate

A retrieved context template.

interface PearsonContextTemplate {
    bookId: string;
    contextId: string;
    coursePasteLimit?: PasteLimit;
    defaultPasteLimit: PasteLimit;
    effectivePasteLimit: PasteLimit;
    name: string;
    numberOfAttempts: NumberOfAttempts;
    pasteLimit?: PasteLimit;
    questions: PearsonContextTemplateQuestionSummary[];
    requiresPasteLimit: boolean;
    templateId: string;
    tenantId: string;
}

Properties

bookId: string

The book of this template.

contextId: string

The context in which this template lives.

coursePasteLimit?: PasteLimit

The course-wide paste limit. Absent when the course inherits.

defaultPasteLimit: PasteLimit

What this template resolves to when its own level is cleared: the course value when set, otherwise the admin default.

effectivePasteLimit: PasteLimit

The paste limit students get for this template.

name: string

The name of this template.

numberOfAttempts: NumberOfAttempts

The amount of attempts a student may do.

pasteLimit?: PasteLimit

This template's own paste limit in this course. Absent when the template inherits.

The questions of this template.

requiresPasteLimit: boolean

Whether this template has a free-text question for which a paste limit applies.

templateId: string

The id of the template from which this context template was created.

tenantId: string

The id of the tenant that owns this context template.