import coreapi
import coreschema
import string
from rest_framework import schemas

from rest_framework.schemas import openapi

class Edit_Project_Schema(object):
    
    def get_manual_fields(self):
        manual_fields=[
            coreapi.Field(name="Authorization"
                          ,required=True
                          ,location="header"
                          ,schema=coreschema.Object()
                          ,description="Authorization Token of User"
                          ,type="string"
                          ,example="1a02762cd8ae414590ec37f49b66cbf7"
                          ),
            coreapi.Field(name="project"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Project Id to be edited."
                          ,type="string"
                          ),
            coreapi.Field(name="name"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Name of the Project."
                          ,type="string"
                          ),
             coreapi.Field(name="description"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Description about the Project."
                          ,type="string"
                          ),
            coreapi.Field(name="catagory"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Catagory of the Project."
                          ,type="string"
                          ),
            coreapi.Field(name="salary_from"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Salary Expection starts from."
                          ,type="integer"
                          ),
            coreapi.Field(name="salary_to"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Salary Expection upto."
                          ,type="integer"
                          ),
            coreapi.Field(name="start_date"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Starting date of job."
                          ,type="string"
                          ),
            coreapi.Field(name="end_date"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Ending date of job."
                          ,type="string"
                          ),
            coreapi.Field(name="start_time"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Starting time of job."
                          ,type="string"
                          ),
            coreapi.Field(name="end_time"
                          ,required=True
                          ,location=""
                          ,schema=coreschema.Object()
                          ,description="Ending time of job."
                          ,type="string"
                          ),
        ]
        
        return manual_fields