File size: 409 Bytes
c01955c
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from pydantic import BaseModel, Field
from typing import List

class InterviewSchema(BaseModel):
    companyName: str = Field(..., description="Company name")
    topic: str = Field(..., description="Interview topic")
    job_Role: str = Field(..., description="Job role")
    time: str = Field(..., description="Interview date and time")

class InterviewResponse(BaseModel):
    result: List[InterviewSchema]