feat(series-studio): support type_doc (corrige, resume), 4 light themes, chemistry reactions and serie 05 (perso-2026-11-013)
This commit is contained in:
1 parent
b0836f73a0
commit
8f43363848
15 files changed
+2067
-128
No files matched your search
+72
-33
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "SeriesStudioDocument",
|
||||
"description": "Schéma de description structurée d'une série d'exercices mathématiques pour series-studio",
|
||||
"description": "Schéma de description structurée d'une série d'exercices, corrigé ou fiche de résumé pour series-studio",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
@@ -12,7 +12,13 @@
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"type": "string",
|
||||
"description": "Version du schéma (ex: 1.0.0)"
|
||||
"enum": ["1.0.0", "1.1.0"],
|
||||
"description": "Version du schéma (1.0.0 ou 1.1.0)"
|
||||
},
|
||||
"type_doc": {
|
||||
"type": "string",
|
||||
"enum": ["serie", "corrige", "resume"],
|
||||
"description": "Type de document (serie, corrige ou resume)"
|
||||
},
|
||||
"pages_cibles": {
|
||||
"type": "integer",
|
||||
@@ -21,7 +27,11 @@
|
||||
},
|
||||
"theme": {
|
||||
"type": "string",
|
||||
"description": "Thème graphique à appliquer (ex: classique, sobre)"
|
||||
"description": "Thème graphique à appliquer (ex: classique, sobre, encre, pastel)"
|
||||
},
|
||||
"preamble": {
|
||||
"type": "string",
|
||||
"description": "Remarque d'en-tête (ex: N.B.)"
|
||||
},
|
||||
"cartouche": {
|
||||
"type": "object",
|
||||
@@ -46,7 +56,7 @@
|
||||
},
|
||||
"type_doc": {
|
||||
"type": "string",
|
||||
"description": "Type de document (ex: SÉRIE D'EXERCICES)"
|
||||
"description": "Type de document affiché dans le cartouche (ex: SÉRIE D'EXERCICES, CORRIGÉ, FICHE DE COURS)"
|
||||
},
|
||||
"discipline": {
|
||||
"type": "string",
|
||||
@@ -96,6 +106,10 @@
|
||||
"type": "string",
|
||||
"description": "Barème de l'exercice (ex: '5 points')"
|
||||
},
|
||||
"section_header": {
|
||||
"type": "string",
|
||||
"description": "Bandeau de section thématique (ex: 'CHIMIE (9 points)')"
|
||||
},
|
||||
"breakable_box": {
|
||||
"type": "boolean",
|
||||
"description": "Indique si la boîte Typst est sécable sur plusieurs pages"
|
||||
@@ -117,7 +131,20 @@
|
||||
"part_header",
|
||||
"page_break",
|
||||
"text",
|
||||
"figure"
|
||||
"figure",
|
||||
"enonce",
|
||||
"solution",
|
||||
"methode",
|
||||
"definition",
|
||||
"propriete",
|
||||
"formule",
|
||||
"exemple",
|
||||
"a_retenir",
|
||||
"reaction",
|
||||
"table",
|
||||
"side_by_side",
|
||||
"section_header",
|
||||
"nb"
|
||||
]
|
||||
},
|
||||
"text": {
|
||||
@@ -135,6 +162,15 @@
|
||||
"typst": {
|
||||
"type": "string"
|
||||
},
|
||||
"titre": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"points": {
|
||||
"type": "string"
|
||||
},
|
||||
"indent_level": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
@@ -153,6 +189,27 @@
|
||||
},
|
||||
"figure_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"width_typst": {
|
||||
"type": "string"
|
||||
},
|
||||
"width_docx_inches": {
|
||||
"type": "number"
|
||||
},
|
||||
"columns": {
|
||||
"type": "array"
|
||||
},
|
||||
"headers": {
|
||||
"type": "array"
|
||||
},
|
||||
"rows": {
|
||||
"type": "array"
|
||||
},
|
||||
"left": {
|
||||
"type": "object"
|
||||
},
|
||||
"right": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -163,39 +220,21 @@
|
||||
"annexe": {
|
||||
"type": "object",
|
||||
"description": "Annexe officielle éventuelle (figures, grille QCM, etc.)",
|
||||
"required": [
|
||||
"titre",
|
||||
"colonnes"
|
||||
],
|
||||
"properties": {
|
||||
"titre": {
|
||||
"type": "string"
|
||||
},
|
||||
"sous_titre": {
|
||||
"type": "string"
|
||||
},
|
||||
"colonnes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"titre"
|
||||
],
|
||||
"properties": {
|
||||
"titre": {
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"type": "string"
|
||||
},
|
||||
"figure_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"width_typst": {
|
||||
"type": "string"
|
||||
},
|
||||
"width_docx_inches": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
"type": "array"
|
||||
},
|
||||
"grids": {
|
||||
"type": "array"
|
||||
},
|
||||
"layout": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user