# generated by datamodel-codegen:
#   filename:  custom_id.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from typing import Optional
from uuid import UUID

from pydantic import Field, RootModel

from custom_base import Base


class CustomId(RootModel[UUID]):
    root: UUID = Field(..., description='My custom ID')


class Model(Base):
    custom_id: Optional[CustomId] = None
