Пример #1
0
def test_migrate_record(datadir, base_app):
    """Test migrate date."""
    # [[ migrate the book ]]
    with base_app.app_context():
        data = load_json(datadir, 'multiparts.json')
        dump = CDSRecordDump(data=data[0], dojson_model=multipart_marc21)
        dump.prepare_revisions()
        res = dump.revisions[-1][1]
        assert res['legacy_recid'] == 2758857
        assert res == {'_migration': {'record_type': 'multipart', 'volumes': [
            {'title': 'Optics', 'volume': '1'}], 'volumes_identifiers': [],
                                      'volumes_urls': [], 'serials': [],
                                      'has_serial': False,
                                      'is_multipart': True,
                                      'is_yellow_report': False,
                                      'has_related': True,
                                      'has_journal': False, 'tags': [],
                                      'journal_record_legacy_recids': [],
                                      'eitems_proxy': [],
                                      'eitems_has_proxy': False,
                                      'eitems_file_links': [],
                                      'eitems_has_files': False,
                                      'eitems_external': [],
                                      'eitems_has_external': False,
                                      'eitems_ebl': [], 'eitems_safari': [],
                                      'eitems_has_ebl': False,
                                      'eitems_has_safari': False,
                                      'eitems_open_access': False,
                                      'eitems_internal_notes': '', 'related': [
                {'related_recid': '244535', 'relation_type': 'edition',
                 'relation_description': '1st ed.'},
                {'related_recid': '1084451', 'relation_type': 'edition',
                 'relation_description': '2nd ed.'}], 'items': [],
                                      'item_medium': [], 'has_medium': False,
                                      'conference_title': '',
                                      'multipart_id': 'VOL10048',
                                      'multivolume_record': False},
                       'mode_of_issuance': 'MULTIPART_MONOGRAPH',
                       'provider_recid': '2758857', 'legacy_recid': 2758857,
                       'agency_code': 'SzGeCERN', 'document_type': 'BOOK',
                       'authors': [{'full_name': 'Teich, Malvin Carl',
                                    'roles': ['AUTHOR'],
                                    "type": "PERSON"
                                    },
                                   {'full_name': 'Saleh, Bahaa E A',
                                    'roles': ['AUTHOR'],
                                    "type": "PERSON"
                                    }], 'edition': '3rd',
                       'created_by': {'type': 'user'},
                       '_created': '2021-03-29',
                       'title': 'Fundamentals of photonics',
                       'publication_year': '2019',
                       'imprint': {'date': '2019-01-01',
                                   'place': 'Hoboken, NJ',
                                   'publisher': 'Wiley'},
                       'identifiers': [
                           {'scheme': 'ISBN', 'value': '9781119506874',
                            "material": "HARDBACK"}],
                       'languages': ['ENG']}
Пример #2
0
def test_migrate_record(datadir, base_app):
    """Test migrate date."""
    # [[ migrate the book ]]
    with base_app.app_context():
        data = load_json(datadir, 'journal.json')
        dump = CDSRecordDump(data=data[0], dojson_model=journal_marc21)
        dump.prepare_revisions()
        res = dump.revisions[-1][1]
        assert res['legacy_recid'] == 229384
        assert res == {
            '_created': '1992-01-21',
            "_migration": {
                "is_multipart": False,
                "has_related": True,
                "related": [
                    {
                        "related_recid": "229630",
                        "relation_type": "sequence",
                        "relation_description": None,
                        "sequence_order": "previous",
                    }
                ],
                "record_type": "journal",
                "volumes": [],
            },
            'mode_of_issuance': 'SERIAL', 'legacy_recid': 229384,
            'agency_code': 'SzGeCERN', 'alternative_titles': [
                {'type': 'ABBREVIATION', 'value': 'Br. J. Appl. Phys.'}],
            'keywords': [{'value': 'Institute of Physics', 'source': 'CERN'},
                         {'value': 'JPD', 'source': 'CERN'},
                         {'value': 'JPhysD', 'source': 'CERN'}],
            'publisher': 'IOP',
            'note': 'Explanation of the series change: v 1 - 18 (1950-67); ser 2 v 1 - 2 (1968-69). Ser 2 subtitled: Journal of physics D',
            'internal_notes': [{'value': 'Online archives purchased 2014'}],
            'access_urls': [
                {
                    'value': 'http://iopscience.iop.org/0508-3443',
                    'description': 'v 1 (1950) - v 18 (1967)',
                    'access_restriction': [
                        'RESTRICTED_PERPETUAL_ACCESS_BACKFILES'],
                    'open_access': False,
                    'login_required': True,
                }
            ],
            'subjects': [{'value': '53', 'scheme': 'UDC'}],
            'title': 'British journal of applied physics',
            'identifiers': [
                {'scheme': 'ISSN', 'value': '0508-3443',
                 'material': 'PRINT_VERSION'}],
            'languages': ['ENG'],
            'series_type': 'PERIODICAL',
            'physical_volumes': [
                {'description': 'v 1 (1950) - v 18 (1967)',
                 'location': 'DE2'}]}
