Skip to content

DoCurious API Reference / types / SchoolContext

Interface: SchoolContext

Defined in: types/context.types.ts:49

School context — optional, managed by a school. Goes away if user leaves the school, but personal stuff stays.

Properties

role

role: SchoolRole

Defined in: types/context.types.ts:51


schoolId

schoolId: string

Defined in: types/context.types.ts:52


schoolName?

optional schoolName: string

Defined in: types/context.types.ts:53


tier?

optional tier: "tier_1_school_only" | "tier_2_full"

Defined in: types/context.types.ts:55

Account tier — only relevant for students (COPPA compliance)


type

type: "school"

Defined in: types/context.types.ts:50

DoCurious Platform Documentation