U
    VcI                     @   sL   d dl mZ d dlmZ ddlmZ G dd dejZG dd dejZdS )	    )serializers
validators   c                   @   sL   e Zd ZejejgdZeje	j
gdZejde	j
gdZejdddZdS )DocParserInputSerializerr   F)requiredr   )r   defaultN)__name__
__module____qualname__r   	CharFieldmain_validatorsuuid_validatorcontext_institute_id	FileFieldr   docx_file_validatorquestions_docxanswers_docxBooleanFieldskip_images r   r   2/var/www/wikiazma_server/doc_parser/serializers.pyr      s   r   c                   @   s,   e Zd ZejejgdZeje	j
gdZdS )JsonParserInputSerializerr   N)r	   r
   r   r   r   r   r   r   r   r   data_file_validatorzip_filer   r   r   r   r      s   r   N)	rest_frameworkr   utilsr   r    
Serializerr   r   r   r   r   r   <module>   s   