Пример #3
0
def test_migrate_record(datadir, base_app):
    """Test migrate date."""
    # [[ migrate the book ]]
    with base_app.app_context():
        data = load_json(datadir, 'serial.json')
        dump = CDSRecordDump(data=data[0], dojson_model=serial_marc21)
        dump.prepare_revisions()
        res = dump.revisions[-1][1]
        assert res['legacy_recid'] == 213298
        assert res == {'_migration': {'record_type': 'serial', 'children': []},
                       'mode_of_issuance': 'SERIAL', 'legacy_recid': 213298,
                       'title': ['CERN Yellow Reports: Monographs'],
                       }

        data = load_json(datadir, 'serial2.json')
        dump = CDSRecordDump(data=data[0], dojson_model=serial_marc21)
        dump.prepare_revisions()
        res = dump.revisions[-1][1]
        assert res['legacy_recid'] == 436242
        assert res == {'_migration': {'record_type': 'serial', 'children': []},
                       'mode_of_issuance': 'SERIAL', 'legacy_recid': 436242,
                       'title': ['Traité de droit civil']}
Пример #4
0
def test_migrate_record(datadir, base_app):
    """Test migrate date."""
    # [[ migrate the book ]]
    with base_app.app_context():
        data = load_json(datadir, 'book1.json')
        dump = CDSRecordDump(data=data[0])
        dump.prepare_revisions()
        res = dump.revisions[-1][1]
        assert res['legacy_recid'] == 262146
        assert res == {
            "agency_code": "SzGeCERN",
            '_created': '2001-03-19',
            'created_by': {'type': 'user'},
            "number_of_pages": "465",
            "languages": [
                "ENG"
            ],
            "title": "Gauge fields, knots and gravity",
            "legacy_recid": 262146,
            "provider_recid": "262146",
            'publication_year': "1994",
            "identifiers": [
                {
                    "scheme": "ISBN",
                    "value": "9789810217297"
                },
                {
                    "scheme": "ISBN",
                    "value": "9789810220341"
                },
                {
                    "scheme": "ISBN",
                    "value": "9810217293"
                },
                {
                    "scheme": "ISBN",
                    "value": "9810220340"
                }
            ],
            "authors": [
                {
                    "full_name": "Baez, John C",
                    "roles": ["AUTHOR"],
                    "type": "PERSON"
                },
                {
                    "full_name": "Muniain, Javier P",
                    "roles": ["AUTHOR"],
                    "type": "PERSON"
                }
            ],
            "keywords": [
                {
                    "source": "CERN",
                    "value": "electromagnetism"
                },
                {
                    "source": "CERN",
                    "value": "gauge fields"
                },
                {
                    "source": "CERN",
                    "value": "general relativity"
                },
                {
                    "source": "CERN",
                    "value": "knot theory, applications"
                },
                {
                    "source": "CERN",
                    "value": "quantum gravity"
                }
            ],
            "internal_notes": [
                {
                    "value": "newqudc"
                }
            ],
            "document_type": 'BOOK',
            "imprint":
                {
                    "date": "1994-01-14",
                    "publisher": "World Scientific",
                    "place": "Singapore"
                },
            "tags": ["THESIS"],
            '_migration': {
                           'has_related': False,
                           'has_serial': False,
                           'has_journal': False,
                           'has_medium': False,
                           'eitems_ebl': [],
                           'eitems_safari': [],
                           'eitems_external': [],
                           'eitems_file_links': [],
                           'eitems_has_ebl': False,
                           'eitems_has_external': False,
                           'eitems_has_files': False,
                           'eitems_has_proxy': False,
                           'eitems_has_safari': False,
                           'eitems_open_access': False,
                           'eitems_proxy': [],
                           'item_medium': [],
                           'is_multipart': False,
                           'is_yellow_report': False,
                           'journal_record_legacy_recids': [],
                           'record_type': 'document',
                           'volumes': [],
                           'serials': [],
                           'tags': [],
                           'related': [],
                           'volumes_identifiers': [],
                           'volumes_urls': [],
                           'items': [],
                           'conference_title': '',
                           'eitems_internal_notes': '',
            },

        }
