pennmarc 1.0.12 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,49 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Constants for Alma's MARC enrichment
4
- # MARC enrichment is performed during the Alma Publishing process
5
- # @see https://developers.exlibrisgroup.com/alma/apis/docs/bibs/R0VUIC9hbG1hd3MvdjEvYmlicy97bW1zX2lkfQ==/
6
- # Alma documentation for these added fields
7
- module PennMARC
8
- module EnrichedMarc
9
- # terminology follows the Publishing Profile screen
10
- TAG_HOLDING = 'hld'
11
- TAG_ITEM = 'itm'
12
- TAG_ELECTRONIC_INVENTORY = 'prt'
13
- TAG_DIGITAL_INVENTORY = 'dig'
14
-
15
- # these are 852 subfield codes; terminology comes from MARC spec
16
- SUB_HOLDING_SHELVING_LOCATION = 'c'
17
- SUB_HOLDING_SEQUENCE_NUMBER = '8'
18
- SUB_HOLDING_CLASSIFICATION_PART = 'h'
19
- SUB_HOLDING_ITEM_PART = 'i'
20
-
21
- SUB_ITEM_CURRENT_LOCATION = 'g'
22
- SUB_ITEM_CALL_NUMBER_TYPE = 'h'
23
- SUB_ITEM_CALL_NUMBER = 'i'
24
- SUB_ITEM_DATE_CREATED = 'q'
25
-
26
- SUB_ELEC_PORTFOLIO_PID = 'a'
27
- SUB_ELEC_ACCESS_URL = 'b'
28
- SUB_ELEC_COLLECTION_NAME = 'c'
29
- SUB_ELEC_COVERAGE = 'g'
30
-
31
- # TODO: evaluate this in context of changed boundwiths processing
32
- # a subfield code NOT used by the MARC 21 spec for 852 holdings records.
33
- # we add this subfield during preprocessing to store boundwith record IDs.
34
- SUB_BOUND_WITH_ID = 'y'
35
-
36
- # MARC enrichment originating from Alma Api
37
- # @see https://developers.exlibrisgroup.com/alma/apis/docs/bibs/R0VUIC9hbG1hd3MvdjEvYmlicy97bW1zX2lkfQ==/ Alma docs
38
- module AlmaApi
39
- TAG_PHYSICAL_INVENTORY = 'AVA'
40
- TAG_DIGITAL_INVENTORY = 'AVA'
41
- TAG_ELECTRONIC_INVENTORY = 'AVE'
42
-
43
- SUB_PHYSICAL_CALL_NUMBER = 'd'
44
- SUB_PHYSICAL_CALL_NUMBER_TYPE = 'k'
45
-
46
- SUB_HOLDING_LOCATION_CODE = 'j'
47
- end
48
- end
49
- end