Initial commit: svg backend
This commit is contained in:
21
backend/app/schemas/upload.py
Normal file
21
backend/app/schemas/upload.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class UploadResponse(BaseModel):
|
||||
upload_id: str
|
||||
filename: str
|
||||
content_type: str
|
||||
size_bytes: int
|
||||
element_count: int
|
||||
removed_elements_count: int
|
||||
removed_attributes_count: int
|
||||
normalized_elements_count: int
|
||||
normalized_seats_count: int
|
||||
normalized_groups_count: int
|
||||
normalized_sectors_count: int
|
||||
svg_max_file_size_bytes: int
|
||||
svg_max_elements: int
|
||||
original_storage_path: str
|
||||
sanitized_storage_path: str
|
||||
normalized_storage_path: str
|
||||
accepted: bool
|
||||
Reference in New Issue
Block a user