Skip to content

Commit

Permalink
fix some examples:
Browse files Browse the repository at this point in the history
do not use string wrapper for bool or list values
  • Loading branch information
jh-RLI committed Oct 17, 2024
1 parent 368a3c0 commit 0ea4f79
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions metadata/v20/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,12 @@
},
"keywords": {
"description": "A list of string keywords to assist users searching for the package in catalogs.",
"example": "[example, ODbL-1.0, RLI, NFDI4Energy]",
"example": [
"example",
"ODbL-1.0",
"RLI",
"NFDI4Energy"
],
"type": "array",
"items": {
"description": "The keyword are used and managed in the OEP as table tags.",
Expand Down Expand Up @@ -190,7 +195,7 @@
},
"isActive": {
"description": "A boolean key that indicates if the embargo period is currently active. Must be changed to False on the embargo period end date.",
"example": "True",
"example": true,
"type": [
"boolean",
"null"
Expand Down Expand Up @@ -642,7 +647,10 @@
},
"roles": {
"description": "An array of strings describing the roles of the contributor.",
"example": "[creator, dataCurator]",
"example": [
"creator",
"dataCurator"
],
"type": "array",
"items": {
"description": "A role is RECOMMENDED to follow an established vocabulary, such as DataCite Metadata Schema\u2019s contributorRole or CreDIT. Useful roles to indicate are: creator, contact, and dataCurator.",
Expand Down

0 comments on commit 0ea4f79

Please sign in to comment.