<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resolver(schema):
 """Default implementation of a schema name resolver function """

    name = schema.__name__
    if name.endswith("Schema"):
        return name[:-6] or name
    return name