From 147dd7a190a151b23067a02a01c1f36e9d37e94e Mon Sep 17 00:00:00 2001 From: Sam Leeflang Date: Fri, 7 Jun 2024 14:37:48 +0200 Subject: [PATCH] Fix refs --- .../schema/digital-entity.json | 10 +++++----- .../schema/digital-specimen.json | 20 +++++++++---------- .../0.3.0/digital-specimens/schema/event.json | 6 +++--- .../schema/identification.json | 6 +++--- .../digital-specimens/schema/location.json | 2 +- .../schema/material-entity.json | 16 +++++++-------- .../0.3.0/shared-models/schema/agent.json | 2 +- 7 files changed, 30 insertions(+), 32 deletions(-) diff --git a/data-model/fdo-types/0.3.0/digital-media-objects/schema/digital-entity.json b/data-model/fdo-types/0.3.0/digital-media-objects/schema/digital-entity.json index c849682..efd0c4d 100644 --- a/data-model/fdo-types/0.3.0/digital-media-objects/schema/digital-entity.json +++ b/data-model/fdo-types/0.3.0/digital-media-objects/schema/digital-entity.json @@ -130,35 +130,35 @@ "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/assertion.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/assertion.json" } }, "ods:hasCitation": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/citation.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/citation.json" } }, "ods:hasIdentifier": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/identifier.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/identifier.json" } }, "ods:hasEntityRelationship": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/entity-relationship.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/entity-relationship.json" } }, "ods:hasAgent": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/agent.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/agent.json" } } }, diff --git a/data-model/fdo-types/0.3.0/digital-specimens/schema/digital-specimen.json b/data-model/fdo-types/0.3.0/digital-specimens/schema/digital-specimen.json index 6e5df7e..bf8645c 100644 --- a/data-model/fdo-types/0.3.0/digital-specimens/schema/digital-specimen.json +++ b/data-model/fdo-types/0.3.0/digital-specimens/schema/digital-specimen.json @@ -341,65 +341,63 @@ "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/material-entity.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/material-entity.json" } }, "ods:hasIdentification": { "type": "array", "items": { "type": "object", - "description": "https://rs.tdwg.org/dwc/terms/Identification", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/identification.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/identification.json" } }, "ods:hasAssertion": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/assertion.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/assertion.json" } }, "ods:hasEvent": { "type": "array", "items": { "type": "object", - "description": "https://rs.tdwg.org/dwc/terms/Event", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/event.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/event.json" } }, "ods:hasEntityRelationship": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/entity-relationship.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/entity-relationship.json" } }, "ods:hasCitation": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/citation.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/citation.json" } }, "ods:hasIdentifier": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/identifier.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/identifier.json" } }, "ods:hasChronometricAge": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/chronometric-age.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/chronometric-age.json" } }, "ods:hasAgent": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/agent.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/agent.json" } } }, diff --git a/data-model/fdo-types/0.3.0/digital-specimens/schema/event.json b/data-model/fdo-types/0.3.0/digital-specimens/schema/event.json index 27505e1..cbf24cf 100644 --- a/data-model/fdo-types/0.3.0/digital-specimens/schema/event.json +++ b/data-model/fdo-types/0.3.0/digital-specimens/schema/event.json @@ -1,5 +1,5 @@ { - "$id": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/event.json", + "$id": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/event.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$comment": "Event Version 0.3.0", "type": "object", @@ -272,12 +272,12 @@ "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/assertion.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/assertion.json" } }, "ods:Location": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/location.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/location.json" } }, "required": [ diff --git a/data-model/fdo-types/0.3.0/digital-specimens/schema/identification.json b/data-model/fdo-types/0.3.0/digital-specimens/schema/identification.json index 723ab48..c7c1a43 100644 --- a/data-model/fdo-types/0.3.0/digital-specimens/schema/identification.json +++ b/data-model/fdo-types/0.3.0/digital-specimens/schema/identification.json @@ -1,5 +1,5 @@ { - "$id": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/identification.json", + "$id": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/identification.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$comment": "Identification object Version 0.3.0", "type": "object", @@ -72,7 +72,7 @@ }, "ods:isVerifiedIdentification": { "type": "boolean", - "description": "If this is the accepted identification, based on https://rs.tdwg.org/dwc/terms/identificationVerificationStatus", + "description": "If this is the accepted identification, based on https://rs.tdwg.org/dwc/terms/identificationVerificationStatus" }, "dwc:identificationRemarks": { "type": "string", @@ -92,7 +92,7 @@ "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.1.0/shared-models/citation.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.1.0/shared-models/citation.json" } }, "ods:hasTaxonIdentification": { diff --git a/data-model/fdo-types/0.3.0/digital-specimens/schema/location.json b/data-model/fdo-types/0.3.0/digital-specimens/schema/location.json index 8c50250..187c2ac 100644 --- a/data-model/fdo-types/0.3.0/digital-specimens/schema/location.json +++ b/data-model/fdo-types/0.3.0/digital-specimens/schema/location.json @@ -1,5 +1,5 @@ { - "$id": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/location.json", + "$id": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/location.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$comment": "Location Version 0.3.0", "type": "object", diff --git a/data-model/fdo-types/0.3.0/digital-specimens/schema/material-entity.json b/data-model/fdo-types/0.3.0/digital-specimens/schema/material-entity.json index dbad662..1abf372 100644 --- a/data-model/fdo-types/0.3.0/digital-specimens/schema/material-entity.json +++ b/data-model/fdo-types/0.3.0/digital-specimens/schema/material-entity.json @@ -1,5 +1,5 @@ { - "$id": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/material-entity.json", + "$id": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/material-entity.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "$comment": "Material Entity Version 0.3.0, only if the part did not get a separate catalogue number, otherwise it will be a separate digital specimen itself", @@ -109,49 +109,49 @@ "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/identification.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/identification.json" } }, "ods:hasAssertion": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/assertion.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/assertion.json" } }, "ods:hasEntityRelationship": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/entity-relationship.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/entity-relationship.json" } }, "ods:hasCitation": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/citation.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/citation.json" } }, "ods:hasIdentifier": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/identifier.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/identifier.json" } }, "ods:hasEvent": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/event.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/event.json" } }, "ods:hasAgent": { "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/agent.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/agent.json" } } }, diff --git a/data-model/fdo-types/0.3.0/shared-models/schema/agent.json b/data-model/fdo-types/0.3.0/shared-models/schema/agent.json index a78f797..d9de708 100644 --- a/data-model/fdo-types/0.3.0/shared-models/schema/agent.json +++ b/data-model/fdo-types/0.3.0/shared-models/schema/agent.json @@ -73,7 +73,7 @@ "type": "array", "items": { "type": "object", - "$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/identifier.json" + "$ref": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/shared-models/identifier.json" } } },