# generated by datamodel-codegen:
#   filename:  external-message-ref.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import BaseModel, RootModel


class UserProfile(BaseModel):
    displayName: str | None = None


class UserPayload(BaseModel):
    id: str
    profile: UserProfile


class UserCreatedPayload(RootModel[UserPayload]):
    root: UserPayload
