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

from __future__ import annotations

from typing import Literal

from pydantic import BaseModel, Field

from .artificial_folder import type_1


class Type2(BaseModel):
    type_: Literal['b'] = Field('b', const=True, title='Type ')
    ref_type: type_1.Type1 | None = Field(None, description='A referenced type.')
