# generated by datamodel-codegen:
#   filename:  strict_dotted_custom_generator_nested.json

from __future__ import annotations

from pydantic import BaseModel, Field


class leaf(BaseModel):
    value: str | None = None


class child(BaseModel):
    leaf_1: leaf | None = Field(None, alias='leaf')


class Root(BaseModel):
    child_1: child | None = Field(None, alias='child')
