52 lines
854 B
Python
52 lines
854 B
Python
|
from typing import List, Optional
|
||
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class Sprechzeit(BaseModel):
|
||
|
zeit: str
|
||
|
freitext: Optional[str] = None
|
||
|
|
||
|
|
||
|
class TszDesTyps(BaseModel):
|
||
|
typ: str
|
||
|
sprechzeiten: List[Sprechzeit]
|
||
|
|
||
|
|
||
|
class Tsz(BaseModel):
|
||
|
d: str
|
||
|
t: str
|
||
|
tszDesTyps: Optional[List[TszDesTyps]] = None
|
||
|
|
||
|
|
||
|
class Ag(BaseModel):
|
||
|
key: str
|
||
|
value: str
|
||
|
|
||
|
|
||
|
class ArztPraxisData(BaseModel):
|
||
|
arzt: bool
|
||
|
id: str
|
||
|
web: Optional[str]
|
||
|
kv: str
|
||
|
name: str
|
||
|
tel: str
|
||
|
fax: Optional[str]
|
||
|
anrede: str
|
||
|
geschlecht: str
|
||
|
handy: Optional[str]
|
||
|
email: Optional[str] = None
|
||
|
|
||
|
distance: int
|
||
|
strasse: str
|
||
|
hausnummer: str
|
||
|
plz: str
|
||
|
ort: str
|
||
|
geoeffnet: str
|
||
|
keineSprechzeiten: bool
|
||
|
ag: List[Ag]
|
||
|
tsz: List[Tsz]
|
||
|
|
||
|
|
||
|
class ArztPraxisDatas(BaseModel):
|
||
|
arztPraxisDatas: List[ArztPraxisData]
|