feat: add program manager

ref: N25B-299
This commit is contained in:
Twirre Meulenbelt
2025-11-24 17:13:40 +01:00
parent ef00c03ec5
commit f2a67637c6
7 changed files with 140 additions and 34 deletions

View File

@@ -3,36 +3,36 @@ from pydantic import BaseModel
class Norm(BaseModel):
id: str
name: str
value: str
label: str
norm: str
class Goal(BaseModel):
id: str
name: str
label: str
description: str
achieved: bool
class KeywordTrigger(BaseModel):
id: str
keyword: str
class Trigger(BaseModel):
id: str
label: str
type: str
value: list[str]
keywords: list[KeywordTrigger]
class PhaseData(BaseModel):
class Phase(BaseModel):
id: str
label: str
norms: list[Norm]
goals: list[Goal]
triggers: list[Trigger]
class Phase(BaseModel):
id: str
name: str
nextPhaseId: str
phaseData: PhaseData
class Program(BaseModel):
phases: list[Phase]