# Generated by oapi-gen 0.1.9. DO NOT EDIT.
# Source SHA256: 3bdca241e5ef74b0620c69faa4a6e49f171c0542f987ae89044b07b922113dc4
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
