# generated by datamodel-codegen:
#   filename:  user-events.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import AwareDatetime, BaseModel, EmailStr


class NullableProbe(BaseModel):
    value: str | None = None


class Address(BaseModel):
    city: str | None = None
    postalCode: str | None = None


class User(BaseModel):
    id: str
    email: EmailStr
    displayName: str | None = None
    address: Address | None = None


class UserSignedUpPayload(BaseModel):
    user: User
    occurredAt: AwareDatetime
