-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #825 from NeurodataWithoutBorders/remove-embargo
Remove embargo option from Dandiset creation
- Loading branch information
Showing
2 changed files
with
61 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import create from './json/dandi/create.json' assert { type: "json" } | ||
import create from './json/dandi/create_no_embargo.json' assert { type: "json" } | ||
const schema = structuredClone(create) | ||
|
||
export default schema |
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,60 @@ | ||
{ | ||
"order": [ | ||
"title", | ||
"archive", | ||
"embargo_status", | ||
"description", | ||
"license" | ||
], | ||
"properties": { | ||
|
||
"title": { | ||
"type": "string", | ||
"description": "Provide a title for this Dandiset. The title will appear in search results and at the top of the home page for this Dandiset, so make it concise and descriptive" | ||
}, | ||
|
||
"archive": { | ||
"type": "string", | ||
"enumLabels": { | ||
"staging": "Development Server", | ||
"main": "Main Archive" | ||
}, | ||
"enum": ["main", "staging"], | ||
"description": "Which DANDI server to upload to. <br><small><b>Note:</b> The Development Server is recommended for developers, or users learning to use DANDI</small>" | ||
}, | ||
|
||
"description": { | ||
"type": "string", | ||
"description": "Provide a description for this Dandiset. This will appear prominently under the title in the home page for this Dandiset." | ||
}, | ||
|
||
"license": { | ||
"type": "array", | ||
"description": "Provide a set of licenses for this Dandiset. Review the individual licenses and select the one that best fits your needs.", | ||
"items": { | ||
"type": "string", | ||
"enumLinks": { | ||
"spdx:CC0-1.0": "https://creativecommons.org/public-domain/cc0/", | ||
"spdx:CC-BY-4.0": "https://creativecommons.org/licenses/by/4.0/deed.en" | ||
}, | ||
"enumKeywords": { | ||
"spdx:CC0-1.0": ["No Rights Reserved"], | ||
"spdx:CC-BY-4.0": ["Attribution 4.0 International"] | ||
}, | ||
"enumLabels": { | ||
"spdx:CC0-1.0": "CC0 1.0", | ||
"spdx:CC-BY-4.0": "CC BY 4.0" | ||
}, | ||
"enum": [ | ||
"spdx:CC0-1.0", | ||
"spdx:CC-BY-4.0" | ||
] | ||
}, | ||
"maxItems": 1, | ||
"uniqueItems": true, | ||
"strict": true | ||
} | ||
|
||
}, | ||
"required": ["title", "description", "license", "archive"] | ||
} |