# generated by datamodel-codegen:
#   filename:  <stdin>
#   timestamp: 1985-10-26T08:21:00+00:00

from __future__ import annotations

from pydantic import BaseModel, Field, RootModel


class RecursiveNode(BaseModel):
    value: set[str] = Field(..., title='Value')
    children: list[RecursiveNode] | None = Field(None, title='Children')


class Model(RootModel[RecursiveNode]):
    root: RecursiveNode


RecursiveNode.model_rebuild()
