def METHOD_NAME():
    schema = AuthorsMetadataSchemaV1()
    record = {
        'control_number': 123,
        'arxiv_categories': [
            'hep-ph'
        ],
        'deleted': False,
        'ids': [
            {
                'schema': 'INSPIRE BAI',
                'value': 'J.Doe.1'
            }
        ],
        'legacy_creation_date': '2013-12-21',
        'legacy_version': '20151015183913.0',
        'name': {
            'preferred_name': 'J. Doe',
            'value': 'Doe, J.'
        },
        'positions': [
            {
                'current': True,
                'institution': 'CERN',
            }
        ],
        '_collections': ['Authors'],
    }
    authors_schema = load_schema('authors')
    assert validate(record, authors_schema) is None
    expected = {
        'control_number': 123,
        'arxiv_categories': [
            'hep-ph'
        ],
        'deleted': False,
        'ids': [
            {
                'schema': 'INSPIRE BAI',
                'value': 'J.Doe.1'
            }
        ],
        'name': {
            'preferred_name': 'J. Doe',
            'value': 'Doe, J.'
        },
        'positions': [
            {
                'current': True,
                'institution': 'CERN',
                'display_date': 'present',
            }
        ],
        'should_display_positions': False,
        'facet_author_name': 'J.Doe.1_J. Doe',
        '_collections': ['Authors'],
    }
    result = json.loads(schema.dumps(record).data)
    assert expected == result