dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

Feature Request/Idea: JSON Schema Enhancements

Open sekmiller opened this issue 2 years ago • 0 comments

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?

  • #9464

sekmiller avatar Dec 05 '23 21:12 sekmiller