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

from __future__ import annotations

from pydantic import BaseModel, ConfigDict, Field

from . import file_b


class PersonC(BaseModel):
    model_config = ConfigDict(
        extra='forbid',
    )
    name: str | None = Field(None, title='name')
    pet: file_b.Cat | file_b.Dog | None = Field(None, title='pet')
