feat: migrate goal data to hierarchy block format
Replace goals-hierarchy.jsonc (type: goals) with hierarchy marker (type: hierarchy). Add level, subtitle, labels, availableLabels fields to goal .md blocks. Update feinziele grobzielId references from g2/g3/g4 to goals-grobziel-1/2/3. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
bf2cd538c9
commit
6325ee9985
@ -1,43 +1,7 @@
|
|||||||
// Goal hierarchy (long-term and mid-term goals)
|
// Goal hierarchy marker — defines nesting levels for subsequent blocks
|
||||||
{
|
{
|
||||||
"id": "goals-hierarchy",
|
"id": "goal-hierarchy",
|
||||||
"type": "goals",
|
"type": "hierarchy",
|
||||||
"title": "Zielhierarchie",
|
"title": "Zielhierarchie",
|
||||||
"hint": "Definieren Sie ein Fernziel (Teilhabe-orientiert) und funktionale Grobziele (konkrete Meilensteine). Unterscheiden Sie zwischen Bildungs- und Unterstützungszielen auf Grobzielebene.",
|
"levels": ["fernziel", "grobziel"]
|
||||||
"goals": [
|
|
||||||
{
|
|
||||||
"id": "g1",
|
|
||||||
"type": "long-term",
|
|
||||||
"title": "Fernziel",
|
|
||||||
"description": "",
|
|
||||||
"status": "draft",
|
|
||||||
"category": "education"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "g2",
|
|
||||||
"type": "mid-term",
|
|
||||||
"parentId": "g1",
|
|
||||||
"category": "education",
|
|
||||||
"title": "Grobziel 1 [BZ]",
|
|
||||||
"description": "",
|
|
||||||
"status": "draft"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "g3",
|
|
||||||
"type": "mid-term",
|
|
||||||
"parentId": "g1",
|
|
||||||
"category": "support",
|
|
||||||
"title": "Grobziel 2 [UZ]",
|
|
||||||
"description": "",
|
|
||||||
"status": "draft"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "g4",
|
|
||||||
"type": "mid-term",
|
|
||||||
"parentId": "g1",
|
|
||||||
"title": "Grobziel 3",
|
|
||||||
"description": "",
|
|
||||||
"status": "draft"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
id: "goals-fernziel"
|
id: "goals-fernziel"
|
||||||
type: "markdown"
|
type: "markdown"
|
||||||
title: "Fernziel"
|
title: "Fernziel"
|
||||||
|
subtitle: ""
|
||||||
|
level: "fernziel"
|
||||||
hint: "Teilhabe-orientiertes Fernziel mit fachlicher Begründung."
|
hint: "Teilhabe-orientiertes Fernziel mit fachlicher Begründung."
|
||||||
---
|
---
|
||||||
***Fernziel***
|
***Fernziel***
|
||||||
|
|||||||
@ -1,12 +1,15 @@
|
|||||||
---
|
---
|
||||||
id: "goals-grobziel-1"
|
id: "goals-grobziel-1"
|
||||||
type: "markdown"
|
type: "markdown"
|
||||||
title: "Grobziel 1 [BZ]"
|
title: "Grobziel 1"
|
||||||
|
subtitle: ""
|
||||||
|
level: "grobziel"
|
||||||
|
availableLabels: ["BZ", "UZ"]
|
||||||
|
labels: ["BZ"]
|
||||||
hint: "BZ = Bildungsziel. Formuliere ein konkretes Grobziel mit fachlicher Begründung."
|
hint: "BZ = Bildungsziel. Formuliere ein konkretes Grobziel mit fachlicher Begründung."
|
||||||
tag: "UZ"
|
|
||||||
---
|
---
|
||||||
***Grobziel***
|
***Grobziel***
|
||||||
|
|
||||||
***Fachliche Begründung***
|
***Fachliche Begründung***
|
||||||
|
|
||||||
***Bedeutsamkeit (Kopf, Herz, Hand)***
|
***Bedeutsamkeit (Kopf, Herz, Hand)***
|
||||||
|
|||||||
@ -1,12 +1,15 @@
|
|||||||
---
|
---
|
||||||
id: "goals-grobziel-2"
|
id: "goals-grobziel-2"
|
||||||
type: "markdown"
|
type: "markdown"
|
||||||
title: "Grobziel 2 [UZ]"
|
title: "Grobziel 2"
|
||||||
|
subtitle: ""
|
||||||
|
level: "grobziel"
|
||||||
|
availableLabels: ["BZ", "UZ"]
|
||||||
|
labels: ["UZ"]
|
||||||
hint: "UZ = Unterstützungsziel. Min. 1 BZ + 1 UZ erforderlich."
|
hint: "UZ = Unterstützungsziel. Min. 1 BZ + 1 UZ erforderlich."
|
||||||
tag: "BZ"
|
|
||||||
---
|
---
|
||||||
***Grobziel***
|
***Grobziel***
|
||||||
|
|
||||||
***Fachliche Begründung***
|
***Fachliche Begründung***
|
||||||
|
|
||||||
***Bedeutsamkeit (Kopf, Herz, Hand)***
|
***Bedeutsamkeit (Kopf, Herz, Hand)***
|
||||||
|
|||||||
@ -2,11 +2,14 @@
|
|||||||
id: "goals-grobziel-3"
|
id: "goals-grobziel-3"
|
||||||
type: "markdown"
|
type: "markdown"
|
||||||
title: "Grobziel 3"
|
title: "Grobziel 3"
|
||||||
|
subtitle: ""
|
||||||
|
level: "grobziel"
|
||||||
|
availableLabels: ["BZ", "UZ"]
|
||||||
|
labels: []
|
||||||
hint: "Formuliere ein konkretes Grobziel mit fachlicher Begründung."
|
hint: "Formuliere ein konkretes Grobziel mit fachlicher Begründung."
|
||||||
tag: "UZ"
|
|
||||||
---
|
---
|
||||||
***Grobziel***
|
***Grobziel***
|
||||||
|
|
||||||
***Fachliche Begründung***
|
***Fachliche Begründung***
|
||||||
|
|
||||||
***Bedeutsamkeit (Kopf, Herz, Hand)***
|
***Bedeutsamkeit (Kopf, Herz, Hand)***
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
// Fine goals (Feinziele) — each linked to a parent Grobziel block ID
|
||||||
{
|
{
|
||||||
"id": "planning-feinziele",
|
"id": "planning-feinziele",
|
||||||
"type": "feinziele",
|
"type": "feinziele",
|
||||||
@ -6,12 +7,12 @@
|
|||||||
"feinziele": [
|
"feinziele": [
|
||||||
{
|
{
|
||||||
"id": "feinziel-3-1",
|
"id": "feinziel-3-1",
|
||||||
"grobzielId": "g4",
|
"grobzielId": "goals-grobziel-3",
|
||||||
"text": ""
|
"text": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "feinziel-2-1",
|
"id": "feinziel-2-1",
|
||||||
"grobzielId": "g3",
|
"grobzielId": "goals-grobziel-2",
|
||||||
"text": "",
|
"text": "",
|
||||||
"smartCheck": {
|
"smartCheck": {
|
||||||
"s": false,
|
"s": false,
|
||||||
@ -23,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "feinziel-1-1",
|
"id": "feinziel-1-1",
|
||||||
"grobzielId": "g2",
|
"grobzielId": "goals-grobziel-1",
|
||||||
"text": "Lehrnen",
|
"text": "Lehrnen",
|
||||||
"smartCheck": {
|
"smartCheck": {
|
||||||
"s": true,
|
"s": true,
|
||||||
@ -35,8 +36,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "feinziel-1-2",
|
"id": "feinziel-1-2",
|
||||||
"grobzielId": "g2",
|
"grobzielId": "goals-grobziel-1",
|
||||||
"text": ""
|
"text": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user