# This file was auto-generated by Fern from our API Definition.

import datetime as dt
import typing

import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel


class Universe(UniversalBaseModel):
    """
    Universe details
    """

    universe_id: str = pydantic.Field()
    """
    Universe template ID
    """

    name: str = pydantic.Field()
    """
    Universe name
    """

    description: str = pydantic.Field()
    """
    Universe description
    """

    domain: str = pydantic.Field()
    """
    Domain (e.g., 'Software Development')
    """

    personas: typing.List[typing.Dict[str, str]] = pydantic.Field()
    """
    Available personas
    """

    task_nums: typing.List[str] = pydantic.Field()
    """
    Task numbers available in this instance
    """

    created_at: dt.datetime = pydantic.Field()
    """
    Instance creation time
    """

    if IS_PYDANTIC_V2:
        model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)  # type: ignore # Pydantic v2
    else:

        class Config:
            frozen = True
            smart_union = True
            extra = pydantic.Extra.allow
