from pydantic import BaseModel
from typing import Optional, Union

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