Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.3.0 for specimen and media #94

Merged
merged 12 commits into from
Jun 7, 2024
6 changes: 5 additions & 1 deletion data-model/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ COPY ./fdo-types/0.1.0/mappings/schema schema-root/schemas/fdo-types/0.1.0/mappi
COPY ./fdo-types/0.1.0/source-systems/schema schema-root/schemas/fdo-types/0.1.0/source-systems
COPY ./fdo-types/0.1.0/virtual-collections/schema schema-root/schemas/fdo-types/0.1.0/vitual-collections

COPY ./fdo-types/0.2.0/digital-specimens/schema schema-root/schemas/digitalobjects/0.2.0/digital-specimens
COPY ./fdo-types/0.2.0/digital-specimens/schema schema-root/schemas/digitalobjects/0.2.0/digital-specimens

COPY ./fdo-types/0.3.0/digital-specimens/schema schema-root/schemas/fdo-types/0.3.0/digital-specimens
COPY ./fdo-types/0.3.0/shared-models/schema schema-root/schemas/fdo-types/0.3.0/shared-models
COPY ./fdo-types/0.3.0/digital-media-objects/schema schema-root/schemas/fdo-types/0.3.0/digital-media-objects
16 changes: 16 additions & 0 deletions data-model/fdo-types/0.3.0/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Release Notes
southeo marked this conversation as resolved.
Show resolved Hide resolved

New version 0.3.0 for all files concerning the digital specimen.

## ODS Prefix
ODS prefix for all terms which still weren't assigned to a ontology.

## Updated arrays to be plural
We decided to update the arrays to be plural, in line with recommendated practices.
This means that where Darwin Core Classes where available we wrapped this by an ods term with the plural.
For example, `dwc:Identification` becomes wrapped in `ods:Identifications` which now contains zero or more instances of `dwc:Identification`.
The tradeoff is that we added an additional layer of nesting, but we believe this is worth it to keep the terms in line with the Darwin Core standard.

