# generated by datamodel-codegen:
#   filename:  reference_to_object_properties.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import BaseModel


class Pet(BaseModel):
    name: str | None = None
    age: int | None = None


class Parent(BaseModel):
    id: str | None = None
    name: str | None = None
    pet: Pet | None = None


class Child(BaseModel):
    id: str | None = None
    parent_id: str | None = None
    name: str | None = None
    pet: Pet | None = None
