# generated by datamodel-codegen:
#   filename:  reference.json
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from typing import Any

from pydantic import BaseModel, RootModel


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


class First(BaseModel):
    first: str


class Second(BaseModel):
    second: str


class Target(BaseModel):
    third: str


class Target8(First, Target):
    pass


class Target9(Second, Target):
    pass


class Target6(RootModel[Target8 | Target9]):
    root: Target8 | Target9
