From df3c8677e57c5b8532d67cd006657868199b9bec Mon Sep 17 00:00:00 2001 From: Sam Leeflang Date: Thu, 21 Nov 2024 09:10:25 +0100 Subject: [PATCH] Minor update openDS --- src/main/resources/json-schema/annotation.json | 2 +- src/main/resources/json-schema/digital-media.json | 8 -------- src/main/resources/json-schema/digital-specimen.json | 11 ++++++++++- .../json-schema/machine-annotation-service.json | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/main/resources/json-schema/annotation.json b/src/main/resources/json-schema/annotation.json index 7da9098..7ff7059 100644 --- a/src/main/resources/json-schema/annotation.json +++ b/src/main/resources/json-schema/annotation.json @@ -200,7 +200,7 @@ "required": [ "@id", "@type", - "ods:ID", + "dcterms:identifier", "rdf:type", "ods:version", "oa:motivation", diff --git a/src/main/resources/json-schema/digital-media.json b/src/main/resources/json-schema/digital-media.json index ff996bc..4d1280b 100644 --- a/src/main/resources/json-schema/digital-media.json +++ b/src/main/resources/json-schema/digital-media.json @@ -227,14 +227,6 @@ "https://creativecommons.org/licenses/by-nc-sa/4.0/" ] }, - "xmpRights:Owner": { - "type": "string", - "description": "A list of legal owners of the resource", - "examples": [ - "Unknown", - "Naturalis Biodiversity Center" - ] - }, "dcterms:available": { "type": "string", "description": "Date (often a range) that the resource became or will become available", diff --git a/src/main/resources/json-schema/digital-specimen.json b/src/main/resources/json-schema/digital-specimen.json index 32e1c16..50e6a90 100644 --- a/src/main/resources/json-schema/digital-specimen.json +++ b/src/main/resources/json-schema/digital-specimen.json @@ -140,7 +140,8 @@ "eng", "fra", "deu" - ], [ + ], + [ "dut" ] ] @@ -465,6 +466,14 @@ "$ref": "https://schemas.dissco.tech/schemas/fdo-type/digital-specimen/0.4.0/event.json" } }, + "ods:hasChronometricAges": { + "type": "array", + "description": "Contains information about the chronometric age of the specimen part", + "items": { + "type": "object", + "$ref": "https://schemas.dissco.tech/schemas/fdo-type/digital-specimen/0.4.0/chronometric-age.json" + } + }, "ods:hasTombstoneMetadata": { "type": "object", "description": "Object containing the tombstone metadata of the object. Only present when ods:status is ods:Tombstone", diff --git a/src/main/resources/json-schema/machine-annotation-service.json b/src/main/resources/json-schema/machine-annotation-service.json index d66dad3..44a675f 100644 --- a/src/main/resources/json-schema/machine-annotation-service.json +++ b/src/main/resources/json-schema/machine-annotation-service.json @@ -115,7 +115,7 @@ "Other Geodiversity", "Unclassified" ], - "$['ods:hasEvent'][*]['ods:Location']['dwc:locality']": [ + "$['ods:hasEvents'][*]['ods:hasLocation']['dwc:locality']": [ "*" ] }