# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import Optional

from pydantic import Field as FieldInfo

from ....._models import BaseModel

__all__ = ["Theater", "Address"]


class Address(BaseModel):
    city: str

    street1: str

    street2: str

    zip: str

    api_type: Optional[str] = FieldInfo(alias="_type", default=None)

    latitude: Optional[float] = None
    """(non-null, valid latitude)"""

    longitude: Optional[float] = None
    """(non-null, valid longitude)"""

    state: Optional[str] = None


class Theater(BaseModel):
    address: Address

    name: str
