def extract_links_self_href(cls, v):
    """Extract the _links.self.href subfield."""
    if not isinstance(v, dict):
        raise TypeError('Field "_links" type must be dict')
    try:
        href = v['self']['href']
    except AttributeError:
        raise ValueError('Field "_links" must contain  ["self"]["href"]')
    return href
