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

from __future__ import annotations

from pydantic import BaseModel, ConfigDict, RootModel, constr


class ConstrainedString(RootModel[constr(min_length=1, max_length=100)]):
    model_config = ConfigDict(
        frozen=True,
    )
    root: constr(min_length=1, max_length=100)


class Items(RootModel[list[ConstrainedString]]):
    model_config = ConfigDict(
        frozen=True,
    )
    root: list[ConstrainedString]


class Model(BaseModel):
    model_config = ConfigDict(
        frozen=True,
    )
    name: str
    items: Items | None = None
