
    Eh                     b    d dl mZmZ d dlmZ  G d de      Z G d de      Z G d de      Zy	)
    )OptionalList)	BaseModelc                       e Zd ZU dZeed<   y)AnalysisRequestz8
    Request schema for analyzing a user's session.
    imageN)__name__
__module____qualname____doc__str__annotations__     :/var/www/html/dev/engine/services/proctor/models/models.pyr   r      s     Jr   r   c                   0    e Zd ZU dZeed<   eed<   eed<   y)HeadPosez3
    Submodel for representing head pose data.
    pitchyawrollN)r	   r
   r   r   floatr   r   r   r   r   r      s     L	J
Kr   r   c                   h    e Zd ZU dZeed<   eed<   dZee	   ed<   dZ
ee   ed<   ee   ed<   eed<   y)	AnalysisResponsez9
    Response schema for returning analysis results.
    face_detectedpeople_countN	head_posedominant_emotionflags	timestamp)r	   r
   r   r   boolr   intr   r   r   r   r   r   r   r   r   r   r      sB     $(Ix!(&*hsm*9Nr   r   N)typingr   r   pydanticr   r   r   r   r   r   r   <module>r$      s/    ! i y 	y 	r   