from pydantic import BaseModel
from typing import Optional, Union

class Attribute(BaseModel):
    value: Optional[Union[str,int,list]]
    type: Optional[str]
    id: str