Пример #5
0
def test_migrate_record(datadir, base_app):
    """Test migrate date."""
    # [[ migrate the book ]]
    with base_app.app_context():
        data = load_json(datadir, 'standard1.json')
        dump = CDSRecordDump(data=data[0])
        dump.prepare_revisions()
        res = dump.revisions[-1][1]
        assert res['legacy_recid'] == 1463268
        assert res == {
            'provider_recid':
            '1463268',
            'legacy_recid':
            1463268,
            'agency_code':
            'SzGeCERN',
            'identifiers': [{
                'value': 'ASTM-E467-08',
                'scheme': 'STANDARD_NUMBER'
            }, {
                'value': 'ASTM-E-467-08',
                'scheme': 'STANDARD_NUMBER'
            }],
            'title':
            'Standard practice for verification of constant amplitude dynamic forces in an axial fatigue testing system',
            'publication_year':
            '2008',
            'imprint': {
                'date': '2008-01-01',
                'place': 'West Conshohocken, PA',
                'publisher': 'ASTM'
            },
            'document_type':
            'STANDARD',
            'number_of_pages':
            '11',
            'abstract':
            '1.1 This practice covers procedures for the dynamic verification of cyclic force amplitude control or measurement accuracy ....',
            'authors': [{
                'full_name':
                'American Society for Testing and Materials. Philadelphia',
                'type': 'ORGANISATION'
            }],
            'internal_notes': [{
                'value': 'ASTM201207 - vol.03.01'
            }, {
                'value': 'BOTyhdiO1HVI.pdf'
            }],
            'created_by': {
                'type': 'user'
            },
            '_created':
            '2012-07-23',
            'languages': ['ENG'],
            'subjects': [{
                'value': '77.040.10',
                'scheme': 'ICS'
            }],
            '_migration': {
                'record_type':
                'document',
                'volumes': [],
                'volumes_identifiers': [],
                'volumes_urls': [],
                'serials': [],
                'has_serial':
                False,
                'is_multipart':
                False,
                'is_yellow_report':
                False,
                'has_related':
                False,
                'has_journal':
                False,
                'tags': [],
                'journal_record_legacy_recids': [],
                'eitems_proxy': [],
                'eitems_has_proxy':
                False,
                'eitems_file_links': [{
                    'url': {
                        'value':
                        'http://cds.cern.ch/record/1463268/files/BOTyhdiO1HVI.pdf'
                    }
                }],
                'eitems_has_files':
                True,
                'eitems_external': [],
                'eitems_has_external':
                False,
                'eitems_ebl': [],
                'eitems_has_ebl':
                False,
                'eitems_safari': [],
                'eitems_has_safari':
                False,
                'eitems_open_access':
                False,
                'related': [],
                'items': [],
                'item_medium': [],
                'has_medium':
                False,
                'conference_title':
                '',
                'eitems_internal_notes':
                ''
            },
        }
