def METHOD_NAME(gamify_data: YamlBlock):
    """
    Parses json to find and link appropriate data into lecture and demo documents.
    :param gamify_data = Checked documents in JSON
    :returns: Arrays of lecture and demo documents
    """
    lecture_paths = gamify_data.get("lectures", [])
    demo_paths = gamify_data.get("demos", [])
    default_max = gamify_data.get("defaultMax", 5)
    button_text = gamify_data.get("buttonText", "Show map")
    lectures = get_lecture_data(lecture_paths)
    demos = get_demo_data(demo_paths, default_max)
    return lectures, demos, button_text