Skip to content

Commit

Permalink
rm created from zenodo schema for #91
Browse files Browse the repository at this point in the history
Plus set additionalProperties: false for both data and metadata
  • Loading branch information
mpadge committed Feb 19, 2024
1 parent 99e5613 commit 3b864bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: deposits
Title: A universal client for depositing and accessing research data
anywhere
Version: 0.2.1.054
Version: 0.2.1.055
Authors@R:
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/ropenscilabs/deposits",
"issueTracker": "https://github.com/ropenscilabs/deposits/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.2.1.054",
"version": "0.2.1.055",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
8 changes: 3 additions & 5 deletions inst/extdata/zenodo/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
"title": "zenodo metadata schema",
"type": "object",
"properties": {
"created": {
"type": "string",
"format": "date-time"
},
"doi": {
"type": "string"
},
Expand Down Expand Up @@ -292,6 +288,7 @@
"description",
"access_right"
],
"additionalProperties": false,
"if": {
"properties": {
"upload_type": { "const": "publication" }
Expand Down Expand Up @@ -353,5 +350,6 @@
"type": "string",
"default": ""
}
}
},
"additionalProperties": false
}

0 comments on commit 3b864bc

Please sign in to comment.