from typing import Literal, TypedDict

AttributeValueTypeLiteral = Literal[
    "string",
    "integer",
    "float",
    "boolean",
    "array",
    "object",
]


class FilterableAttribute(TypedDict):
    attribute_name: str
    possible_values: list[str]
    value_type: AttributeValueTypeLiteral
