hbz / lobid-resources

Transformation, web frontend, and API for the hbz catalog as LOD
http://lobid.org/resources
Eclipse Public License 2.0
8 stars 7 forks source link

seeAlso at different levels: once as array of strings and once as array of objects #1995

Closed TobiasNx closed 6 months ago

TobiasNx commented 6 months ago

See: http://lobid.org/resources/990219911120206441.json

seeAlso => array of Objects, (I cannot find an example)

"seeAlso": [
    {
      "label": "Zusammenfassung",
      "id": "http://hss-opus.ub.ruhr-uni-bochum.de/scans/NowackNikola/Zusammenfassung.pdf"
    }
  ]

hasItem.seeAlso => array of strings:

  "hasItem" : [ {
    "type" : [ "Item", "DigitalDocument" ],
    "label" : "Electronic Portfolio",
    "electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_WUP/openurl?u.ignore_date_coverage=true&portfolio_pid=53158240510006447&Force_direct=true",
    "sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_WUP/openurl?u.ignore_date_coverage=true&rft.mms_id=9915971105106447",
    "heldBy" : {
      "isil" : "DE-468",
      "id" : "http://lobid.org/organisations/DE-468#!",
      "label" : "Universitätsbibliothek Wuppertal"
    },
    "seeAlso" : [ "https://ub-wuppertal.digibib.net/search/katalog/record/(DE-600)2598795-1" ],
    "id" : "http://lobid.org/items/99370678063606441:DE-468:53158240510006447#!"
  },

I am not sure if this is problematic.

acka47 commented 6 months ago

As these are in different positions of the JSON document (seeAlso vs. hasItem.seeAlso) this must not be problematic as long as the values are consistent at each position.

TobiasNx commented 6 months ago

then closing