# generated by datamodel-codegen:
#   filename:  multiline_description_with_example.json
#   timestamp: 2022-11-11T00:00:00+00:00

from __future__ import annotations

from pydantic import BaseModel, Field


class MultilineDescriptionWithExample(BaseModel):
    name: str | None = Field(
        None,
        description='User name.\nThis is a multi-line description.',
        examples=['John Doe'],
    )
    """
    User name.
    This is a multi-line description.

    Example: 'John Doe'
    """
