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

from __future__ import annotations

from typing import NotRequired, TypedDict

type MyArrayItem = str


type MyArray = list[MyArrayItem]


type MyObjectProp = str


type MyObject = dict[str, MyObjectProp]


type MyOneOfBranch = str


type MyOneOf = MyOneOfBranch | float


type MyAnyOfBranch = bool


type MyAnyOf = MyAnyOfBranch | int


type MyDeepItem = int


type MyNestedArrayItem = list[MyDeepItem]


type MyNestedArray = list[MyNestedArrayItem]


type MyPatternValue = str


type MyPatternObj = dict[str, MyPatternValue]


type MyPropValue = int


type MyPropNamesObj = dict[str, MyPropValue]


class Foo(TypedDict):
    array: NotRequired[MyArray]
    object: NotRequired[MyObject]
    oneOf: NotRequired[MyOneOf]
    anyOf: NotRequired[MyAnyOf]
    nestedArray: NotRequired[MyNestedArray]
    patternObj: NotRequired[MyPatternObj]
    propNamesObj: NotRequired[MyPropNamesObj]
