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

from __future__ import annotations

from enum import Enum
from typing import Union

from pydantic import Field, RootModel


class AnyOfKeys(RootModel[dict[Union["KeyA", "KeyB"], str]]):
    root: dict[Union["KeyA", "KeyB"], str] = Field(..., title='AnyOfKeys')


class KeyA(Enum):
    a = 'a'
    b = 'b'


class KeyB(Enum):
    c = 'c'
    d = 'd'
