# generated by datamodel-codegen:
#   filename:  additional_properties_value_constraints_annotated.json

from __future__ import annotations

from typing import Any, TypeAlias

from typing_extensions import TypedDict

TitledMap: TypeAlias = dict[str, int]


UnionValueMap: TypeAlias = int


UnionValueMap1: TypeAlias = str


class ModeledValueMap(TypedDict, closed=True):
    value: int


NamedValue: TypeAlias = int


class ModeledIrrelevantConstraintMap(TypedDict):
    value: str


PositiveInt: TypeAlias = int


TitledPositiveInt: TypeAlias = int


LocalValue: TypeAlias = str


RootMap: TypeAlias = dict[str, int]


class Payload(TypedDict, extra_items=int):
    existingLocalValue: LocalValue
    nestedMap: dict[str, int]
    titledMap: TitledMap
    titledRefMap: dict[str, int]
    localTitleRefMap: dict[str, int]
    namedMap: dict[str, int]
    rootMap: RootMap
    nullableValueMap: dict[str, int | None]
    closedArrayValueMap: dict[str, list[Any]]
    allOfValueMap: dict[str, PositiveInt]
    titledAllOfValueMap: dict[str, TitledPositiveInt]
    nullableAllOfValueMap: dict[str, int]
    unionValueMap: dict[str, UnionValueMap | UnionValueMap1]
    objectValueMap: dict[str, dict[str, str]]
    modeledValueMap: dict[str, ModeledValueMap]
    titledValueMap: dict[str, NamedValue]
    modeledIrrelevantConstraintMap: dict[str, ModeledIrrelevantConstraintMap]
    arrayIrrelevantConstraintMap: dict[str, list[int]]
    heterogeneousValueMap: dict[str, int | str]
    booleanIrrelevantConstraintMap: dict[str, bool]
