From 086824dc2651ccea389a83b8c5f91aa469c439c5 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Wed, 29 Nov 2017 10:57:32 -0500 Subject: [PATCH] note that we know "affliation" throws a warning #3700 --- src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java b/src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java index 4865079430c..6b1936984ad 100644 --- a/src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java +++ b/src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java @@ -1244,6 +1244,9 @@ public String getJsonLd() { // We are aware of "givenName" and "familyName" but instead of a person it might be an organization such as "Gallup Organization". //author.add("@type", "Person"); author.add("name", name); + // We are aware that the following error is thrown by https://search.google.com/structured-data/testing-tool + // "The property affiliation is not recognized by Google for an object of type Thing." + // Someone at Google has said this is ok. if (!StringUtil.isEmpty(affiliation)) { author.add("affiliation", affiliation); }