Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
chore: Update JSON schema to allow text and URL in publications (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt authored Jul 23, 2024
1 parent 9e40d8a commit 18a125a
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions docs/services/metadata/schema-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@
"VIAF",
"Grid",
"ORCID",
"Creative Commons"
"Creative Commons",
"DOI",
"ARK"
],
"default": "URL"
},
Expand Down Expand Up @@ -264,7 +266,8 @@
"type": "array",
"items": {
"description": "Citation form of a publication.",
"type": "string"
"type": "object",
"$ref": "#/definitions/publication"
}
},
"grants": {
Expand Down Expand Up @@ -304,6 +307,28 @@
],
"additionalProperties": false
},
"publication": {
"type": "object",
"description": "A publication.",
"properties": {
"text": {
"type": "string",
"description": "The citation form of the publication."
},
"url": {
"description": "The URLs of the publication, preferably PIDs like DOI or ARK.",
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/url"
}
}
},
"required": [
"text"
],
"additionalProperties": false
},
"grant": {
"type": "object",
"description": "A financial grant.",
Expand Down

0 comments on commit 18a125a

Please sign in to comment.