From d3229dd83aea84084ba2424a2129c189d1372689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Tue, 31 Oct 2023 10:33:03 +0100 Subject: [PATCH] Change depiction to array (RPB-201) --- conf/output/test-output-rppd-lobid-0.json | 4 ++-- conf/output/test-output-rppd-lobid-1.json | 4 ++-- conf/output/test-output-rppd-lobid-10.json | 4 ++-- conf/output/test-output-rppd-lobid-11.json | 4 ++-- conf/output/test-output-rppd-lobid-12.json | 4 ++-- conf/output/test-output-rppd-lobid-13.json | 4 ++-- conf/output/test-output-rppd-lobid-14.json | 4 ++-- conf/output/test-output-rppd-lobid-15.json | 4 ++-- conf/output/test-output-rppd-lobid-16.json | 4 ++-- conf/output/test-output-rppd-lobid-17.json | 4 ++-- conf/output/test-output-rppd-lobid-18.json | 4 ++-- conf/output/test-output-rppd-lobid-19.json | 4 ++-- conf/output/test-output-rppd-lobid-2.json | 4 ++-- conf/output/test-output-rppd-lobid-20.json | 4 ++-- conf/output/test-output-rppd-lobid-21.json | 4 ++-- conf/output/test-output-rppd-lobid-22.json | 4 ++-- conf/output/test-output-rppd-lobid-23.json | 4 ++-- conf/output/test-output-rppd-lobid-24.json | 4 ++-- conf/output/test-output-rppd-lobid-25.json | 4 ++-- conf/output/test-output-rppd-lobid-26.json | 4 ++-- conf/output/test-output-rppd-lobid-27.json | 4 ++-- conf/output/test-output-rppd-lobid-28.json | 4 ++-- conf/output/test-output-rppd-lobid-29.json | 4 ++-- conf/output/test-output-rppd-lobid-3.json | 4 ++-- conf/output/test-output-rppd-lobid-30.json | 4 ++-- conf/output/test-output-rppd-lobid-31.json | 4 ++-- conf/output/test-output-rppd-lobid-32.json | 4 ++-- conf/output/test-output-rppd-lobid-33.json | 4 ++-- conf/output/test-output-rppd-lobid-34.json | 4 ++-- conf/output/test-output-rppd-lobid-35.json | 4 ++-- conf/output/test-output-rppd-lobid-36.json | 4 ++-- conf/output/test-output-rppd-lobid-37.json | 4 ++-- conf/output/test-output-rppd-lobid-38.json | 4 ++-- conf/output/test-output-rppd-lobid-39.json | 4 ++-- conf/output/test-output-rppd-lobid-4.json | 4 ++-- conf/output/test-output-rppd-lobid-40.json | 4 ++-- conf/output/test-output-rppd-lobid-41.json | 4 ++-- conf/output/test-output-rppd-lobid-42.json | 4 ++-- conf/output/test-output-rppd-lobid-43.json | 4 ++-- conf/output/test-output-rppd-lobid-44.json | 4 ++-- conf/output/test-output-rppd-lobid-5.json | 4 ++-- conf/output/test-output-rppd-lobid-6.json | 4 ++-- conf/output/test-output-rppd-lobid-7.json | 4 ++-- conf/output/test-output-rppd-lobid-8.json | 4 ++-- conf/output/test-output-rppd-lobid-9.json | 4 ++-- conf/rppd-to-lobid.fix | 9 +++++---- 46 files changed, 95 insertions(+), 94 deletions(-) diff --git a/conf/output/test-output-rppd-lobid-0.json b/conf/output/test-output-rppd-lobid-0.json index df311c84..482c7c65 100644 --- a/conf/output/test-output-rppd-lobid-0.json +++ b/conf/output/test-output-rppd-lobid-0.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Humperdinck, Engelbert", "variantName" : [ "Humperdink, Engelbert", "Humperdinck, E.", "Humperdinck, Engelbert" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/11855476X", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/11855476X", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/11855476X" - }, + } ], "professionOrOccupation" : [ { "label" : "Komponist", "id" : "https://rpb.lobid.org/sw/4032009n1" diff --git a/conf/output/test-output-rppd-lobid-1.json b/conf/output/test-output-rppd-lobid-1.json index 3764e4c4..00cc3b64 100644 --- a/conf/output/test-output-rppd-lobid-1.json +++ b/conf/output/test-output-rppd-lobid-1.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Cornelius, Otto", "variantName" : [ "Cornelius, Otto" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1011283956", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1011283956", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1011283956" - }, + } ], "professionOrOccupation" : [ { "label" : "Maler", "id" : "https://rpb.lobid.org/sw/4037215n7" diff --git a/conf/output/test-output-rppd-lobid-10.json b/conf/output/test-output-rppd-lobid-10.json index 962b0a16..7f0ff9ec 100644 --- a/conf/output/test-output-rppd-lobid-10.json +++ b/conf/output/test-output-rppd-lobid-10.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051147387", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Oppermann, Julius", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147387", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147387", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147387" - }, + } ], "professionOrOccupation" : [ { "label" : "Journalist", "id" : "https://rpb.lobid.org/sw/4028781n6" diff --git a/conf/output/test-output-rppd-lobid-11.json b/conf/output/test-output-rppd-lobid-11.json index 01575c41..b74ad76a 100644 --- a/conf/output/test-output-rppd-lobid-11.json +++ b/conf/output/test-output-rppd-lobid-11.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Bücker, Carl Clemens", "variantName" : [ "Bücker, Carl Clemens" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/123205670", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/123205670", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/123205670" - }, + } ], "professionOrOccupation" : [ { "label" : "Flugzeugkonstrukteur", "id" : "https://rpb.lobid.org/sw/00Sn02x0286a" diff --git a/conf/output/test-output-rppd-lobid-12.json b/conf/output/test-output-rppd-lobid-12.json index ae106902..37fa2367 100644 --- a/conf/output/test-output-rppd-lobid-12.json +++ b/conf/output/test-output-rppd-lobid-12.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Anschuez, Carl", "variantName" : [ "Anschutz, Carl / 1818-1870", "Anschütz, Karl Friedrich Nikolaus / 1818-1870" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147395", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147395", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147395" - }, + } ], "professionOrOccupation" : [ { "label" : "Komponist", "id" : "https://rpb.lobid.org/sw/4032009n1" diff --git a/conf/output/test-output-rppd-lobid-13.json b/conf/output/test-output-rppd-lobid-13.json index e8c7352b..bf0dd7b3 100644 --- a/conf/output/test-output-rppd-lobid-13.json +++ b/conf/output/test-output-rppd-lobid-13.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Anschuez, Joseph Andreas", "variantName" : [ "Anschütz, Josef Andreas", "Anschuez, Johann Andreas", "Anschuez, Josef Andreas", "Anschütz, Joseph Andreas", "Anschuetz, Johann Andreas", "Anschuez, J. A.", "Anschütz, J. A.", "Anschütz, Johann Andreas", "Anschuez, Joseph Andreas" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/118649558", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/118649558", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/118649558" - }, + } ], "professionOrOccupation" : [ { "label" : "Jurist", "id" : "https://rpb.lobid.org/sw/4029050n5" diff --git a/conf/output/test-output-rppd-lobid-14.json b/conf/output/test-output-rppd-lobid-14.json index 8efdef18..bb108357 100644 --- a/conf/output/test-output-rppd-lobid-14.json +++ b/conf/output/test-output-rppd-lobid-14.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051147409", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Giefer, Willy", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147409", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147409", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147409" - }, + } ], "professionOrOccupation" : [ { "label" : "Komponist", "id" : "https://rpb.lobid.org/sw/4032009n1" diff --git a/conf/output/test-output-rppd-lobid-15.json b/conf/output/test-output-rppd-lobid-15.json index 1c248deb..e301e25a 100644 --- a/conf/output/test-output-rppd-lobid-15.json +++ b/conf/output/test-output-rppd-lobid-15.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051147425", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Lehnen, Ewald", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147425", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147425", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147425" - }, + } ], "professionOrOccupation" : [ { "label" : "Tiefbauingenieur", "id" : "https://rpb.lobid.org/sw/00Sn02x8761a" diff --git a/conf/output/test-output-rppd-lobid-16.json b/conf/output/test-output-rppd-lobid-16.json index 97a2c3f3..7b2b4292 100644 --- a/conf/output/test-output-rppd-lobid-16.json +++ b/conf/output/test-output-rppd-lobid-16.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Meister, Simon", "variantName" : [ "Meister, Simon" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/119280957", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/119280957", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/119280957" - }, + } ], "professionOrOccupation" : [ { "label" : "Maler", "id" : "https://rpb.lobid.org/sw/4037215n7" diff --git a/conf/output/test-output-rppd-lobid-17.json b/conf/output/test-output-rppd-lobid-17.json index 3058d389..ceeb3989 100644 --- a/conf/output/test-output-rppd-lobid-17.json +++ b/conf/output/test-output-rppd-lobid-17.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Bodewig, Robert", "variantName" : [ "Bodewig, Robert / 1857-1923" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/120260948", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/120260948", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/120260948" - }, + } ], "professionOrOccupation" : [ { "label" : "Klassischer Philologe", "id" : "https://rpb.lobid.org/sw/4199241n6" diff --git a/conf/output/test-output-rppd-lobid-18.json b/conf/output/test-output-rppd-lobid-18.json index a6bcff50..46dce59d 100644 --- a/conf/output/test-output-rppd-lobid-18.json +++ b/conf/output/test-output-rppd-lobid-18.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Altgeld, Johann Philipp", "variantName" : [ "Altgelt, Johann Philipp" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147433", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147433", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147433" - }, + } ], "professionOrOccupation" : [ { "label" : "Pfarrer / Katholische Kirche", "id" : "https://rpb.lobid.org/sw/929n170632" diff --git a/conf/output/test-output-rppd-lobid-19.json b/conf/output/test-output-rppd-lobid-19.json index b0638549..8449a034 100644 --- a/conf/output/test-output-rppd-lobid-19.json +++ b/conf/output/test-output-rppd-lobid-19.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zenz, Emil", "variantName" : [ "Zenz, Emil" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/11698211X", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/11698211X", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/11698211X" - }, + } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://rpb.lobid.org/sw/4035088n5" diff --git a/conf/output/test-output-rppd-lobid-2.json b/conf/output/test-output-rppd-lobid-2.json index 2b4fd82c..f1eb3577 100644 --- a/conf/output/test-output-rppd-lobid-2.json +++ b/conf/output/test-output-rppd-lobid-2.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051147352", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Daub, Richard", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147352", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147352", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147352" - }, + } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://rpb.lobid.org/sw/4035088n5" diff --git a/conf/output/test-output-rppd-lobid-20.json b/conf/output/test-output-rppd-lobid-20.json index d1fb92b9..c4e5b880 100644 --- a/conf/output/test-output-rppd-lobid-20.json +++ b/conf/output/test-output-rppd-lobid-20.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zenzen, Wilhelm", "variantName" : [ "Zenzen, Eucharius ¬[Ordensname]¬" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121548X", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121548X", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121548X" - }, + } ], "dateOfBirth" : [ "1903-10-17" ], "dateOfDeath" : [ "1963-04-16" ], "gender" : [ { diff --git a/conf/output/test-output-rppd-lobid-21.json b/conf/output/test-output-rppd-lobid-21.json index 30f1121b..f371352c 100644 --- a/conf/output/test-output-rppd-lobid-21.json +++ b/conf/output/test-output-rppd-lobid-21.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051215498", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zettelmeyer, Hubert", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215498", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215498", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215498" - }, + } ], "professionOrOccupation" : [ { "label" : "Unternehmer", "id" : "https://rpb.lobid.org/sw/4061949n7" diff --git a/conf/output/test-output-rppd-lobid-22.json b/conf/output/test-output-rppd-lobid-22.json index 085c6b42..b118dd05 100644 --- a/conf/output/test-output-rppd-lobid-22.json +++ b/conf/output/test-output-rppd-lobid-22.json @@ -4,11 +4,11 @@ "gndIdentifier" : "105121551X", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Ziegler, Jakob Anton", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121551X", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121551X", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121551X" - }, + } ], "professionOrOccupation" : [ { "label" : "Pfarrer / Katholische Kirche", "id" : "https://rpb.lobid.org/sw/929n170632" diff --git a/conf/output/test-output-rppd-lobid-23.json b/conf/output/test-output-rppd-lobid-23.json index 5b5a281b..4e0b2af5 100644 --- a/conf/output/test-output-rppd-lobid-23.json +++ b/conf/output/test-output-rppd-lobid-23.json @@ -4,11 +4,11 @@ "gndIdentifier" : "126790086", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zill, Egon", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/126790086", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/126790086", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/126790086" - }, + } ], "professionOrOccupation" : [ { "label" : "Bäcker", "id" : "https://rpb.lobid.org/sw/4120966n7" diff --git a/conf/output/test-output-rppd-lobid-24.json b/conf/output/test-output-rppd-lobid-24.json index a375d321..018ce54e 100644 --- a/conf/output/test-output-rppd-lobid-24.json +++ b/conf/output/test-output-rppd-lobid-24.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051215528", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zillgen, Friedrich Josef", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215528", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215528", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215528" - }, + } ], "professionOrOccupation" : [ { "label" : "Polizeibeamter", "id" : "https://rpb.lobid.org/sw/4135253n1" diff --git a/conf/output/test-output-rppd-lobid-25.json b/conf/output/test-output-rppd-lobid-25.json index b389dde5..94edef1e 100644 --- a/conf/output/test-output-rppd-lobid-25.json +++ b/conf/output/test-output-rppd-lobid-25.json @@ -4,11 +4,11 @@ "gndIdentifier" : "137243324", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zillig, Hermann", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/137243324", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/137243324", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/137243324" - }, + } ], "professionOrOccupation" : [ { "label" : "Oberregierungsrat", "id" : "https://rpb.lobid.org/sw/4398834n9" diff --git a/conf/output/test-output-rppd-lobid-26.json b/conf/output/test-output-rppd-lobid-26.json index dab65688..1f9d3dd7 100644 --- a/conf/output/test-output-rppd-lobid-26.json +++ b/conf/output/test-output-rppd-lobid-26.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zilliken, Kaspar Josef", "variantName" : [ "Zilliken, Kaspar Joseph", "Zilliken, Joseph" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215536", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215536", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215536" - }, + } ], "professionOrOccupation" : [ { "label" : "Dekan / Kirche", "id" : "https://rpb.lobid.org/sw/4441540n0" diff --git a/conf/output/test-output-rppd-lobid-27.json b/conf/output/test-output-rppd-lobid-27.json index 3e5f2ac4..84fc9a24 100644 --- a/conf/output/test-output-rppd-lobid-27.json +++ b/conf/output/test-output-rppd-lobid-27.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051215544", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zimmer, Franz Nikolaus", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215544", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215544", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215544" - }, + } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://rpb.lobid.org/sw/4035088n5" diff --git a/conf/output/test-output-rppd-lobid-28.json b/conf/output/test-output-rppd-lobid-28.json index ae7a8426..dce449d7 100644 --- a/conf/output/test-output-rppd-lobid-28.json +++ b/conf/output/test-output-rppd-lobid-28.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zimmer, Josef", "variantName" : [ "Zimmer, Jupp" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051217350", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051217350", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051217350" - }, + } ], "professionOrOccupation" : [ { "label" : "Maler", "id" : "https://rpb.lobid.org/sw/4037215n7" diff --git a/conf/output/test-output-rppd-lobid-29.json b/conf/output/test-output-rppd-lobid-29.json index 1960dc1a..a1d870ca 100644 --- a/conf/output/test-output-rppd-lobid-29.json +++ b/conf/output/test-output-rppd-lobid-29.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051215552", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zimmer, Michael Kunibert", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215552", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215552", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215552" - }, + } ], "professionOrOccupation" : [ { "label" : "Landwirt", "id" : "https://rpb.lobid.org/sw/4034399n6" diff --git a/conf/output/test-output-rppd-lobid-3.json b/conf/output/test-output-rppd-lobid-3.json index ce7a74df..8174dfa0 100644 --- a/conf/output/test-output-rppd-lobid-3.json +++ b/conf/output/test-output-rppd-lobid-3.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Billaudelle, Karl", "variantName" : [ "Billaudelle, Karl" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/13334066X", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/13334066X", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/13334066X" - }, + } ], "professionOrOccupation" : [ { "label" : "Gymnasiallehrer", "id" : "https://rpb.lobid.org/sw/4158589n6" diff --git a/conf/output/test-output-rppd-lobid-30.json b/conf/output/test-output-rppd-lobid-30.json index 9758be20..f1a7e2b7 100644 --- a/conf/output/test-output-rppd-lobid-30.json +++ b/conf/output/test-output-rppd-lobid-30.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051215579", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zimmermann, Konstantin", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215579", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215579", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215579" - }, + } ], "professionOrOccupation" : [ { "label" : "Musikdirektor", "id" : "https://rpb.lobid.org/sw/7628980n1" diff --git a/conf/output/test-output-rppd-lobid-31.json b/conf/output/test-output-rppd-lobid-31.json index 19ddc5c8..d942f7dd 100644 --- a/conf/output/test-output-rppd-lobid-31.json +++ b/conf/output/test-output-rppd-lobid-31.json @@ -4,11 +4,11 @@ "gndIdentifier" : "117006084", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zirbes, Peter", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/117006084", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/117006084", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/117006084" - }, + } ], "professionOrOccupation" : [ { "label" : "Lyriker", "id" : "https://rpb.lobid.org/sw/4168391n2" diff --git a/conf/output/test-output-rppd-lobid-32.json b/conf/output/test-output-rppd-lobid-32.json index e420e8c9..7109a081 100644 --- a/conf/output/test-output-rppd-lobid-32.json +++ b/conf/output/test-output-rppd-lobid-32.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zuckermandel, Moses S.", "variantName" : [ "Zuckermandel, Moses Samuel / 1836-1917" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/117021652", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/117021652", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/117021652" - }, + } ], "professionOrOccupation" : [ { "label" : "Rabbiner", "id" : "https://rpb.lobid.org/sw/4176751n2" diff --git a/conf/output/test-output-rppd-lobid-33.json b/conf/output/test-output-rppd-lobid-33.json index 80faa657..350c907d 100644 --- a/conf/output/test-output-rppd-lobid-33.json +++ b/conf/output/test-output-rppd-lobid-33.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051215587", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Züscher, Peter", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215587", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215587", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215587" - }, + } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://rpb.lobid.org/sw/4035088n5" diff --git a/conf/output/test-output-rppd-lobid-34.json b/conf/output/test-output-rppd-lobid-34.json index 800006ec..7c2e552c 100644 --- a/conf/output/test-output-rppd-lobid-34.json +++ b/conf/output/test-output-rppd-lobid-34.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051215595", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zunker, Wilhelm", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215595", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215595", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215595" - }, + } ], "professionOrOccupation" : [ { "label" : "Verwaltungsfachangestellter", "id" : "https://rpb.lobid.org/sw/4063330n5" diff --git a/conf/output/test-output-rppd-lobid-35.json b/conf/output/test-output-rppd-lobid-35.json index 9533f911..0f932830 100644 --- a/conf/output/test-output-rppd-lobid-35.json +++ b/conf/output/test-output-rppd-lobid-35.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051215609", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zweiffel, Karl Hermann", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215609", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215609", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215609" - }, + } ], "professionOrOccupation" : [ { "label" : "Richter", "id" : "https://rpb.lobid.org/sw/4049923n6" diff --git a/conf/output/test-output-rppd-lobid-36.json b/conf/output/test-output-rppd-lobid-36.json index d345977d..7da8c282 100644 --- a/conf/output/test-output-rppd-lobid-36.json +++ b/conf/output/test-output-rppd-lobid-36.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1028922108", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Heinen, Norbert M.", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1028922108", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1028922108", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1028922108" - }, + } ], "professionOrOccupation" : [ { "label" : "Jurist", "id" : "https://rpb.lobid.org/sw/4029050n5" diff --git a/conf/output/test-output-rppd-lobid-37.json b/conf/output/test-output-rppd-lobid-37.json index c1aab472..c4878d97 100644 --- a/conf/output/test-output-rppd-lobid-37.json +++ b/conf/output/test-output-rppd-lobid-37.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Dönges, Klaus", "variantName" : [ "Dönges, Klaus", "Dönges, Klaus / 1935-" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1027971725", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1027971725", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1027971725" - }, + } ], "professionOrOccupation" : [ { "label" : "Journalist", "id" : "https://rpb.lobid.org/sw/4028781n6" diff --git a/conf/output/test-output-rppd-lobid-38.json b/conf/output/test-output-rppd-lobid-38.json index 5c871cbf..e5e1d3c2 100644 --- a/conf/output/test-output-rppd-lobid-38.json +++ b/conf/output/test-output-rppd-lobid-38.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Weinkauff, Franz", "variantName" : [ "Weinkauff, Franciscus / 1823-1892", "Weinkauff, Franz / 1823-1892", "Weinkauff, Franz / 1824-1892" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/117269476", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/117269476", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/117269476" - }, + } ], "professionOrOccupation" : [ { "label" : "Gymnasiallehrer", "id" : "https://rpb.lobid.org/sw/4158589n6" diff --git a/conf/output/test-output-rppd-lobid-39.json b/conf/output/test-output-rppd-lobid-39.json index 64b71143..232a1a8f 100644 --- a/conf/output/test-output-rppd-lobid-39.json +++ b/conf/output/test-output-rppd-lobid-39.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Schneider, Anton", "variantName" : [ "Schneider, Anton / Bürgermeister" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/143451308", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/143451308", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/143451308" - }, + } ], "professionOrOccupation" : [ { "label" : "Bürgermeister", "id" : "https://rpb.lobid.org/sw/4136676n1" diff --git a/conf/output/test-output-rppd-lobid-4.json b/conf/output/test-output-rppd-lobid-4.json index 991750ed..93332493 100644 --- a/conf/output/test-output-rppd-lobid-4.json +++ b/conf/output/test-output-rppd-lobid-4.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Grün, Willi H.", "variantName" : [ "Grün, Willi-Heinz / 1932-2016", "Grün, Willi Heinz / 1932-2016", "Grün, Willi H. / 1932-2016" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/120526433", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/120526433", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/120526433" - }, + } ], "professionOrOccupation" : [ { "label" : "Finanzwirt", "id" : "https://rpb.lobid.org/sw/1148297561" diff --git a/conf/output/test-output-rppd-lobid-40.json b/conf/output/test-output-rppd-lobid-40.json index df9b7e42..1a88a4ff 100644 --- a/conf/output/test-output-rppd-lobid-40.json +++ b/conf/output/test-output-rppd-lobid-40.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1120816653", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Herr-Beck, Maria", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1120816653", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1120816653", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1120816653" - }, + } ], "professionOrOccupation" : [ { "label" : "Weibliche Abgeordnete", "id" : "https://rpb.lobid.org/sw/4132700n7" diff --git a/conf/output/test-output-rppd-lobid-41.json b/conf/output/test-output-rppd-lobid-41.json index c548d729..9ced8dc3 100644 --- a/conf/output/test-output-rppd-lobid-41.json +++ b/conf/output/test-output-rppd-lobid-41.json @@ -4,11 +4,11 @@ "gndIdentifier" : "Keine GND-Ansetzung für pk02366", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Fuchs, Gerhard", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk02366", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk02366", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk02366" - }, + } ], "professionOrOccupation" : [ { "label" : "Beigeordneter", "id" : "https://rpb.lobid.org/sw/4144367n6" diff --git a/conf/output/test-output-rppd-lobid-42.json b/conf/output/test-output-rppd-lobid-42.json index 77256069..b03cfd09 100644 --- a/conf/output/test-output-rppd-lobid-42.json +++ b/conf/output/test-output-rppd-lobid-42.json @@ -4,11 +4,11 @@ "gndIdentifier" : "Keine GND-Ansetzung für pk03654", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Ratka, Alexander Simon", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk03654", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk03654", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk03654" - }, + } ], "professionOrOccupation" : [ { "label" : "Bildhauer", "id" : "https://rpb.lobid.org/sw/4139550n5" diff --git a/conf/output/test-output-rppd-lobid-43.json b/conf/output/test-output-rppd-lobid-43.json index 3da6697d..9691395e 100644 --- a/conf/output/test-output-rppd-lobid-43.json +++ b/conf/output/test-output-rppd-lobid-43.json @@ -4,11 +4,11 @@ "gndIdentifier" : "235711-2", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Imo", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/235711-2", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/235711-2", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/235711-2" - }, + } ], "gender" : [ { "id" : "https://d-nb.info/standards/vocab/gnd/gender#male", "label" : "Männlich" diff --git a/conf/output/test-output-rppd-lobid-44.json b/conf/output/test-output-rppd-lobid-44.json index 7ee48f9f..f504f3d4 100644 --- a/conf/output/test-output-rppd-lobid-44.json +++ b/conf/output/test-output-rppd-lobid-44.json @@ -4,11 +4,11 @@ "gndIdentifier" : "Keine GND-Ansetzung für pk06675", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Alexander, Philipp", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk06675", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk06675", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk06675" - }, + } ], "professionOrOccupation" : [ { "label" : "Unternehmer", "id" : "https://rpb.lobid.org/sw/4061949n7" diff --git a/conf/output/test-output-rppd-lobid-5.json b/conf/output/test-output-rppd-lobid-5.json index 62c55c30..89f2e2d6 100644 --- a/conf/output/test-output-rppd-lobid-5.json +++ b/conf/output/test-output-rppd-lobid-5.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051147360", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Marquard, Udo", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147360", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147360", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147360" - }, + } ], "professionOrOccupation" : [ { "label" : "Philosoph", "id" : "https://rpb.lobid.org/sw/4045790n4" diff --git a/conf/output/test-output-rppd-lobid-6.json b/conf/output/test-output-rppd-lobid-6.json index 6810556b..82be1275 100644 --- a/conf/output/test-output-rppd-lobid-6.json +++ b/conf/output/test-output-rppd-lobid-6.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Gabele, Anton", "variantName" : [ "Gabele, Anton" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/116324899", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/116324899", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/116324899" - }, + } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://rpb.lobid.org/sw/4035088n5" diff --git a/conf/output/test-output-rppd-lobid-7.json b/conf/output/test-output-rppd-lobid-7.json index 1c65a847..946f46be 100644 --- a/conf/output/test-output-rppd-lobid-7.json +++ b/conf/output/test-output-rppd-lobid-7.json @@ -4,11 +4,11 @@ "gndIdentifier" : "1051147379", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Henninger, Wilhelm Albert", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147379", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147379", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147379" - }, + } ], "professionOrOccupation" : [ { "label" : "Heimatschriftsteller", "id" : "https://rpb.lobid.org/sw/4772761n5" diff --git a/conf/output/test-output-rppd-lobid-8.json b/conf/output/test-output-rppd-lobid-8.json index f28d7d9d..25e43cc4 100644 --- a/conf/output/test-output-rppd-lobid-8.json +++ b/conf/output/test-output-rppd-lobid-8.json @@ -4,11 +4,11 @@ "gndIdentifier" : "115839909", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Anhäuser, Uwe", - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/115839909", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/115839909", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/115839909" - }, + } ], "professionOrOccupation" : [ { "label" : "Schriftsteller", "id" : "https://rpb.lobid.org/sw/4053309n8" diff --git a/conf/output/test-output-rppd-lobid-9.json b/conf/output/test-output-rppd-lobid-9.json index c63fb988..a35f124b 100644 --- a/conf/output/test-output-rppd-lobid-9.json +++ b/conf/output/test-output-rppd-lobid-9.json @@ -5,11 +5,11 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Reinirkens, Leonhard", "variantName" : [ "Reinirkens, Leonhard" ], - "depiction" : { + "depiction" : [ { "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/122507487", "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/122507487", "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/122507487" - }, + } ], "professionOrOccupation" : [ { "label" : "Schriftsteller", "id" : "https://rpb.lobid.org/sw/4053309n8" diff --git a/conf/rppd-to-lobid.fix b/conf/rppd-to-lobid.fix index 776ed6b7..62a48fb3 100644 --- a/conf/rppd-to-lobid.fix +++ b/conf/rppd-to-lobid.fix @@ -50,9 +50,10 @@ uniq("variantName[]") copy_field("gndIdentifier","@depiction") prepend("@depiction","https://pictureservice.explore.gnd.network/api/v1/picture/") -copy_field("@depiction","depiction.id") -copy_field("@depiction","depiction.url") -copy_field("@depiction","depiction.thumbnail") +set_array("depiction[]") +copy_field("@depiction","depiction[].$append.id") +copy_field("@depiction","depiction[].$last.url") +copy_field("@depiction","depiction[].$last.thumbnail") # ------- # #1nn (Berufe/Stellungen (m, R)) -> professionOrOccupation @@ -171,7 +172,7 @@ retain( "variantName[]", "dateOfBirth[]", "dateOfDeath[]", - "depiction", + "depiction[]", "gndIdentifier", "describedBy", "gender[]",