-
Notifications
You must be signed in to change notification settings - Fork 9
Update custom license #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
JR-1991
wants to merge
8
commits into
main
Choose a base branch
from
update-custom-license
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8c5feff
Use class-level model_fields in DataverseBase
JR-1991 9ee8c87
Add support for updating dataset license
JR-1991 f78e80d
Add JSON-LD conversion methods to license models
JR-1991 a6f9b2a
Remove unused rich import statements
JR-1991 844bb7d
Improve type checking and error handling in uploader
JR-1991 5611416
Add fixture for custom license upload
JR-1991 50e8a50
Update comments to reflect license changes in tests
JR-1991 a9fd251
Merge branch 'main' into update-custom-license
JR-1991 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,84 @@ | ||
| { | ||
| "datasetVersion": { | ||
| "termsOfUse": "This dataset is provided for research and educational purposes only. Commercial use is prohibited without explicit permission from the dataset owner.", | ||
| "confidentialityDeclaration": "This dataset contains no confidential or personally identifiable information. All data has been anonymized and aggregated for research purposes.", | ||
| "citationRequirements": "When using this dataset, please cite: Doe, John (2024). My dataset. [Dataset]. Available at: http://localhost:8080", | ||
| "conditions": "Users must acknowledge the source of the data and agree not to redistribute the dataset without permission. Any publications using this data should include proper attribution.", | ||
| "citation": "John Doe, 2025, My dataset, https://doi.org/10.5072/FK2/VJCLOP, Root, V1", | ||
| "metadataBlocks": { | ||
| "citation": { | ||
| "fields": [ | ||
| { | ||
| "multiple": true, | ||
| "typeClass": "compound", | ||
| "typeName": "author", | ||
| "value": [ | ||
| { | ||
| "authorName": { | ||
| "multiple": false, | ||
| "typeClass": "primitive", | ||
| "typeName": "authorName", | ||
| "value": "John Doe" | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "multiple": true, | ||
| "typeClass": "compound", | ||
| "typeName": "datasetContact", | ||
| "value": [ | ||
| { | ||
| "datasetContactName": { | ||
| "multiple": false, | ||
| "typeClass": "primitive", | ||
| "typeName": "datasetContactName", | ||
| "value": "John Doe" | ||
| }, | ||
| "datasetContactEmail": { | ||
| "multiple": false, | ||
| "typeClass": "primitive", | ||
| "typeName": "datasetContactEmail", | ||
| "value": "john@doe.com" | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "multiple": true, | ||
| "typeClass": "compound", | ||
| "typeName": "dsDescription", | ||
| "value": [ | ||
| { | ||
| "dsDescriptionValue": { | ||
| "multiple": false, | ||
| "typeClass": "primitive", | ||
| "typeName": "dsDescriptionValue", | ||
| "value": "This is a description of the dataset" | ||
| }, | ||
| "dsDescriptionDate": { | ||
| "multiple": false, | ||
| "typeClass": "primitive", | ||
| "typeName": "dsDescriptionDate", | ||
| "value": "2024" | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "multiple": true, | ||
| "typeClass": "controlledVocabulary", | ||
| "typeName": "subject", | ||
| "value": ["Other"] | ||
| }, | ||
| { | ||
| "multiple": false, | ||
| "typeClass": "primitive", | ||
| "typeName": "title", | ||
| "value": "My dataset" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.