Skip to content
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

Feature Request/Idea: JSON Schema Enhancements #10169

Open
sekmiller opened this issue Dec 5, 2023 · 0 comments · May be fixed by #10543
Open

Feature Request/Idea: JSON Schema Enhancements #10169

sekmiller opened this issue Dec 5, 2023 · 0 comments · May be fixed by #10543
Assignees
Labels
Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) Type: Feature a feature request

Comments

@sekmiller
Copy link
Contributor

sekmiller commented Dec 5, 2023

Overview of the Feature Request
In version 6.1 we added a json schema for validating dataset json upload files. The first release only verifies the presence of valid json formatting as well as required elements and required fields (customized by collection). Enhancements which have been requested or should be contemplated.

  • Controlled vocabulary support - get valid responses and verify that it/they are present (validate that there may be only one response or multiple responses as specified by the datasetfieldtype)
  • field type checking - validate that the values provided conform to the type specified by the datasetfieldtype)
  • enhanced error messages - the current validation library does not provide helpful error messages for every exception. See if there are other ways to provide useful information to the user.

What kind of user is the feature intended for?
(Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin)
Users with edit dataset permission who wish to validate their dataset json prior to upload.

What inspired the request?
responses to the first release of the dataset schema which were made too late to be included in 6.1

What existing behavior do you want changed?
the get dataset schema api and validator

Any brand new behavior do you want to add to Dataverse?

Any open or closed issues related to this feature request?

@sekmiller sekmiller added the Type: Feature a feature request label Dec 5, 2023
@sekmiller sekmiller changed the title Feature Request/Idea: JSO Feature Request/Idea: JSON Schema Enhancements Dec 5, 2023
@sekmiller sekmiller added the Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) label Mar 14, 2024
@stevenwinship stevenwinship self-assigned this Apr 29, 2024
@stevenwinship stevenwinship linked a pull request May 7, 2024 that will close this issue
pdurbin added a commit that referenced this issue Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) Type: Feature a feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants