MARC Holdings - Default Mapping profile

MARC Holdings - Default Mapping profile

IN PROGRESS

Mapping 

Field group

 

Field group

 

Leader



Character Positions



Inventory Holdings

Notes

Mapping profile

Rule







LDR














    06










Type of record

Holdings types:

  • in case of "u - Unknown" type what corresponding value on Inventory should be?



function "set_holdings_type_id" should be created in NormalizationFunction.java






3 Aug For now- ask library about the default value.

{ "name": "holdingsTypeId", "path": "holdings.holdingsTypeId", "value": "", "enabled": "false", "subfields": [] }






{ "target": "holdingsTypeId", "description": "", "subfield": [], "rules": [ { "description": "Holdings type based on 6 leader`s byte", "conditions": [ { "type": "set_holdings_type_id", "LDR": true } ] } ] }
  • u - Unknown



  • v - Multipart item holdings

Multi-part monograph

  • x - Single-part item holdings

Monograph

  • y - Serial item holdings

Serial



Physical



Electronic

Control fileds

Field

Character

Positions



Inventory Holdings

Notes

Mapping profile

Rule

001



Control Number

holdings Hrid

001 + 003→ 035

{ "name": "hrid", "path": "holdings.hrid", "value": "", "enabled": "false", "subfields": [] }
"001": [ { "target": "hrid", "description": "The human readable ID", "subfield": [], "rules": [] } ]

004



Control Number for Related Bibliographic Record



proposed to have a separate spike



hrid of Inventory Holdings





MARC Holdings

Inventory Holdings

Mapping profile

Notes

Rule

MARC Holdings

Inventory Holdings

Mapping profile

Notes

Rule

Data Fields

014

 

 

 

 

 

 

035

a

System control number (NR)

formerIds

 

 

"035": [
{
"entityPerRepeatedSubfield": true,
"entity": [
{
"target": "formerIds",
"description": "",
"subfield": [
"a"
]
}
]
}
]

Note Fields

561

 

Ownership and Custodial History

notes

holdings notes

Provenance note type

Natalia revise -561 field some code is already exists

561 field

"561": [
{
"entity": [
{
"target": "notes.holdingsNoteTypeId",
"description": "Holdings note type id",
"applyRulesOnConcatenatedData": true,
"subfield": [
"a",
"u",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [
{
"type": "set_holdings_note_type_id",
"parameter": {
"name": "Provenance"
}
}
]
}
]
},
{
"target": "notes.note",
"description": "Provenance note data",
"applyRulesOnConcatenatedData": true,
"subFieldDelimiter": [
{
"value": " ; ",
"subfields": [
"a",
"u",
"3",
"5",
"6",
"8"
]
}
],
"subfield": [
"a",
"u",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [
{
"type": "trim"
}
]
}
]
},
{
"target": "notes.staffOnly",
"description": "If true, determines that the note should not be visible for others than staff",
"applyRulesOnConcatenatedData": true,
"subfield": [
"a",
"u",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [],
"value": "false"
}
]
}
]
}
]

562

 

Copy and Version Identification Note

notes

holdings notes

Copy note type

562 field

562 field

"562": [
{
"entity": [
{
"target": "notes.holdingsNoteTypeId",
"description": "Holdings note type id",
"applyRulesOnConcatenatedData": true,
"subfield": [
"a",
"b",
"c",
"d",
"e",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [
{
"type": "set_holdings_note_type_id",
"parameter": {
"name": "Copy note"
}
}
]
}
]
},
{
"target": "notes.note",
"description": "Copy note data",
"applyRulesOnConcatenatedData": true,
"subFieldDelimiter": [
{
"value": " ; ",
"subfields": [
"a",
"b",
"c",
"d",
"e",
"3",
"5",
"6",
"8"
]
}
],
"subfield": [
"a",
"b",
"c",
"d",
"e",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [
{
"type": "trim"
}
]
}
]
},
{
"target": "notes.staffOnly",
"description": "If true, determines that the note should not be visible for others than staff",
"applyRulesOnConcatenatedData": true,
"subfield": [
"a",
"b",
"c",
"d",
"e",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [],
"value": "false"
}
]
}
]
}
]

563

 

Binding Information

notes

holdings notes

Binding note type

 

563 field

563": [
{
"entity": [
{
"target": "notes.holdingsNoteTypeId",
"description": "Holdings note type id",
"applyRulesOnConcatenatedData": true,
"subfield": [
"a",
"u",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [
{
"type": "set_holdings_note_type_id",
"parameter": {
"name": "Binding"
}
}
]
}
]
},
{
"target": "notes.note",
"description": "Binding note data",
"applyRulesOnConcatenatedData": true,
"subFieldDelimiter": [
{
"value": " ; ",
"subfields": [
"a",
"u",
"3",
"5",
"6",
"8"
]
}
],
"subfield": [
"a",
"u",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [
{
"type": "trim"
}
]
}
]
},
{
"target": "notes.staffOnly",
"description": "If true, determines that the note should not be visible for others than staff",
"applyRulesOnConcatenatedData": true,
"subfield": [
"a",
"u",
"3",
"5",
"6",
"8"
],
"rules": [
{
"conditions": [],
"value": "false"
}
]
}
]
}
]

583

 

Action Note

notes

holdings notes

Action note type

the same as 561 field 

 

583 field

"583": [
{
"entity": [
{
"target": "notes.holdingsNoteTypeId",
"description": "Holdings note type id",
"applyRulesOnConcatenatedData": true,
"subfield": [
"a",
"b",
"c",
"d",
"e",
"f",
"h",
"i","j","k","l","n","o","u","x","z","2","3","5","6","8"],"rules": [ {"conditions": [ {"type": "set_holdings_note_type_id","parameter": {"name": "Action note"} } ] } ] },{"target": "notes.note","description": "Action note data","applyRulesOnConcatenatedData": true,"subFieldDelimiter": [ {"value": " ; ","subfields": ["a","b","c","d","e","f","h","i","j","k","l","n","o","u","x","z","2","3","5","6","8"] } ],"rules": [ {"conditions": [ {"type": "trim"} ] } ] },{"target": "notes.staffOnly","description": "If true, determines that the note should not be visible for others than staff","subfield": ["a","b","c","d","e","f","h","i","j","k","l","n","o","u","x","z","2","3","5","6","8"],"rules": [ {"conditions": [],"value": "false"} ] } ] }]