CERNDocumentServer / cds-migrator-kit

MIT License
1 stars 7 forks source link

[US] Books: migrate items #7

Closed ludmilamarian closed 2 weeks ago

ludmilamarian commented 6 years ago

parent of #16 parent of #17 [CLOSED] parent of #18

Tasks

Analysis

Items migration consists of 2 main objects:

Libraries

Comparing this legacy data model with the new data model, libraries will corresponds to different rooms or buildings, belonging to the unique Location. It means that Items will have a reference to a room and not to a location.

Migration

The proposed schemas for libraries are the followings:

The location -> internal location structure is needed because Invenio ILS, in case of multiple locations, will change the loan workflow to "transit" books between different locations.

Items

One item does not have the barcode, to be fixed.

Volumes/Series

Currently, volume or series definition is in the description field. A few numbers:

Status

Migration

The proposed schema for item is the following:

{
    "itemid": "1", # id format to be defined
    "docid": "1", # id format to be defined
    "ilocid": "1",  # id format to be defined
    "legacy_bibrec_id": "111111",
    "legacy_library_id": "3",
    "barcode": "83-0384-4",
    "classification": "530.24 SEI",
    "description": "",
    "status": "LOANABLE",
    "circulation_restriction": "Reference",
    "medium": "",
    "created": "date",
    "updated": "date"
}

Questions

Library

Items

TO DO

ludmilamarian commented 6 years ago

Library

Items

Items - Volumes