
    ph8                     v    d dl m Z  d dlmZmZmZ d dlmZmZ  G d de      Z G d de      Z	 G d d	e      Z
y
)    )datetime)OptionalListDict)	BaseModelFieldc                       e Zd ZU dZdZee   ed<   dZe	ed<   dZ
e	ed<   dZe	ed<   dZe	ed<   dZe	ed	<   dZe	ed
<   dZe	ed<   dZe	ed<   dZe	ed<   dZe	ed<   dZee	   ed<   y)MatchInputSchemaz Schema for wine match input dataNprice sku
tax_statusurldescriptionhistory_textoriginal_history_textkeyword_textoriginal_keyword_textvintagesizebottle_size_id)__name__
__module____qualname____doc__r   r   float__annotations__r   strr   r   r   r   r   r   r   r   r   r        e/var/www/html/wine-match-dev/backend/winematch-backend/src/apps/wine_match/schemas/matcher_schemas.pyr
   r
      s    *!E8E?!CMJCMKL#!#3#L#!#3#GSD#N$(NHSM(r    r
   c                       e Zd ZU dZdZeed<   dZeed<   dZeed<   dZ	eed<   dZ
eed<   dZeed<   dZeed	<   d
Zee   ed<   dZeed<   dZeed<   dZeed<   dZeed<   dZeed<   dZeed<   y
)MatchOutputSchemaz!Schema for wine match output datar   wine_id
wine_db_id	wine_namematcherrorsbottle_sizer   Nr   r   r   r   keyword_stringhistory_stringr   )r   r   r   r   r$   r   r   r%   r&   r'   r(   r)   r   r   r   r   r   r   r   r*   r+   r   r   r    r!   r#   r#      s    +GSJIsE3OFCKGS!E8E?!JCMKNCNCCMr    r#   c                       e Zd ZU dZeed<   eed<   eed<   eed<   dZeed<   eed<   eed	<   d
Z	e
ed<   d
Ze
ed<   d
Ze
ed<   d
Ze
ed<   d
Ze
ed<   dZeed<   y)MatchResultSchemazSchema for match result summarycode
match_date
is_keywordstatusr   message
date_startdate_endr   raw_sizehistory_countkeyword_countambiguous_countunknown_countg        execution_time_secondsN)r   r   r   r   r   r   r   boolr2   r5   intr6   r7   r8   r9   r:   r   r   r    r!   r-   r-   (   sn    )
IKGSHcM3M3OSM3$'E'r    r-   N)r   typingr   r   r   pydanticr   r   r
   r#   r-   r   r    r!   <module>r?      s5     ' ' %)y ) 	 $(	 (r    