Skip to content

CourseSpec

The CourseSpec (Course Specification) resource adapts a general educational standard (StandardSpec) to a specific course and grade level (such as IB Spanish B SL or 2nd Grade ESO). It enables overriding the default misconception libraries configured at the standard level for this specific course.

Schema

Metadata (metadata)

FieldTypeRequiredDescription
reference_codestringYesUnique identifier for the course (e.g., course.ib.spanish_b.sl).
namestringYesReadable name of the course (e.g., “IB Spanish B — Standard Level”).
descriptionstringYesDetailed explanation of the course and target competency level.
authorstringNoAuthor of the specification.

Specification (spec)

FieldTypeRequiredDescription
standardRefstringYesCanonical reference to the inherited StandardSpec ID (e.g., standard.ib.spanish_b).
misconceptionRefsarrayYesList of references to misconception libraries (LIBRARY) specific to this course.
misconceptionRefsOverridebooleanYesIf true, the misconception libraries of this course replace the standard’s default libraries. If false, they are merged with those of the standard.

Example Usage

apiVersion: colabedu.ai/v1beta1
kind: CourseSpec
metadata:
reference_code: "course.ib.spanish_b.sl"
name: "IB Spanish B — Standard Level"
description: "IB Spanish B course for Standard Level (SL). Target CEFR level: B2."
author: "ColabEdu Core"
spec:
standardRef: "standard.ib.spanish_b"
misconceptionRefs:
- library.misconceptions.spanish_l2.base
- library.misconceptions.spanish_l2.intermediate
misconceptionRefsOverride: true