# generated by datamodel-codegen:
#   filename:  labels_v1.json
#   timestamp: 2025-12-12T07:02:32+00:00

from __future__ import annotations

from pydantic import BaseModel, ConfigDict, Field


class Label(BaseModel):
    model_config = ConfigDict(
        extra='forbid',
    )
    label: str
    """
    The classification label or class name
    """
    score: float
    """
    Confidence score for this label
    """


class LabelsV1(BaseModel):
    """
    Classification response schema for Lumen services. Returns ranked labels with confidence scores.
    """

    model_config = ConfigDict(
        extra='forbid',
    )
    labels: list[Label]
    """
    Array of classification results
    """
    model_id: str = Field(..., min_length=1)
    """
    Identifier of the model that generated the classification
    """
