# generated by datamodel-codegen:
#   filename:  modular.yaml
#   timestamp: 1985-10-26T08:21:00+00:00

from __future__ import annotations

from enum import Enum
from typing import Any

from pydantic import BaseModel


class CustomSpecies(Enum):
    dog = 'dog'
    cat = 'cat'
    snake = 'snake'


class CustomPet(BaseModel):
    id: int
    name: str
    tag: str | None = None
    species: CustomSpecies | None = None


class CustomUser(BaseModel):
    id: int
    name: str
    tag: str | None = None


class CustomEvent(BaseModel):
    name: str | float | int | bool | dict[str, Any] | list[str] | None = None
