Open lukavdplas opened 1 month ago
This PR improves our JSON definition handling by making the schema accessible outside the source code. We've added the schema to the exported JSON and included a URL for it in the API response. Now the frontend can validate uploads against the schema, and users can easily check it out. This should make working with corpus definitions much smoother for everyone.
https://github.com/UUDigitalHumanitieslab/I-analyzer/commit/3ccf0054142bd9bceba3e1c5cda279fbd4f59d3c
We have a JSON schema for corpus definitions, but it can only be accessed through the source code.
Suggestions:
$schema
property when exporting JSON definitions.