-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
1,055 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
data-model/fdo-profile/annotation/1.0.0/examples/example-annotation-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
data-model/fdo-profile/data-mapping/1.0.0/examples/example-data-mapping-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
data-model/fdo-profile/data-mapping/1.0.0/examples/example-data-mapping.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 6 additions & 10 deletions
16
data-model/fdo-profile/data-mapping/1.0.0/examples/example-tombstoned-data-mapping-fdo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
data-model/fdo-profile/digital-media/1.0.0/examples/example-digital-media-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
data-model/fdo-profile/digital-media/1.0.0/examples/example-digital-media.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
86 changes: 86 additions & 0 deletions
86
data-model/fdo-profile/digital-media/1.0.0/schema/digital-media-request-attributes.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
30 changes: 30 additions & 0 deletions
30
data-model/fdo-profile/digital-media/1.0.0/schema/digital-media-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
Oops, something went wrong.