fisk/core/lib/schemas/drakdoo_s.py

22 lines
341 B
Python
Raw Normal View History

from pydantic import BaseModel
class DrakdooMarket(BaseModel):
exchange: str
item: str
currency: str
contract: str
class DrakdooTimestamp(BaseModel):
sent: int
trade: int
class DrakdooCallback(BaseModel):
title: str
message: str
period: str
market: DrakdooMarket
timestamp: DrakdooTimestamp