joblake_mapping = {
"properties": {
"job_title": {"type": "text"},
"job_department": {"type": "text"},
"job_location": {
"properties": {
"city": {"type": "text"},
"state": {"type": "text"},
"country": {"type": "text"},
"remote": {"type": "boolean"}
}
},
"company_name": {"type": "text"},
"company_industry": {"type": "text"},
"company_size": {"type": "keyword"},
"employment_type": {"type": "keyword"},
"experience_required": {"type": "text"},
"education_required": {
"type": "nested",
"properties": {
"degree": {"type": "keyword"},
"major": {"type": "text"},
"preferred_university": {"type": "text"}
}
},
"skills_required": {"type": "keyword"},
"preferred_certifications": {
"type": "nested",
"properties": {
"name": {"type": "text"},
"issuing_organization": {"type": "text"}
}
},
"job_responsibilities": {"type": "text"},
"preferred_experience": {
"type": "nested",
"properties": {
"designation": {"type": "text"},
"industry": {"type": "text"},
"company_type": {"type": "text"},
"min_years": {"type": "integer"},
"max_years": {"type": "integer"}
}
},
"languages_required": {
"type": "nested",
"properties": {
"language": {"type": "text"},
"proficiency": {"type": "keyword"}
}
},
"technologies_used": {"type": "keyword"},
"compensation": {
"properties": {
"salary_range": {
"properties": {
"min": {"type": "keyword"},
"max": {"type": "keyword"}
}
},
"equity": {"type": "boolean"},
"bonuses": {"type": "boolean"}
}
},
"benefits": {"type": "keyword"},
"company_culture": {"type": "text"},
"recruiter_contact": {
"properties": {
"name": {"type": "text"},
"email": {"type": "keyword"},
"phone": {"type": "keyword"}
}
},
"application_deadline": {"type": "date", "format": "yyyy-MM-dd"}
}
}