# generated by datamodel-codegen:
#   filename:  _internal
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import BaseModel, Field, conint

from .definitions import food as food_1
from .definitions import friends as friends_1
from .definitions.drink import coffee, tea
from .definitions.relative.animal.pet import pet as pet_1
from .definitions.relative.animal.pet.pet import Pet


class Robot(Pet):
    friends: Person | None = None
    drink: coffee.Coffee | None = None
    food: food_1.Noodle | None = None
    pet: pet_1.Pet | None = None


class Person(BaseModel):
    first_name: str = Field(..., description="The person's first name.")
    last_name: str = Field(..., description="The person's last name.")
    age: conint(ge=0) | None = Field(None, description='Age in years.')
    pets: list[pet_1.Pet] | None = None
    friends: friends_1.Friends | None = None
    robot: Robot | None = None
    comment: None = Field(None)
    drink: list[coffee.Coffee | tea.Tea] | None = None
    food: list[food_1.Noodle | food_1.Soup] | None = None
