def parse_schema_key(key):
    """Unpack tuple of schema key."""
    _, dtype = key[:2]
    rule = '.*' if len(key) <= 2 else key[2]
    repeat = '' if len(key) <= 3 else key[3]
    return dtype, rule, repeat