from pydantic import BaseModel, Field


class SubmitIngestJobRequest(BaseModel):
    project_id: str = Field(..., min_length=1)
    library_id: str = Field(..., min_length=1)
    storage_key: str = Field(..., min_length=1, max_length=255)


class IngestJobResponse(BaseModel):
    id: str
    project_id: str
    library_id: str
    storage_key: str
    status: str
    error_message: str
    result_asset_id: str | None
