Skip to content

Commit

Permalink
update json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed Jul 22, 2024
1 parent b7892c6 commit c255239
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions docs/domain_model/schema-metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://dasch.swiss/schema/schema-metadata.json",
"title": "Metadata Schema",
"description": "Schema definition of DSP metadata",
Expand Down 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 c255239

Please sign in to comment.