OAS YAML Reference
ColabEdu’s OAS (Open Assessment Specification) v1beta1 architecture is entirely configured through a structured YAML file schema. This Assessment as Code approach allows for versioning, auditing, and reproducing the entire pedagogical ecosystem.
In this section, you will find the complete technical reference for each Kind (resource type), from curriculum taxonomies to AI-generated interactive lessons.
Base structure of any YAML spec
All OAS resources share the same mandatory fields:
apiVersion: colabedu.ai/v1beta1 # schema versionkind: Recipe # resource type (see table below)metadata: referenceCode: global.c1.ib.spanish_b.sl.debate.v1 title: "IB Spanish B SL — Debate Activity" version: 1.0.0 authorityScope: GLOBAL # GLOBAL | ES | MX | US | TENANT tags: [ib, spanish, sl]spec: # type-specific contentAvailable Specification Types
🏛️ Core Engine and Taxonomies
| Kind | Description |
|---|---|
| Taxonomy | Defines geographical hierarchies, organizational levels, and competencies. |
| TaxonomyIndex New | Global index file for taxonomy localization and ingestion in the SpecManager. |
| StandardSpec New | Base configuration and global guidelines (misconceptions libraries) for an educational standard. |
| CourseSpec New | Scope of a standard to a specific course and level, allowing library overrides. |
| SubjectArea | Classification of a subject at local and international levels. |
| PathwayTemplate New | Official curriculum template (e.g., IB Spanish B SL) with themes, subthemes, and assessment weights. |
| PathwayBundle New | Declarative routing template grouping with assembly and gap-filling configuration. |
📐 Regulatory Standards — Layer C0
| Kind | Description |
|---|---|
| BlockRubric | Immutable learning standards, evaluation criteria, and descriptors by level. Ingested automatically by the Curator from official regulatory documents. |
📚 Recipes and Content — Layers C1 and C2
| Kind | Description |
|---|---|
| Recipe | Assembler recipe that associates C0 competencies with exercise types and criteria to generate a C2 assessment. |
| ExerciseSpec | Generated or manually defined assessment, ready to be solved by the student. |
| ExerciseType | Technical definition of the interaction format (free_text, multiple_choice, grouping…). |
| AssessmentItem | Atomic interactive assessment component, instantiated and packaged for the frontend. |
🎓 Interactive Lessons and Resources — Layer C2 New
Automatically generated by the Curator Agent from documents, LMS packages, and OER resources.
| Kind | Description | Typical Source |
|---|---|---|
| InteractiveLesson | Lesson with slides, embedded widgets (quiz_widget, mermaid_viewer, scratchpad_widget…), and adaptive routing. | Canvas packages .imscc, Moodle .mbz |
| ResourceLearning | Annotated pointer to external OER resource with a 3-dimensional pedagogical qualityScore. | CK-12, Khan Academy, Procomún, Europeana |
InteractiveLesson structure (summary)
kind: InteractiveLessonspec: learningObjectives: [...] slides: - id: intro_slide layout: title # title | split | content | quote | full title: "Mitosis" markdown: "..." fragmentsCount: 1 # progressive reveal embeddedWidget: type: quiz_widget # quiz_widget | mermaid_viewer | scratchpad_widget | grouping_widget props: taskId: quiz_mitosis routes: on_success: slide_avanzada # adaptive routing on_fail: slide_repasoResourceLearning structure (summary)
kind: ResourceLearningspec: resourceUrl: "https://www.ck12.org/biology/mitosis/" resourceType: ARTICLE # ARTICLE | VIDEO | INTERACTIVE | SIMULATION qualityScore: alignment: 0.92 pedagogicalRichness: 0.87 accessibility: 0.78 learningObjectives: [...] tags: [mitosis, biology, cell-division]🗂️ ACA Orchestration and Curriculum
| File Type | Description |
|---|---|
| CuratorPlan | Persistent ACA ingestion plan. Created by CLI or REST API. Tracks country, standard, status, items, and campaign configuration. |
| CurriculumRequirements | Curriculum requirements YAML (ce-specs/catalog/requirements/). Defines how many specs of each type (BLOCK_CONTENT, BLOCK_RUBRIC…) are needed per theme to complete a curriculum. Used by CurriculumGapAnalyzer. |
| Curator Batch YAML | Declarative pipeline file (ce-specs/batches/). Defines stages (discover, fetch, parse, approval, ingest) in a YAML and runs with spec batch run. |
🤖 Artificial Intelligence and Agents — Layer C3
| Kind | Description |
|---|---|
| Directive Partners Only | Behavioral guidelines that limit or guide the LLM engine. |
| Persona Partners Only | System interaction profiles (e.g., Instructional Designer). |
| Gem Partners Only | Extended AI modules with embedded configuration and tools. The gem.curator_lesson v1.3.0 generates adaptive interactive lessons. |
Automatic Generation with Curator Agent
The types InteractiveLesson and ResourceLearning are rarely written by hand: the Curator Agent automatically generates them from your existing documents.
# PDF or Canvas → InteractiveLesson with adaptive quiz routingcurator curate \ --source canvas_bio_mitosis.imscc \ --output-type INTERACTIVE_LESSON \ --adaptive \ --sandbox
# OER Resource → Annotated ResourceLearningcurator curate \ --source gs://bucket/ck12_bio.json \ --source-type OER_RESOURCE \ --output-type RESOURCE_LEARNING→ See Curator Agent Capabilities for the complete workflow.