feat: track task scope status and version

This commit is contained in:
user
2026-07-17 18:08:24 +02:00
parent 3589eaf709
commit 586644bcff
5 changed files with 264 additions and 31 deletions
+50
View File
@@ -42,6 +42,9 @@
"title_block": {
"$ref": "#/$defs/titleBlock"
},
"front_page_scope": {
"$ref": "#/$defs/frontPageScope"
},
"dictionary_refs": {
"type": "object",
"properties": {
@@ -355,6 +358,53 @@
],
"additionalProperties": false
},
"frontPageScope": {
"type": "object",
"required": ["title", "content_tex"],
"properties": {
"title": { "type": "string", "minLength": 1 },
"content_tex": { "type": "string" },
"scope_title": { "type": "string", "minLength": 1 },
"scope_content_tex": { "type": "string" },
"scope_footer_tex": { "type": "string" },
"scope_table": { "$ref": "#/$defs/scopeTable" }
},
"additionalProperties": false
},
"scopeTable": {
"type": "object",
"required": ["rows"],
"properties": {
"headers": {
"type": "array",
"items": { "type": "string", "minLength": 1 }
},
"rows": {
"type": "array",
"items": { "$ref": "#/$defs/scopeTaskRow" }
}
},
"additionalProperties": false
},
"scopeTaskRow": {
"type": "object",
"required": ["chapter", "idea_tex", "priority"],
"properties": {
"chapter": { "type": "string", "minLength": 1 },
"task": { "type": "string" },
"idea_tex": { "type": "string" },
"priority": { "type": "string" },
"status": {
"enum": ["not-started", "draft", "in-progress", "review", "ready", "blocked"]
},
"version": {
"type": "string",
"pattern": "^v[0-9]{2}\\.[0-9]{2}$"
},
"key": { "type": "boolean" }
},
"additionalProperties": false
},
"sideMarginLayout": {
"type": "object",
"required": ["columns"],