Skip to content

DoCurious API Reference / types / SchoolClass

Interface: SchoolClass

Defined in: types/school.types.ts:104

A class or section within a School, managed by a primary teacher.

Remarks

Each class has an associated institutional community auto-created for challenge assignments and class-level feeds. Classes can be deactivated at the end of a term without deleting historical data.

Extends

Properties

assignmentCount

assignmentCount: number

Defined in: types/school.types.ts:120

Number of challenge assignments issued to this class


createdAt

createdAt: string

Defined in: types/common.types.ts:154

ISO 8601 datetime when the entity was created

Inherited from

BaseEntity.createdAt


description?

optional description: string

Defined in: types/school.types.ts:108


gradeLevel?

optional gradeLevel: string

Defined in: types/school.types.ts:110

Grade level label (e.g., "5th Grade", "Grade 10")


id

id: string

Defined in: types/common.types.ts:167

Inherited from

BaseEntity.id


isActive

isActive: boolean

Defined in: types/school.types.ts:116

Whether this class is currently active (inactive classes are hidden from dashboards)


name

name: string

Defined in: types/school.types.ts:107

Class name (e.g., "5A", "AP Biology Period 3")


primaryTeacher?

optional primaryTeacher: object

Defined in: types/school.types.ts:123

displayName

displayName: string

id

id: string


primaryTeacherId

primaryTeacherId: string

Defined in: types/school.types.ts:113

The teacher responsible for this class


schoolId

schoolId: string

Defined in: types/school.types.ts:105


studentCount

studentCount: number

Defined in: types/school.types.ts:118


updatedAt

updatedAt: string

Defined in: types/common.types.ts:156

ISO 8601 datetime when the entity was last modified

Inherited from

BaseEntity.updatedAt

DoCurious Platform Documentation