VLC

Documentation
Documentation Développeur

Format JSON des formations

Documentation technique des blocs générés par les agents IA (v10). Structure JSON détaillée, 37 types de blocs répartis en 7 catégories.

Hiérarchie du cours
Structure à 4 niveaux : Formation → Chapitres → Leçons → Blocs
FormationJSON

Container principal

titre, description,
duree_minutes,
chapitres[]
Chapitre

Section thématique

id, titre, ordre,
objectifs,
lecons[]
Leçon

Unité pédagogique

type, titre,
duree_minutes,
blocs[]
Bloc

Contenu atomique (37 types)

type, ordre,
+ propriétés
spécifiques

Types de blocs

37 types de blocs répartis en 7 catégories. Documentation basée sur les agents IA v10.

Bloc texte
Paragraphe HTML avec contexte visuel
{
  "type": "texte",
  "ordre": 1,
  "contexte": "obj",
  "html": "<h3>Objectif</h3>
          <p>Contenu HTML...</p>"
}

Contextes : obj (violet), meth (bleu), ex (vert), rem (jaune), adv (orange), warning (rouge)

Bloc QCM
Question à choix unique avec explication
{
  "type": "qcm_simple",
  "question": "Question ?",
  "choix": [
    { "id": "a", "texte": "A", "correct": false },
    { "id": "b", "texte": "B", "correct": true }
  ],
  "explication": "Pourquoi B..."
}
    Vibe Learning Club