import json


def get_wiki_type(path):
    """
    Based on the schema_descriptions_67sch.json to extract all the wiki event type, return the list of it
    """
    wiki_event_type_list = []
    with open(path,'r') as f:
        # decode json
        schmeas = json.load(f)
        # iterate through all the schemas 
        for schema in schmeas:
            wiki_event_types = schmeas[schema]["wiki_event_types"]
            for key in wiki_event_types.keys():
                wiki_event_type_list.append("wd:"+key)
                
    return wiki_event_type_list