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

from __future__ import annotations

from pydantic import BaseModel, ConfigDict, Field, RootModel


class MultiType1(BaseModel):
    model_config = ConfigDict(
        extra='forbid',
    )
    name: str | None = None


class MultiType(RootModel[MultiType1 | str]):
    root: MultiType1 | str = Field(..., title='MultiType')
