Skip to content

Commit

Permalink
add digital specimen/media 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
southeo committed Sep 16, 2024
1 parent 5f1514d commit b60cd19
Show file tree
Hide file tree
Showing 24 changed files with 1,055 additions and 73 deletions.
8 changes: 6 additions & 2 deletions data-model/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ COPY fdo-profile/annotation/1.0.0/schema schema-root/schemas/fdo-profile/annotat
COPY fdo-profile/handle-kernel/1.0.0/schema schema-root/schemas/fdo-profile/handle-kernel/1.0.0
COPY fdo-profile/data-mapping/1.0.0/schema schema-root/schemas/fdo-profile/data-mapping/1.0.0
COPY fdo-profile/machine-annotation-service/1.0.0/schema schema-root/schemas/fdo-profile/machine-annotation-service/1.0.0
COPY fdo-profile/doi-kernel/1.0.0/schema schema-root/schemas/fdo-profile/doi-kernel/1.0.0
COPY fdo-profile/source-system/1.0.0/schema schema-root/schemas/fdo-profile/source-system/1.0.0
COPY fdo-profile/digital-media/1.0.0/schema schema-root/schemas/fdo-profile/digital-media/1.0.0
COPY fdo-profile/digital-specimen/1.0.0/schema/ schema-root/schemas/fdo-profile/digital-specimen/1.0.0

# Latest FDO Profile schemas
COPY fdo-profile/annotation/1.0.0/schema schema-root/schemas/fdo-profile/annotation/latest
Expand All @@ -28,10 +32,10 @@ COPY fdo-profile/handle-kernel/1.0.0/schema schema-root/schemas/fdo-profile/hand
COPY fdo-profile/data-mapping/1.0.0/schema schema-root/schemas/fdo-profile/data-mapping/latest
COPY fdo-profile/machine-annotation-service/1.0.0/schema schema-root/schemas/fdo-profile/mas/latest
COPY fdo-profile/source-system/1.0.0/schema schema-root/schemas/fdo-profile/source-system/latest
COPY fdo-profile/digital-media/1.0.0/schema schema-root/schemas/fdo-profile/digital-media/latest
COPY fdo-profile/digital-specimen/1.0.0/schema/ schema-root/schemas/fdo-profile/digital-specimen/latest

