from pydantic import BaseModel class ProductivityData(BaseModel): total_completed_jobs: dict[str, dict[int, str]] class Last24hProductivityData(BaseModel): unique_folded: int total_completed_jobs: int class Productivity(BaseModel): all_time: ProductivityData last_24h: Last24hProductivityData class ThroughputData(BaseModel): validator_sent: float miner_sent: float class Throughput(BaseModel): all_time: ThroughputData last_24h: ThroughputData data: dict