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

from __future__ import annotations

from pydantic import BaseModel, RootModel


class SharedInner(BaseModel):
    value: str


class Wrapper1(RootModel[SharedInner]):
    root: SharedInner


class Wrapper2(RootModel[SharedInner]):
    root: SharedInner


class Model(BaseModel):
    wrapper1: Wrapper1 | None = None
    wrapper2: Wrapper2 | None = None
