# Auto-generated by schemas-hf. Do not edit manually.

from dataclasses import dataclass
from typing import Any, ClassVar, Optional

from schemas_hf.base import DatasetSchema
from schemas_hf.registry import register_schema


@register_schema
@dataclass
class UwunionCocoMixedRecord(DatasetSchema):
    DATASET_NAME: ClassVar[str] = "uwunion/coco-mixed"
    CONFIG_NAME: ClassVar[Optional[str]] = None
    rid: int
    image_id: int
    file_name: str
    rel_path: str
    width: float
    height: float
    split: str
    split_raw: str
    instances_json: str
    captions_json: str
    first_caption: str
    all_captions: str
    categories: str
    num_instances: int
    num_captions: int
    total_area: float
    has_crowd: bool
    gold_present: bool
    image: Any
