# Generated by oapi-gen. DO NOT EDIT.
from __future__ import annotations

from typing import Annotated, Literal

from msgspec import UNSET, Meta, Struct, UnsetType


class Cat(Struct):
    id: Annotated[int, Meta(ge=1)]
    name: Annotated[str, Meta(min_length=1)]


class CatEvent(Struct):
    event: Literal["cat.updated"]
    data: str
    id: str | UnsetType = UNSET
    retry: Annotated[int, Meta(ge=0)] | UnsetType = UNSET