Пример #6
0
def test_migrate_record(datadir, base_app):
    """Test migrate date."""
    # [[ migrate the book ]]
    with base_app.app_context():
        data = load_json(datadir, 'proceedings1.json')
        dump = CDSRecordDump(data=data[0])
        dump.prepare_revisions()
        res = dump.revisions[-1][1]
        assert res['legacy_recid'] == 2213126
        assert res == {
            'provider_recid':
            '2213126',
            'legacy_recid':
            2213126,
            'agency_code':
            'SzGeCERN',
            'created_by': {
                'type': 'batchuploader'
            },
            '_created':
            '2017-05-01',
            'publication_year':
            '2016',
            'languages': ['ENG'],
            'volume':
            '(v.1)',
            'source':
            'SPR',
            'authors': [{
                'full_name': 'Qian, Tao',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Rodino, Luigi',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }],
            'document_type':
            'PROCEEDINGS',
            'identifiers': [{
                'value': '9783319419435',
                'scheme': 'ISBN',
                'material': 'PRINT_VERSION'
            }, {
                'value': '10.1007/978-3-319-41945-9',
                'material': 'DIGITAL',
                'scheme': 'DOI'
            }, {
                'value': '10.1007/978-3-319-48812-7',
                'material': 'DIGITAL',
                'scheme': 'DOI'
            }],
            'subjects': [{
                'value': 'QA370-380',
                'scheme': 'LOC'
            }, {
                'value': '515.353',
                'scheme': 'DEWEY'
            }],
            'conference_info': [{
                'title':
                '10th International ISAAC Congress',
                'place':
                'Macau, China',
                'dates':
                '2015-08-03 - 2015-08-08',
                'identifiers': [{
                    'scheme': 'CERN',
                    'value': 'macau20150803'
                }],
                'series':
                '10',
                'country':
                'CHN',
                'acronym':
                'ISAAC 2015'
            }],
            'imprint': {
                'date': '2016-01-01',
                'place': 'Cham',
                'publisher': 'Springer'
            },
            'internal_notes': [{
                'value': 'Mathematics and statistics'
            }],
            'table_of_content': [
                'Leon Cohen: A review of Brownian motion based solely on the Langevin equation with white noise',
                'Darren Crowdy: Geometry-fitted Fourier-Mellin transform pairs',
                'Alan McIntosh , Sylvie Monniaux: First order approach to L^p estimates for the Stokes operator on Lipschitz domains',
                'Zhong-Can Ou-Yang, Zhan-Chun Tu: The study of complex shapes of fluid membranes, the Helfrich functional and new applications',
                'Maximilian Reich, Winfried Sickel: Multiplication and composition in weighted modulation spaces',
                'Saburou Saitoh: A reproducing kernel theory with some general applications',
                'Vladimir Temlyakov: Sparse approximation by greedy algorithms',
                'Dan-Virgil Voiculescu: The bi-free extension of free probability',
                'Ya-Guang Wang: Stability of the Prandtl boundary layers',
                'Elias Wegert: Visual exploration of complex functions',
                'Karen Yagdjian: Integral transform approach to time-dependent partial differential equations.'
            ],
            'abstract':
            'This book collects lectures given by the plenary speakers at the 10th International ISAAC Congress, held in Macau, China in 2015. The contributions, authored by eminent specialists, present some of the most exciting recent developments in mathematical analysis, probability theory, and related applications. Topics include: partial differential equations in mathematical physics, Fourier analysis, probability and Brownian motion, numerical analysis, and reproducing kernels. The volume also presents a lecture on the visual exploration of complex functions using the domain coloring technique. Thanks to the accessible style used, readers only need a basic command of calculus.',
            '_migration': {
                'record_type':
                'document',
                'volumes': [],
                'volumes_identifiers': [],
                'volumes_urls': [],
                'serials': [{
                    'title':
                    'Springer proceedings in mathematics & statistics',
                    'volume': '177',
                    'issn': '2194-1009'
                }],
                'has_serial':
                True,
                'is_multipart':
                False,
                'is_yellow_report':
                False,
                'has_related':
                False,
                'has_journal':
                False,
                'tags': [],
                'journal_record_legacy_recids': [],
                'eitems_external': [{
                    'url': {
                        'description': 'e-proceedings (v.1)',
                        'value': 'http://dx.doi.org/10.1007/978-3-319-41945-9'
                    },
                    "open_access": False,
                }, {
                    'url': {
                        'description': 'e-proceedings (v.2)',
                        'value': 'http://dx.doi.org/10.1007/978-3-319-48812-7'
                    },
                    "open_access": False,
                }],
                'eitems_has_proxy':
                False,
                'eitems_file_links': [],
                'eitems_has_files':
                False,
                'eitems_proxy': [],
                'eitems_has_external':
                True,
                'eitems_ebl': [],
                'eitems_has_ebl':
                False,
                'eitems_safari': [],
                'eitems_has_safari':
                False,
                'eitems_open_access':
                False,
                'related': [],
                'items': [],
                'item_medium': [],
                'has_medium':
                False,
                'conference_title':
                '10th International ISAAC Congress',
                'eitems_internal_notes':
                'SPR201609; SPR201705'
            }
        }
Пример #7
0
def test_migrate_record(datadir, base_app):
    """Test migrate date."""
    # [[ migrate the book ]]
    with base_app.app_context():
        data = load_json(datadir, 'multivolume.json')
        dump = CDSRecordDump(data=data[0], dojson_model=multipart_marc21)
        dump.prepare_revisions()
        res = dump.revisions[-1][1]
        assert res['legacy_recid'] == 104450
        assert res == {
            '_migration': {
                'record_type':
                'multipart',
                'volumes': [{
                    'title': 'Early work (1905-1911)',
                    'volume': '1'
                }, {
                    'title': 'Work on atomic physics (1912-1917)',
                    'volume': '2'
                }, {
                    'title': 'The correspondence principle (1918-1923)',
                    'volume': '3'
                }, {
                    'title': 'The periodic system (1920-1923)',
                    'volume': '4'
                }, {
                    'title':
                    'The emergence of quantum mechanics (mainly 1924-1926)',
                    'volume': '5'
                }, {
                    'title': 'Foundations of quantum physics I (1926-1932)',
                    'volume': '6'
                }, {
                    'title': 'Foundations of quantum physics II (1933-1958)',
                    'volume': '7'
                }, {
                    'title':
                    'The penetration of charged particles through matter (1912-1954)',
                    'volume': '8'
                }, {
                    'title': 'Nuclear physics (1929-1952)',
                    'volume': '9'
                }, {
                    'title': 'Complementarity beyond physics (1928-1962)',
                    'volume': '10'
                }, {
                    'title': 'The political arena (1934-1961)',
                    'volume': '11'
                }, {
                    'title': 'Popularization and people (1911-1962)',
                    'volume': '12'
                }],
                'volumes_identifiers': [{
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '0444855012'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '5'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '0444867120'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '6'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '0444869298'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '9'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '0444899723'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '10'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '0720418003'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '7'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780080870991'
                    }],
                    'physical_description':
                    'electronic version',
                    'volume':
                    '1'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780080871004'
                    }],
                    'physical_description':
                    'electronic version',
                    'volume':
                    '2'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780080871011'
                    }],
                    'physical_description':
                    'electronic version',
                    'volume':
                    '3'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780080871028'
                    }],
                    'physical_description':
                    'electronic version',
                    'volume':
                    '4'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780080871035'
                    }],
                    'physical_description':
                    'electronic version',
                    'volume':
                    '5'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780080871059'
                    }],
                    'physical_description':
                    'electronic version',
                    'volume':
                    '7'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780080871066'
                    }],
                    'physical_description':
                    'electronic version',
                    'volume':
                    '8'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780080871073'
                    }],
                    'physical_description':
                    'electronic version',
                    'volume':
                    '9'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780444513366'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '11'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780444529466'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '12'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780444865014'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '5'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780444867124'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '6'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780444869296'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '9'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780444870032'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '8'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780444898920'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '7'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780444899729'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '10'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780720418002'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '7'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780720418019'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '1'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780720418026'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '2'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780720418033'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '3'
                }, {
                    'identifiers': [{
                        'scheme': 'ISBN',
                        'value': '9780720418040'
                    }],
                    'physical_description':
                    'print version',
                    'volume':
                    '4'
                }],
                'volumes_urls': [{
                    '_migration': {
                        'record_type':
                        'document',
                        'eitems_proxy': [{
                            'url': {
                                'value':
                                'http://www.sciencedirect.com/science/bookseries/18760503/4',
                                'description': 'ebook (v.4)'
                            },
                            'open_access': False
                        }],
                        'eitems_has_proxy':
                        True,
                        'eitems_file_links': [],
                        'eitems_external': [],
                        'eitems_ebl': [],
                        'eitems_safari': [],
                    },
                    'volume': '4'
                }, {
                    '_migration': {
                        'record_type':
                        'document',
                        'eitems_proxy': [{
                            'url': {
                                'value':
                                'http://www.sciencedirect.com/science/bookseries/18760503/6',
                                'description': 'ebook (v.6)'
                            },
                            'open_access': False
                        }],
                        'eitems_has_proxy':
                        True,
                        'eitems_file_links': [],
                        'eitems_external': [],
                        'eitems_ebl': [],
                        'eitems_safari': [],
                    },
                    'volume': '6'
                }, {
                    '_migration': {
                        'record_type':
                        'document',
                        'eitems_proxy': [{
                            'url': {
                                'value':
                                'http://www.sciencedirect.com/science/bookseries/18760503/7',
                                'description': 'ebook (v.7)'
                            },
                            'open_access': False
                        }],
                        'eitems_has_proxy':
                        True,
                        'eitems_file_links': [],
                        'eitems_external': [],
                        'eitems_ebl': [],
                        'eitems_safari': [],
                    },
                    'volume': '7'
                }, {
                    '_migration': {
                        'record_type':
                        'document',
                        'eitems_proxy': [{
                            'url': {
                                'value':
                                'http://www.sciencedirect.com/science/bookseries/18760503/8',
                                'description': 'ebook (v.8)'
                            },
                            'open_access': False
                        }],
                        'eitems_has_proxy':
                        True,
                        'eitems_file_links': [],
                        'eitems_external': [],
                        'eitems_ebl': [],
                        'eitems_safari': [],
                    },
                    'volume': '8'
                }, {
                    '_migration': {
                        'record_type':
                        'document',
                        'eitems_proxy': [{
                            'url': {
                                'value':
                                'http://www.sciencedirect.com/science/bookseries/18760503/9',
                                'description': 'ebook (v.9)'
                            },
                            'open_access': False
                        }],
                        'eitems_has_proxy':
                        True,
                        'eitems_file_links': [],
                        'eitems_external': [],
                        'eitems_ebl': [],
                        'eitems_safari': [],
                    },
                    'volume': '9'
                }, {
                    '_migration': {
                        'record_type':
                        'document',
                        'eitems_proxy': [{
                            'url': {
                                'value':
                                'http://www.sciencedirect.com/science/bookseries/18760503/10',
                                'description': 'ebook (v.10)'
                            },
                            'open_access': False
                        }],
                        'eitems_has_proxy':
                        True,
                        'eitems_file_links': [],
                        'eitems_external': [],
                        'eitems_ebl': [],
                        'eitems_safari': [],
                    },
                    'volume': '10'
                }],
                'serials': [],
                'has_serial':
                False,
                'is_multipart':
                True,
                'is_yellow_report':
                False,
                'has_related':
                False,
                'has_journal':
                False,
                'tags': [],
                'journal_record_legacy_recids': [],
                'eitems_proxy': [],
                'eitems_has_proxy':
                False,
                'eitems_file_links': [],
                'eitems_has_files':
                False,
                'eitems_external': [],
                'eitems_has_external':
                False,
                'eitems_ebl': [],
                'eitems_safari': [],
                'eitems_has_ebl':
                False,
                'eitems_has_safari':
                False,
                'eitems_open_access':
                False,
                'eitems_internal_notes':
                'ELS201605',
                'related': [],
                'items': [{
                    'barcode': '72-2408-2',
                    'volume': '1'
                }, {
                    'barcode': 'B00014307',
                    'volume': '10'
                }, {
                    'barcode': 'CM-B00059276',
                    'volume': '11'
                }, {
                    'barcode': 'CM-B00059277',
                    'volume': '12'
                }, {
                    'barcode': '82-0165-9',
                    'volume': '2'
                }, {
                    'barcode': '76-0846-6',
                    'volume': '3'
                }, {
                    'barcode': '77-0542-9',
                    'volume': '4'
                }, {
                    'barcode': '85-0045-6',
                    'volume': '5'
                }, {
                    'barcode': '85-0828-5',
                    'volume': '6'
                }, {
                    'barcode': 'B00002600',
                    'volume': '7'
                }, {
                    'barcode': 'B00009616',
                    'volume': '7'
                }, {
                    'barcode': '88-0037-7',
                    'volume': '8'
                }, {
                    'barcode': '86-0361-5',
                    'volume': '9'
                }],
                'item_medium': [],
                'has_medium':
                False,
                'conference_title':
                '',
                'multivolume_record':
                True
            },
            'mode_of_issuance':
            'MULTIPART_MONOGRAPH',
            'provider_recid':
            '104450',
            'legacy_recid':
            104450,
            'agency_code':
            'SzGeCERN',
            'languages': ['ENG'],
            'subjects': [{
                'value': '53(08)',
                'scheme': 'UDC'
            }, {
                'value': '53',
                'scheme': 'UDC'
            }, {
                'value': '92',
                'scheme': 'UDC'
            }, {
                'value': '539.17.014',
                'scheme': 'UDC'
            }, {
                'value': '539.171.01',
                'scheme': 'UDC'
            }, {
                'value': '537.534.75',
                'scheme': 'UDC'
            }, {
                'value': '539.186.2',
                'scheme': 'UDC'
            }],
            'authors': [{
                'full_name': 'Bohr, Niels Henrik David',
                'roles': ['AUTHOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Nielsen, J Rud',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Hoyer, Ulrich',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Rosenfeld, Léon',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Ruedinger, Erik',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Stolzenburg, Klaus',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Kalckar, Jørgen',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Thorsen, Jens',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Aaserud, Finn',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }, {
                'full_name': 'Favrhold, David',
                'roles': ['EDITOR'],
                "type": "PERSON"
            }],
            'alternative_titles': [{
                'type': 'SUBTITLE',
                'value': 'collected works'
            }],
            'title':
            'Niels Bohr',
            'publication_year':
            '1976 - 2006',
            'imprint': {
                'date': '1976-01-01 - 2006-01-01 ',
                'place': 'Amsterdam',
                'publisher': 'North-Holland'
            },
            'number_of_volumes':
            '12',
            'internal_notes': [{
                'value': 'EBLlink deleted'
            }],
            'source':
            'ELS',
            '_created':
            '1985-01-07',
            'keywords': [{
                'value': 'correspondence',
                'source': 'CERN'
            }],
            'document_type':
            'BOOK',
            'created_by': {
                'type': 'batchuploader'
            }
        }