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

from __future__ import annotations

from typing import Optional

from pydantic import BaseModel


class Root(BaseModel):
    id: Optional[str] = None
    a_ref: Optional[Model] = None


class Model(BaseModel):
    id: Optional[str] = None
    b_ref: Optional[Model_1] = None


class Model_1(BaseModel):
    id: Optional[str] = None
    c_ref: Optional[Model_2] = None


class Model_2(BaseModel):
    id: Optional[str] = None
    other_ref: Optional[Model_3] = None


class Model_3(BaseModel):
    id: Optional[str] = None
    root_ref: Optional[Root] = None


Root.update_forward_refs()
Model.update_forward_refs()
Model_1.update_forward_refs()
Model_2.update_forward_refs()
