from pydantic import BaseModel, Field from datetime import datetime class CreateMaintenanceJob(BaseModel): Description: str = Field(...) Date: datetime = Field(...)