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

from __future__ import annotations

from pydantic import Field, RootModel


class LimitedMap(RootModel[dict[str, int]]):
    root: dict[str, int] = Field(..., max_length=2, min_length=1)
