mirror of
https://github.com/deunix-educ/aventuriers-des-mots.git
synced 2026-10-13 02:11:58 +02:00
d0380a76af
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
23 lines
672 B
JSON
23 lines
672 B
JSON
{
|
|
"type": "object",
|
|
"required": [
|
|
"rule_id",
|
|
"level",
|
|
"domain",
|
|
"skill",
|
|
"statement",
|
|
"example",
|
|
"review_status"
|
|
],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"rule_id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$" },
|
|
"level": { "type": "string", "enum": ["CE1", "CE2", "CM1", "CM2"] },
|
|
"domain": { "type": "string", "enum": ["grammaire", "orthographe"] },
|
|
"skill": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$" },
|
|
"statement": { "type": "string", "minLength": 1 },
|
|
"example": { "type": "string", "minLength": 1 },
|
|
"review_status": { "type": "string", "enum": ["draft", "validated"] }
|
|
}
|
|
}
|