def METHOD_NAME(license):
    """Update the Zenodo legacy terms for license metadata.
    Updates the metadata in order to conform with opendefinition schema.
    """
    l = dict(license)
    if 'od_conformance' not in l:
        l['od_conformance'] = 'approved' if l['is_okd_compliant'] \
            else 'rejected'
    if 'osd_conformance' not in l:
        l['osd_conformance'] = 'approved' if l['is_osi_compliant'] \
            else 'rejected'
    l.pop('is_okd_compliant', None)
    l.pop('is_osi_compliant', None)
    l['$schema'] = 'http://{0}{1}/{2}'.format(
        current_app.config['JSONSCHEMAS_HOST'],
        current_app.config['JSONSCHEMAS_ENDPOINT'],
        current_app.config['OPENDEFINITION_SCHEMAS_DEFAULT_LICENSE']
    )
    return l