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

from __future__ import annotations

from typing import Any, Dict, List, Literal, NotRequired, TypedDict, Union

Species = Literal['dog', 'cat', 'snake']


class Pet(TypedDict):
    id: int
    name: str
    tag: NotRequired[str]
    species: NotRequired[Species]


class User(TypedDict):
    id: int
    name: str
    tag: NotRequired[str]


class Event(TypedDict):
    name: NotRequired[Union[str, float, int, bool, Dict[str, Any], List[str]]]
