Files
service-finder/backend/app/schemas/service.py

20 lines
507 B
Python

from pydantic import BaseModel
from typing import Optional
class ServiceCreateInternal(BaseModel):
name: str
postal_code: str
city: str
street_name: str
street_type: str
house_number: str
stairwell: Optional[str] = None
floor: Optional[str] = None
door: Optional[str] = None
hrsz: Optional[str] = None
contact_phone: Optional[str] = None
email: Optional[str] = None
website: Optional[str] = None
source: str
external_id: Optional[str] = None