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

Include JSON schema in definition API #1588

Open
lukavdplas opened this issue May 28, 2024 · 0 comments
Open

Include JSON schema in definition API #1588

lukavdplas opened this issue May 28, 2024 · 0 comments
Labels
backend changes to the django backend enhancement improvements to user functionality

Comments

@lukavdplas
Copy link
Contributor

lukavdplas commented May 28, 2024

We have a JSON schema for corpus definitions, but it can only be accessed through the source code.

Suggestions:

  • Include $schema property when exporting JSON definitions.
  • Allow the frontend to validate JSON uploads against the (current) schema.
  • Allow users to inspect the schema. (A URL to the JSON would be sufficient.)
@lukavdplas lukavdplas added enhancement improvements to user functionality backend changes to the django backend labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend changes to the django backend enhancement improvements to user functionality
Projects
None yet
Development

No branches or pull requests

1 participant