Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

this is where the MARC record lives - aka Source Record Storage

it will be necessary to create these records for all of the titles that have been moved from Unicorn, are yet to be moved from Louisa, and any that are added via Walter

questions:

  • can the records.id, aka matchedId, be looked up for a given instanceId when it comes time to overlay one of these records or would it be a good idea to put the records.id somewhere in the instance?
  • am I going to get into trouble for using the same snapshotId in all of the records that I have to create since I'm going to be POSTING them to /source-storage/records = an end-run on the Data Import app 

note that...

  • the snapshotId is actually the relevant jobExecutionId 
  • the instances.id is near the bottom in the field named externalIdsHolder - unfortunately it would appear that this field is not searchable and so it will be necessary to collect the records.id immediately after POSTing and stow it along with the corresponding instances.id in a MySQL db table in order to be able to overlay those records later (sad)
  • both the records.id and instances.id are included in a 999 that wasn't in the original MARC and isn't in the records.rawRecord.content field

here is an example of such a "record" which is actually a MARC record, and its parsed equivalent, inside a JSON document

{

  "id": "94c092c0-451f-462f-bbf9-06c3fc6971a5",
  "snapshotId": "1db8d0d0-c19c-4d85-91a6-0ab2ee39f1c9",
  "matchedId": "94c092c0-451f-462f-bbf9-06c3fc6971a5",
  "generation": 0,
  "recordType": "MARC",
  "rawRecord": {
    "id": "94c092c0-451f-462f-bbf9-06c3fc6971a5",
    "content": "02590cam a2200421Ia 4500001001200000003000600012005001700018008004100035010001600076035002000092040007500112035001900187050001000206082001500216049000900231130004100240245025200281246005600533260010800589300011000697336002600807337002800833338002700861500024600888500028001134500007001414500015301484500012801637500006501765510001801830510001501848700005901863700005301922710003801975710004702013994001202060999009602072\u001eocm07919747\u001eOCoLC\u001e20151117043859.0\u001e811110s1611 enkabj 000 0 eng d\u001e \u001fa 01001461\u001e \u001fa(Sirsi) a900956\u001e \u001faPLF\u001fbeng\u001fcPLF\u001fdTYC\u001fdOCLCQ\u001fdOCLCG\u001fdSTF\u001fdLGG\u001fdOCLCQ\u001fdOCLCA\u001fdOCLCQ\u001fdOCLCO\u001e \u001fa(OCoLC)7919747\u001e 0\u001faBS185\u001e04\u001fa220\u001fbE1611\u001e \u001faDRUM\u001e0 \u001faBible.\u001flEnglish.\u001fsAuthorized.\u001ff1611.\u001e14\u001faThe Holy Bible :\u001fbconteyning the Old Testament, and the New : newly translated out of the originall tongues : & with the former translations diligently compared and reuised, by His Maiesties speciall comandement : appointed to be read in churches.\u001e3 \u001faNewe Testament of our Lord and Sauiour Iesus Christ\u001e \u001faImprinted at London :\u001fbBy Robert Barker, printer to the Kings most Excellent Maiestie,\u001fcAnno Dom. 1611.\u001e \u001fa[19] leaves, 34 pages, [714] leaves :\u001fbillustrations (woodcuts), genealogical tables, map ;\u001fc44 cm (fol.)\u001e \u001fatext\u001fbtxt\u001f2rdacontent\u001e \u001faunmediated\u001fbn\u001f2rdamedia\u001e \u001favolume\u001fbnc\u001f2rdacarrier\u001e \u001faNew Testament has special t.p.: The Newe Testament of our Lord and Sauior Iesus Christ : newly translated out of the originall Greeke : and with the former translations diligently compared and reuised, by His Maiesties speciall commandement.\u001e \u001faThe first issue of the first edition of the Authorized version or King James Bible, sometimes called the \"Great He Bible\". (Ruth 3:15: \"he went into the citie.\") In the second issue of 1611, called the \"She Bible,\" and in following editions, this passage reads \"she went ...\"\u001e \u001faDrew has the first edition, first issue, known as the \"He\" Bible.\u001e \u001fa\"The editors who passed the book through the press were Miles Smith ... and Thomas Bilson ...\"--Brit. and for. Bible soc., Hist. cat., v. 1, p. 134.\u001e \u001faPrinted in double columns within rules; alamanac printed in red and black; marginal notes; initials; head- and tail-pieces.\u001e \u001faDrew copy wanting Title Page and several pages of genealogy.\u001e4 \u001faHerbert,\u001fc309\u001e4 \u001faSTC,\u001fc2216\u001e1 \u001faSmith, Miles,\u001fcBp. of Gloucester,\u001fd-1624,\u001feeditor\u001f4edt\u001e1 \u001faBilson, Thomas,\u001fd1546 or 1547-1616\u001feeditor.\u001f4edt\u001e2 \u001faJohn McClintock Collection.\u001f5NjMD\u001e2 \u001faJulia E. Baker Rare Book Collection.\u001f5NjMD\u001e \u001faC0\u001fbDRU\u001e \u001faBS185 1611\u001fwLC\u001fc1\u001fi31144006652449\u001flRAREBOOKS\u001fmDREWLIB\u001fp$75.00\u001frN\u001fsY\u001ftSC-BIGBK-H\u001fu11/17/2015\u001e\u001d"
  },
  "parsedRecord": {
    "id": "94c092c0-451f-462f-bbf9-06c3fc6971a5",
    "content": {
      "leader": "02711cam a2200445Ia 4500",
      "fields": [
        {
          "001": "in00000502885"
        },
        {
          "003": "OCoLC"
        },
        {
          "005": "20151117043859.0"
        },
        {
          "008": "811110s1611 enkabj 000 0 eng d"
        },
        {
          "010": {
            "subfields": [
              {
                "a": " 01001461"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "035": {
            "subfields": [
              {
                "a": "(OCoLC)7919747"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "035": {
            "subfields": [
              {
                "a": "(Sirsi) a900956"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "035": {
            "subfields": [
              {
                "a": "ocm07919747"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "040": {
            "subfields": [
              {
                "a": "PLF"
              },
              {
                "b": "eng"
              },
              {
                "c": "PLF"
              },
              {
                "d": "TYC"
              },
              {
                "d": "OCLCQ"
              },
              {
                "d": "OCLCG"
              },
              {
                "d": "STF"
              },
              {
                "d": "LGG"
              },
              {
                "d": "OCLCQ"
              },
              {
                "d": "OCLCA"
              },
              {
                "d": "OCLCQ"
              },
              {
                "d": "OCLCO"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "049": {
            "subfields": [
              {
                "a": "DRUM"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "050": {
            "subfields": [
              {
                "a": "BS185"
              }
            ],
            "ind1": " ",
            "ind2": "0"
          }
        },
        {
          "082": {
            "subfields": [
              {
                "a": "220"
              },
              {
                "b": "E1611"
              }
            ],
            "ind1": "0",
            "ind2": "4"
          }
        },
        {
          "130": {
            "subfields": [
              {
                "a": "Bible."
              },
              {
                "l": "English."
              },
              {
                "s": "Authorized."
              },
              {
                "f": "1611."
              }
            ],
            "ind1": "0",
            "ind2": " "
          }
        },
        {
          "245": {
            "subfields": [
              {
                "a": "The Holy Bible :"
              },
              {
                "b": "conteyning the Old Testament, and the New : newly translated out of the originall tongues : & with the former translations diligently compared and reuised, by His Maiesties speciall comandement : appointed to be read in churches."
              }
            ],
            "ind1": "1",
            "ind2": "4"
          }
        },
        {
          "246": {
            "subfields": [
              {
                "a": "Newe Testament of our Lord and Sauiour Iesus Christ"
              }
            ],
            "ind1": "3",
            "ind2": " "
          }
        },
        {
          "260": {
            "subfields": [
              {
                "a": "Imprinted at London :"
              },
              {
                "b": "By Robert Barker, printer to the Kings most Excellent Maiestie,"
              },
              {
                "c": "Anno Dom. 1611."
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "300": {
            "subfields": [
              {
                "a": "[19] leaves, 34 pages, [714] leaves :"
              },
              {
                "b": "illustrations (woodcuts), genealogical tables, map ;"
              },
              {
                "c": "44 cm (fol.)"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "336": {
            "subfields": [
              {
                "a": "text"
              },
              {
                "b": "txt"
              },
              {
                "2": "rdacontent"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "337": {
            "subfields": [
              {
                "a": "unmediated"
              },
              {
                "b": "n"
              },
              {
                "2": "rdamedia"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "338": {
            "subfields": [
              {
                "a": "volume"
              },
              {
                "b": "nc"
              },
              {
                "2": "rdacarrier"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "500": {
            "subfields": [
              {
                "a": "\"The editors who passed the book through the press were Miles Smith ... and Thomas Bilson ...\"--Brit. and for. Bible soc., Hist. cat., v. 1, p. 134."
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "500": {
            "subfields": [
              {
                "a": "Drew copy wanting Title Page and several pages of genealogy."
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "500": {
            "subfields": [
              {
                "a": "Drew has the first edition, first issue, known as the \"He\" Bible."
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "500": {
            "subfields": [
              {
                "a": "New Testament has special t.p.: The Newe Testament of our Lord and Sauior Iesus Christ : newly translated out of the originall Greeke : and with the former translations diligently compared and reuised, by His Maiesties speciall commandement."
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "500": {
            "subfields": [
              {
                "a": "Printed in double columns within rules; alamanac printed in red and black; marginal notes; initials; head- and tail-pieces."
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "500": {
            "subfields": [
              {
                "a": "The first issue of the first edition of the Authorized version or King James Bible, sometimes called the \"Great He Bible\". (Ruth 3:15: \"he went into the citie.\") In the second issue of 1611, called the \"She Bible,\" and in following editions, this passage reads \"she went ...\""
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "510": {
            "subfields": [
              {
                "a": "Herbert,"
              },
              {
                "c": "309"
              }
            ],
            "ind1": "4",
            "ind2": " "
          }
        },
        {
          "510": {
            "subfields": [
              {
                "a": "STC,"
              },
              {
                "c": "2216"
              }
            ],
            "ind1": "4",
            "ind2": " "
          }
        },
        {
          "700": {
            "subfields": [
              {
                "a": "Bilson, Thomas,"
              },
              {
                "d": "1546 or 1547-1616"
              },
              {
                "e": "editor."
              },
              {
                "4": "edt"
              }
            ],
            "ind1": "1",
            "ind2": " "
          }
        },
        {
          "700": {
            "subfields": [
              {
                "a": "Smith, Miles,"
              },
              {
                "c": "Bp. of Gloucester,"
              },
              {
                "d": "-1624,"
              },
              {
                "e": "editor"
              },
              {
                "4": "edt"
              }
            ],
            "ind1": "1",
            "ind2": " "
          }
        },
        {
          "710": {
            "subfields": [
              {
                "a": "John McClintock Collection."
              },
              {
                "5": "NjMD"
              }
            ],
            "ind1": "2",
            "ind2": " "
          }
        },
        {
          "710": {
            "subfields": [
              {
                "a": "Julia E. Baker Rare Book Collection."
              },
              {
                "5": "NjMD"
              }
            ],
            "ind1": "2",
            "ind2": " "
          }
        },
        {
          "994": {
            "subfields": [
              {
                "a": "C0"
              },
              {
                "b": "DRU"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "999": {
            "subfields": [
              {
                "a": "BS185 1611"
              },
              {
                "w": "LC"
              },
              {
                "c": "1"
              },
              {
                "i": "31144006652449"
              },
              {
                "l": "RAREBOOKS"
              },
              {
                "m": "DREWLIB"
              },
              {
                "p": "$75.00"
              },
              {
                "r": "N"
              },
              {
                "s": "Y"
              },
              {
                "t": "SC-BIGBK-H"
              },
              {
                "u": "11/17/2015"
              }
            ],
            "ind1": " ",
            "ind2": " "
          }
        },
        {
          "999": {
            "subfields": [
              {
                "s": "94c092c0-451f-462f-bbf9-06c3fc6971a5"
              },
              {
                "i": "caa948de-911d-4bff-886a-fece3198f680"
              }
            ],
            "ind1": "f",
            "ind2": "f"
          }
        }
      ]
    }
  },
  "deleted": false,
  "order": 0,
  "externalIdsHolder": {
    "instanceId": "caa948de-911d-4bff-886a-fece3198f680"
  },
  "additionalInfo": {
    "suppressDiscovery": false
  },
  "state": "ACTUAL",
  "leaderRecordStatus": "c",
  "metadata": {
    "createdDate": "2020-11-10T21:53:13.789+0000",
    "createdByUserId": "308a01e4-1108-4ea3-aa25-8b1b32cf7643",
    "updatedDate": "2020-11-10T21:53:13.790+0000",
    "updatedByUserId": "308a01e4-1108-4ea3-aa25-8b1b32cf7643"
  }
}