def get_class_properties(class_name: str, vocab: dict) -> list:
    """
    Return all the properties of the given class.
    """
    properties = list()
    defines = vocab['@graph']
    for obj in defines:
        if obj.get('propertyOf'):
            propertyof = obj['propertyOf'].split('#')[1]
            if propertyof == class_name or obj['@type'] == 'owl:DataProperty' and obj['@type'] == 'owl:ObjectProperty':
                properties.append(obj)
    return properties