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

from __future__ import annotations

from enum import Enum

from pydantic import BaseModel


class Species(Enum):
    dog = 'dog'
    cat = 'cat'
    bird = 'bird'


class Pet(BaseModel):
    name: str
    species: Species


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


class BundledSchema(BaseModel):
    user: User | None = None
    pet: Pet | None = None
