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

from __future__ import annotations

from pydantic import BaseModel, Field, RootModel


class LocalThing(BaseModel):
    value: str


class SharedType(BaseModel):
    name: str


class SharedElement(RootModel[LocalThing]):
    root: LocalThing = Field(..., title='SharedElement')


class Holder(BaseModel):
    Shared: SharedElement


class Model(BaseModel):
    Shared: LocalThing
    holder: Holder = Field(..., title='Holder')
