<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_schema_dir(db_version=1):
 """Get path to directory with schemata. :param db_version: Version of the database :type db_version: int :return: Path :rtype: str """

    v = str(db_version)
    return os.path.join(_top_dir, '..', 'schemata', 'versions', v)