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

from __future__ import annotations

from typing import Literal, Union

from pydantic import BaseModel, Field

from .. import type_4
from ..subfolder import type_5
from . import type_2
from .artificial_folder import type_1


class Type3(BaseModel):
    type_: Literal['c'] = Field(..., const=True, title='Type ')


class Response(BaseModel):
    inner: Union[type_1.Type1, type_2.Type2, Type3, type_4.Type4, type_5.Type5] = Field(
        ..., discriminator='type_', title='Inner'
    )
