Axione-IPE-Viewer/webapp/ipe_fetcher/model.py

27 lines
491 B
Python
Raw Normal View History

2022-03-14 21:58:52 +01:00
from typing import TypedDict
2022-03-14 22:05:44 +01:00
class FAIEligibilityStatus(TypedDict):
2022-03-14 21:58:52 +01:00
isEligible: bool
ftthStatus: str
2022-03-14 22:05:44 +01:00
reasonNotEligible: str
2022-03-14 21:58:52 +01:00
class Building(TypedDict):
x: str
y: str
idImm: str
numVoieImm: str
typeVoieImm: str
nomVoieImm: str
2022-03-14 22:05:44 +01:00
aquilenetEligStatus: FAIEligibilityStatus
ffdnEligStatus: FAIEligibilityStatus
othersEligStatus: FAIEligibilityStatus
2022-03-23 22:54:04 +01:00
class AreaCoordinates(TypedDict):
swx: float
swy: float
nex: float
ney: float