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

from __future__ import annotations

from ipaddress import IPv6Address

from pydantic import BaseModel, RootModel


class Ipv6Addr(RootModel[IPv6Address]):
    root: IPv6Address


class Model(BaseModel):
    ipv6_address: Ipv6Addr
    ipv6_address_nullable: Ipv6Addr | None = None