COPY fdo-profile/digital-specimen/0.1.0/schema/ schema-root/schemas/fdo-profile/digital-specimen/latest
COPY fdo-profile/tettris-service/0.1.0/schema schema-root/schemas/fdo-profile/tettris-service/latest
COPY fdo-profile/digital-media/0.1.0/schema schema-root/schemas/fdo-profile/digital-media/latest
COPY fdo-profile/organisation/0.1.0/schema schema-root/schemas/fdo-profile/organisation/latest
COPY fdo-profile/tombstone/0.1.0/schema schema-root/schemas/fdo-profile/tombstone/latest
COPY fdo-profile/virtual-collection/0.1.0/schema schema-root/schemas/fdo-profile/virtual-collection/latest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"data": {
"type": "https:/doi.org/21.T11148/532ce6796e2828dd2be6",
"type": "https://doi.org/21.T11148/cf458ca9ee1d44a5608f",
"attributes": {
"locations": [
"https://coldb.mnhn.fr/catalognumber/mnhn/ec/ec23946"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"data": {
"type": "https://hdl.handle.net/21.T11148/ce794a6f4df42eb7e77e",
"type": "https://doi.org/21.T11148/ce794a6f4df42eb7e77e",
"attributes": {
"pidIssuer": "https://ror.org/04wxnsj81",
"issuedForAgent": "https://ror.org/0566bfb96",
"sourceDataStandard": "dwc"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"10320/loc": "<locations><location href=\"https://dev-orchestration.dissco.tech/api/v1/mapping/TEST/QDD-Y07-QK6\" id=\"0\" weight=\"1\"/></locations>",
"fdoProfile": "https://doi.org/21.T11148/ce794a6f4df42eb7e77e",
"fdoRecordLicenseId": "https://spdx.org/licenses/CC0-1.0.json",
"fdoRecordLicense": "https://spdx.org/licenses/CC0-1.0.json",
"fdoRecordLicenseName": "CC0 1.0 Universal",
"digitalObjectType": "https://doi.org/21.T11148/ce794a6f4df42eb7e77e",
"digitalObjectName": "Mapping",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
{
"10320/loc": "<locations><location href=\"https://dev-orchestration.dissco.tech/api/v1/mapping/TEST/QDD-Y07-QK6\" id=\"0\" weight=\"1\"/></locations>",
"fdoProfile": "https://hdl.handle.net/21.T11148/ce794a6f4df42eb7e77e",
"fdoRecordLicense": "https://creativecommons.org/publicdomain/zero/1.0/",
"digitalObjectType": "https://hdl.handle.net/21.T11148/ce794a6f4df42eb7e77e",
"digitalObjectName": "RDA-Collection-API",
"fdoProfile": "https://doi.org/21.T11148/ce794a6f4df42eb7e77e",
"fdoRecordLicenseId": "https://spdx.org/licenses/CC0-1.0.json",
"fdoRecordLicenseName": "CC0 1.0 Universal",
"digitalObjectType": "https://doi.org/21.T11148/ce794a6f4df42eb7e77e",
"digitalObjectName": "Mapping",
"pid": "https://hdl.handle.net/TEST/QDD-Y07-QK6",
"pidIssuer": "https://ror.org/04wxnsj81",
"pidIssuerName": "DataCite",
"issuedForAgent": "https://ror.org/0566bfb96",
"issuedForAgentName": "Naturalis Biodiversity Center",
"pidRecordIssueDate": "2023-09-01T13:05:08.375Z",
"pidRecordIssueNumber": 1,
"structuralType": "digital",
"pidStatus": "TOMBSTONE",
"pidStatus": "ACTIVE",
"sourceDataStandard": "dwc",
"tombstoneText": "Resource deleted by admin",
"tombstoneDate": "2024-11-17T11:57:02.933Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
"description": "Attributes of a request to the DiSSCo PID API to create a FDO Record for a generic Handle",
"$comment": "FDO Profile Version 1.0.0",
"properties": {
"pidIssuer": {
"type": "string",
"description": "In case of a DOI this is a PID for the DOI Registration Agency",
"examples": [
"https://hdl.handle.net/10.17183"
]
},
"locations": {
"type": "array",
"items": {
Expand All @@ -25,7 +18,7 @@
}
},
"required": [
"pidIssuer"
"sourceDataStandard"
],
"additionalProperties": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"attributes": {
"type": "object",
"$ref": "https://schemas.dissco.tech/schemas/fdo-profile/data-mapping/0.1.0/data-mapping-request-attributes.json"
"$ref": "https://schemas.dissco.tech/schemas/fdo-profile/data-mapping/1.0.0/data-mapping-request-attributes.json"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,10 @@
"digitalObjectType",
"digitalObjectName",
"pid",
"pidIssuer",
"pidIssuerName",
"pidRecordIssueDate",
"pidRecordIssueNumber",
"10320/loc",
"pidStatus"
"pidStatus",
"sourceDataStandard"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"data": {
"type": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"attributes": {
"referentName": "mediaphoto.mnhn.fr/media/1620403020391dDLZHWzqVzfk5Az3",
"mediaHost": "https://ror.org/0566bfb96",
"mediaHostName": "Naturalis Biodiversity Center",
"linkedDigitalObjectPid": "https://doi.org/10.22/GR0-WWV-3RT",
"linkedDigitalObjectType": "https://doi.org/21.T11148/d8de0819e144e4096645",
"primaryMediaId": "https://mediaphoto.mnhn.fr/media/1620403020391dDLZHWzqVzfk5Az3",
"dcterms:license": "https://spdx.org/licenses/CC0-1.0.json",
"dcterms:rightsHolder": "https://ror.org/0566bfb96"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"10320/loc": "<locations><location href=\"https://dev.dissco.tech/api/v1/annotations/TEST/FFR-RTL-B8K\" id=\"0\" weight=\"1\"/></locations>",
"fdoProfile": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"fdoRecordLicenseId": "https://spdx.org/licenses/CC0-1.0.json",
"fdoRecordLicenseName": "CC0 1.0 Universal",
"digitalObjectType": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"digitalObjectName": "DOI Kernel",
"pid": "https://hdl.handle.net/TEST/FFR-RTL-B8K",
"pidIssuer": "https://ror.org/04wxnsj81",
"pidIssuerName": "DataCite",
"issuedForAgent": "https://ror.org/0566bfb96",
"issuedForAgentName": "Naturalis Biodiversity Center",
"pidRecordIssueDate": "2023-11-17T11:57:02.933Z",
"pidRecordIssueNumber": 1,
"pidStatus": "ACTIVE",
"referentName": "Some digital object",
"mediaHost": "https://ror.org/0566bfb96",
"mediaHostName": "Naturalis Biodiversity Center",
"linkedDigitalObjectPid": "https://doi.org/10.22/GR0-WWV-3RT",
"linkedDigitalObjectType": "https://doi.org/21.T11148/d8de0819e144e4096645",
"primaryMediaId": "https://mediaphoto.mnhn.fr/media/1620403020391dDLZHWzqVzfk5Az3",
"dcterms:license": "https://spdx.org/licenses/CC0-1.0.json",
"dcterms:rightsHolder": "https://ror.org/0566bfb96"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-profile/digital-media/1.0.0/digital-media-request-attributes.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Attributes of a request to the DiSSCo PID API to create a FDO Record for Digital Media",
"$comment": "FDO Profile Version 1.0.0",
"properties": {
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "Additional URLs to be appended to the 10320/loc field"
},
"referentName": {
"type": "string",
"description": "A generic name for the type of object that the DOI refers to. This is different from digitalObjectType that points to a specific type, e.g. there can be different types of digital specimens that each have a slightly different metadata schema because they describe a different kind of specimen, like a botanical versus a geological specimen.",
"example": "digital specimen"
},
"mediaHost": {
"type": "string",
"description": "ROR or, in absence of a ROR, Wikidata Qnumber for the administrative organisation responsible for hosting the digital media object. Note that this can be DiSSCo also (use DiSSCo QID in that case). Notehe organisation may use an external repository like morphobank to host the object.",
"example": "https://ror.org/0566bfb96"
},
"mediaHostName": {
"type": "string",
"description": "Name for the administrative organisation hosting the digital media (name derived from ROR or Wikidata at the point of creating the FDO record).",
"example": "Naturalis Biodiversity Center",
"$comment": "idx = 401"
},
"linkedDigitalObjectPid": {
"type": "string",
"description": "Handle or DOI, the DO to which the media should be linked.",
"example": "https://hdl.handle.net/20.5000.1025/3X0-WA3-J8Q"
},
"linkedDigitalObjectType": {
"type": "string",
"description": "The DO type to which the media is linked, one of: digital specimen, agent, facility, supplementary material"
},
"primaryMediaId": {
"type": "string",
"description": "Primary ID supplied by the original provider for the media (compatible with ac:providerManagedID). the mediaUrl may be the ID itself, for example: https://data.nhm.ac.uk/media/93012a86-a00f-435a-a985-8e3c0ab6e51b",
"example": "ae00-a4gg-123b4"
},
"primaryMediaIdType": {
"enum": [
"Global",
"Local",
"Resolvable"
],
"description": "Vocabulary derived from DOI schema creationIdentifier.: PROPRIETARY IDENTIFIER if the identifier is custom made by the organisation or collection management system."
},
"primaryMediaIdName": {
"type": "string",
"example": "DAM nr"
},
"dcterms:type": {
"type": "string",
"description": "Type, describing the (primary) nature of the image. For example an image of a label will have primaryDcType text, an image of a specimen will have primaryDcType physical object. One of: text, image, sound, dataset, software, interactive, event, physical object + Audiovisual Core: 3D object type"
},
"dcterms:format": {
"type": "string",
"description": "(Previously primaryMediaObjectType) Dublin Core: Type, describing the (primary) nature of the image. For example an image of a label will have primaryDcType text, an image of a specimen will have primaryDcType physical object. One of: text, image, sound, dataset, software, interactive, event, physical object + Audiovisual Core: 3D object type"
},
"dcterms:license": {
"type": "string",
"description": "http://purl.org/dc/terms/license.",
"example": "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication"
},
"dcterms:rightsHolder": {
"type": "string",
"description": "If not present, defaults to mediaHost, https://purl.org/dc/terms/rightsHolder",
"example": "https://ror.org/0566bfb96"
}
},
"required": [
"referentName",
"mediaHost",
"mediaHostName",
"linkedDigitalObjectPid",
"linkedDigitalObjectType",
"primaryMediaId",
"dcterms:license",
"dcterms:rightsHolder"
],
"additionalProperties": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$id": "https://schemas.dissco.tech/schemas/fdo-profile/digital-media/0.1.0/digital-media-request.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Schema for creating new PID records for digital media using the DiSSCO PID API. API maps requests to digital-media.json profile",
"$comment": "FDO Profile Version 0.1.0",
"properties": {
"data": {
"type": "object",
"properties": {
"type": {
"const": "https://doi.org/21.T11148/bbad8c4e101e8af01115",
"description": "PID of the Digital Object Type"
},
"attributes": {
"type": "object",
"$ref": "https://schemas.dissco.tech/schemas/fdo-profile/digital-media/1.0.0/digital-media-request-attributes.json"
}
},
"required": [
"type",
"attributes"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}
Loading

0 comments on commit b60cd19

Please sign in to comment.