southeo marked this conversation as resolved.
Show resolved Hide resolved
## Other
Small changes in description for some terms.
dwc:institutionName is not a Darwin Core term, converted to ods:institutionName.
southeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-media-objects/digital-entity.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "DigitalObject Version 0.3.0",
"type": "object",
"properties": {
"ods:id": {
"type": "string",
"description": "The unique digital identifier of the object",
"pattern": "https:\/\/hdl.handle.net\/20.5000.1025\/(.){3}-(.){3}-(.){3}",
"examples": [
"https://hdl.handle.net.org/20.5000.1025/XXX-XXX-XXX"
],
"$comment": "Does an image get a DOI or a handle?"
samleeflang marked this conversation as resolved.
Show resolved Hide resolved
},
"ods:version": {
"type": "integer",
"description": "The version of the object, each change generates a new version",
"minimum": 0,
southeo marked this conversation as resolved.
Show resolved Hide resolved
"examples": [
1
]
},
"ods:created": {
"type": "string",
"description": "The timestamp that the object version was created in DiSSCo",
"format": "date-time",
"examples": [
]
TomDijkema marked this conversation as resolved.
Show resolved Hide resolved
},
"ods:type": {
"type": "string",
"description": "The FDO type of the object",
"$comment": "Unclear what value goes here"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove/update comment, this should be a Handle or DOI

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

},
"dcterms:type": {
"type": "string",
southeo marked this conversation as resolved.
Show resolved Hide resolved
"description": "https://purl.org/dc/terms/type",
"enum": [
"Collection",
"Dataset",
"Event",
"Image",
"InteractiveResource",
"MovingImage",
"PhysicalObject",
"Service",
"Software",
"Sound",
"StillImage",
"Text"
]
},
"ac:accessUri": {
"type": "string",
"description": "https://rs.tdwg.org/ac/terms/accessURI",
"examples": [
]
},
"dwc:institutionId": {
"type": "string",
"description": "ROR or Wikidata identifier, based on https://rs.tdwg.org/dwc/terms/institutionID",
southeo marked this conversation as resolved.
Show resolved Hide resolved
"examples": [
"https://ror.org/015hz7p22"
],
"$comment": "Add format for ROR or Wikidata ID"
samleeflang marked this conversation as resolved.
Show resolved Hide resolved
},
"ods:institutionName": {
"type": "string",
"description": "Full museum name according to ROR or Wikidata",
"examples": [
"National Museum of Natural History"
],
"$comment": "Not part of DWC or the GBIF UM"
},
"xmpRights:webStatement": {
"type": "string",
"description": "https://ns.adobe.com/xap/1.0/rights/WebStatement",
"$comment": "What is the difference with dcterms:license?"
},
"dcterms:format": {
"type": "string",
"description": "https://purl.org/dc/terms/format",
"$comment": "Create a enum for this?"
southeo marked this conversation as resolved.
Show resolved Hide resolved
},
"dcterms:license": {
"type": "string",
"description": "https://purl.org/dc/terms/license",
"$comment": "Create a enum for this?"
},
"dcterms:description": {
"type": "string",
"description": "https://purl.org/dc/terms/description"
},
"dcterms:rights": {
southeo marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"description": "https://purl.org/dc/terms/rights",
"$comment": "What is the difference with dcterms:license?"
},
"ods:rightsUri": {
"type": "string",
"format": "uri",
"$comment": "What is the difference with dcterms:license? or dcterms:rights?. dcterms:rights is already recommended to be a URI"
southeo marked this conversation as resolved.
Show resolved Hide resolved
},
"dcterms:accessRights": {
"type": "string",
"description": "https://purl.org/dc/terms/accessRights",
"$comment": "What is the difference with dcterms:license?"
},
"dcterms:rightsHolder": {
"type": "string",
"description": "https://purl.org/dc/terms/rightsHolder",
"examples": [
]
},
"dcterms:source": {
"type": "string",
"description": "https://purl.org/dc/terms/source"
},
"ods:sourceUri": {
"type": "string",
"format": "uri",
"$comment": "It is already recommended to use URI in the dcterms:source"
southeo marked this conversation as resolved.
Show resolved Hide resolved
},
"dcterms:creator": {
"type": "string",
"description": "https://purl.org/dc/elements/1.1/creator"
},
"dcterms:created": {
"type": "string",
"description": "https://purl.org/dc/terms/created"
},
"dcterms:modified": {
"type": "string",
"description": "https://purl.org/dc/terms/modified"
},
"ods:Assertions": {
southeo marked this conversation as resolved.
Show resolved Hide resolved
"type": "array",
"items": {
"type": "object",
"ods:Assertion": {
southeo marked this conversation as resolved.
Show resolved Hide resolved
"type": "object",
samleeflang marked this conversation as resolved.
Show resolved Hide resolved
"$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/digital-specimens/assertions.json"
}
}
},
"ods:Citations": {
southeo marked this conversation as resolved.
Show resolved Hide resolved
"type": "array",
"items": {
"type": "object",
"ods:Citation": {
"type": "object",
"$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/citations.json"
}
}
},
"ods:Identifiers": {
southeo marked this conversation as resolved.
Show resolved Hide resolved
"type": "array",
"items": {
"type": "object",
"ods:Identifier": {
"type": "object",
"$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/identifiers.json"
}
}
},
"ods:EntityRelationships": {
"type": "array",
"items": {
"type": "object",
"ods:EntityRelationship": {
"type": "object",
"$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.3.0/shared-models/entity-relationships.json"
}
}
},
"ods:Agents": {
"type": "array",
"items": {
"type": "object",
"ods:Agent": {
"type": "object",
"$ref": "https://schemas.dissco.tech/schemas/digitalobjects/0.1.0/shared-models/agent.json"
}
}
}
},
"required": [
"ods:id",
"ods:version",
"ods:created",
"ac:accessUri",
"dcterms:license"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-types/0.3.0/digital-specimens/chronometric-age.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "DigitalObject Version 0.3.0",
"type": "object",
"properties": {
"chrono:verbatimChronometricAge": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/verbatimChronometricAge",
"examples": [
"27 BC to 14 AD"
]
},
"ods:verbatimChronometricAgeProtocol": {
"type": "string",
"$comment": "Unknown term"
},
"chrono:uncalibratedChronometricAge": {
southeo marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/uncalibratedChronometricAge",
"examples": [
"1510 +/- 25 14C yr BP"
]
},
"chrono:chronometricAgeConversionProtocol": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/chronometricAgeConversionProtocol",
"examples": [
"INTCAL13"
]
},
"chrono:earliestChronometricAge": {
"type": "integer",
"description": "https://rs.tdwg.org/chrono/terms/earliestChronometricAge",
"examples": [
100
]
},
"chrono:earliestChronometricAgeReferenceSystem": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/earliestChronometricAgeReferenceSystem",
"examples": [
"BP"
]
},
"chrono:latestChronometricAge": {
"type": "integer",
"description": "https://rs.tdwg.org/chrono/terms/latestChronometricAge",
"examples": [
12
]
},
"chrono:latestChronometricAgeReferenceSystem": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/latestChronometricAgeReferenceSystem",
"examples": [
"BCE"
]
},
"chrono:chronometricAgeUncertaintyInYears": {
"type": "integer",
"description": "https://rs.tdwg.org/chrono/terms/chronometricAgeUncertaintyInYears",
"examples": [
100
]
},
"chrono:chronometricAgeUncertaintyMethod": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/chronometricAgeUncertaintyMethod",
"examples": [
"Half of 95% confidence interval"
]
},
"chrono:materialDated": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/materialDated",
"examples": [
"charred wood"
]
},
"chrono:materialDatedId": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/materialDatedID",
"examples": [
"https://doi.org/10.22/XXX-XXX-XXX"
]
},
"chrono:materialDatedRelationship": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/materialDatedRelationship",
"examples": [
"sameAs"
]
},
"chrono:chronometricAgeDeterminedBy": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/chronometricAgeDeterminedBy",
"examples": [
"Michelle LeFebvre"
]
},
"chrono:chronometricAgeDeterminedDate": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/chronometricAgeDeterminedDate",
"examples": [
"2018-11-13T20:20:39+00:00"
]
},
"chrono:chronometricAgeReferences": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/chronometricAgeReferences",
"examples": [
"https://doi.org/10.1007/s10814-019-09140-x"
],
"$comment": "Or include citation object?"
},
"chrono:chronometricAgeRemarks": {
"type": "string",
"description": "https://rs.tdwg.org/chrono/terms/chronometricAgeRemarks",
"examples": [
"Beta Analytic number: 323913"
]
}
}
}
Loading
Loading