commit
This commit is contained in:
18
backend/app/schemas/script.py
Normal file
18
backend/app/schemas/script.py
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
from pydantic import BaseModel
|
||||
from typing import List, Optional
|
||||
|
||||
class ShotParsing(BaseModel):
|
||||
shot_number: str
|
||||
description: str
|
||||
visual_notes: Optional[str] = None
|
||||
dialogue: Optional[str] = None
|
||||
|
||||
class SceneParsing(BaseModel):
|
||||
scene_number: str
|
||||
heading: str
|
||||
description: str
|
||||
shots: List[ShotParsing] = []
|
||||
|
||||
class ScriptAnalysisResponse(BaseModel):
|
||||
scenes: List[SceneParsing]
|
||||
Reference in New Issue
Block a user