from pydantic import BaseModel, HttpUrl class Resource(BaseModel): id: str name: str description: str url: HttpUrl | None = None class Project(BaseModel): name: str title: str description: str organization: str resources: list[Resource] class ClinicalAtoms(BaseModel): history: list[str] presentation: list[str] diagnostics: list[str] management: list[str] outcome: list[str] class ExampleStage(BaseModel): id: str title: str content: str class Example(BaseModel): title: str label: str description: str atoms: ClinicalAtoms stages: list[ExampleStage] report: str