Skip to content

Commit

Permalink
Correct physicalSpecimenID in Digital Media
Browse files Browse the repository at this point in the history
  • Loading branch information
samleeflang committed Jun 25, 2024
1 parent ea22798 commit 34c9943
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public record DigitalMediaWrapper(
@JsonProperty("ods:type")
String type,
@JsonProperty(PhysicalSpecimenID.TERM)
String physicalSpecimenId,
String physicalSpecimenID,
@JsonProperty("ods:attributes")
DigitalMedia attributes,
@JsonProperty("ods:originalAttributes")
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/eu/dissco/core/translator/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class TestUtils {
"ods:organisationId", INSTITUTION_ID
);
public static Map<String, String> TERM_MAPPING = Map.of(
"ods:physicalSpecimenId", "dwc:occurrenceID",
"ods:physicalSpecimenID", "dwc:occurrenceID",
"ods:specimenName", "dwc:scientificName",
"ods:physicalSpecimenCollection", "dwc:collectionID",
"ods:datasetId", "dwc:datasetID"
Expand All @@ -38,7 +38,7 @@ public class TestUtils {
{
"mapping": [
{
"ods:physicalSpecimenId": "dwc:occurrenceID"
"ods:physicalSpecimenID": "dwc:occurrenceID"
},
{
"ods:specimenName": "dwc:scientificName"
Expand Down

0 comments on commit 34c9943

Please sign in to comment.