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

from __future__ import annotations

from pydantic import BaseModel, Field, RootModel, conbytes


class MyFixed(RootModel[conbytes(min_length=16, max_length=16)]):
    root: conbytes(min_length=16, max_length=16) = Field(..., title='MyFixed')


class OtherFixed(RootModel[conbytes(min_length=18, max_length=18)]):
    root: conbytes(min_length=18, max_length=18) = Field(..., title='OtherFixed')


class ThirdFixed(RootModel[conbytes(min_length=20, max_length=20)]):
    root: conbytes(min_length=20, max_length=20) = Field(..., title='ThirdFixed')


class Hello(BaseModel):
    f1: MyFixed
    f2: MyFixed
    f3: MyFixed
    f4: OtherFixed
    f5: OtherFixed
    f6: ThirdFixed
    f7: ThirdFixed
