# generated by datamodel-codegen:
#   filename:  <dict>
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import BaseModel, RootModel


class Address(BaseModel):
    street: str
    city: str


class Person(BaseModel):
    name: str
    address: Address | None = None


class Model(RootModel[Person]):
    root: Person