LANGUAGE_LEVEL = [
  {
    "name": "Basic",
    "description": "Short, simple sentences. Minimal jargon. Lots of visual and concrete language.",
    "cefr_level": "A2 - B1",
    "ideal_audience": "Manual laborers, entry-level roles, newcomers with another native language"
  },
  {
    "name": "Standard",
    "description": "Clear spoken language. Well-formulated without difficult words.",
    "cefr_level": "B2",
    "ideal_audience": "Retail, administration, logistics, early-career professionals"
  },
  {
    "name": "Professional",
    "description": "Business language with technical terms where needed. More complex sentence structures.",
    "cefr_level": "C1",
    "ideal_audience": "Management, HR, technical profiles"
  }
]

def get_language_level_context(language_level:str) -> str:
  selected_language_level = next(
    (item for item in LANGUAGE_LEVEL if item["name"] == language_level),
    None
  )
  language_level_context = (f"{selected_language_level['description']}, "
                            f"corresponding to CEFR level {selected_language_level['cefr_level']}")
  return language_level_context
