# generated by datamodel-codegen:
#   filename:  schema_extensions_enum.yaml
#   timestamp: 1985-10-26T08:21:00+00:00

from __future__ import annotations

from enum import Enum

from pydantic import RootModel


class Color(Enum):
    # x-enum-missing-default: RED
    RED = 'RED'
    GREEN = 'GREEN'
    BLUE = 'BLUE'


class NullableColorEnum(Enum):
    # x-enum-missing-default: RED
    RED = 'RED'


class NullableColor(RootModel[NullableColorEnum | None]):
    root: NullableColorEnum | None = None
