# generated by datamodel-codegen:
#   filename:  _internal
#   timestamp: 1985-10-26T08:21:00+00:00

from __future__ import annotations

from pydantic import BaseModel


class Root(BaseModel):
    id: str | None = None
    a_ref: Model | None = None


class Model(BaseModel):
    id: str | None = None
    b_ref: Model_1 | None = None


class Model_1(BaseModel):
    id: str | None = None
    c_ref: Model_2 | None = None


class Model_2(BaseModel):
    id: str | None = None
    other_ref: Model_3 | None = None


class Model_3(BaseModel):
    id: str | None = None
    root_ref: Root | None = None


Root.model_rebuild()
Model.model_rebuild()
Model_1.model_rebuild()
Model_2.model_rebuild()
