# 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)]):
    root: constr(min_length=1, max_length=100)


class Items(RootModel[list[ConstrainedString]]):
    root: list[ConstrainedString]


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