diff --git a/app/schemas/contact.py b/app/schemas/contact.py index 5f13118..8b9e55e 100644 --- a/app/schemas/contact.py +++ b/app/schemas/contact.py @@ -15,6 +15,11 @@ class ContactCreate(BaseModel): department: str | None = Field(None, max_length=100) linkedin_url: str | None = Field(None, max_length=500) notes: str | None = None + address_street: str | None = Field(None, max_length=255) + address_city: str | None = Field(None, max_length=100) + address_zip: str | None = Field(None, max_length=20) + address_country: str | None = Field(None, max_length=2) + address_state: str | None = Field(None, max_length=100) company_ids: list[str] | None = None @@ -28,6 +33,11 @@ class ContactUpdate(BaseModel): department: str | None = Field(None, max_length=100) linkedin_url: str | None = Field(None, max_length=500) notes: str | None = None + address_street: str | None = Field(None, max_length=255) + address_city: str | None = Field(None, max_length=100) + address_zip: str | None = Field(None, max_length=20) + address_country: str | None = Field(None, max_length=2) + address_state: str | None = Field(None, max_length=100) class ContactResponse(BaseModel): @@ -41,6 +51,11 @@ class ContactResponse(BaseModel): department: str | None = None linkedin_url: str | None = None notes: str | None = None + address_street: str | None = None + address_city: str | None = None + address_zip: str | None = None + address_country: str | None = None + address_state: str | None = None created_at: str | None = None updated_at: str | None = None