CrowdAnki
CrowdAnki copied to clipboard
Feature request - json-schema to validate the anki json file
First of all, many many thanks for this. Rated on the add-in site with below comment- "A big thumbs up!! Much more faster to update the decks in a text editor than application. Of course, it is for advanced users who are familiar with the data model. However, we need a schema file to validate the resultant anki json file to validate it so that we do not upload the corrupt json file. I am not sure schema exists, hence going to ask the developer for the same at the GitHub account."
IMHO, a baseline schema can be generated from the json file at "https://jsonschema.net/#/" and worked from there on. I use json-buddy json editor (http://www.json-buddy.com/json-schema-editor.htm) in which the schema can be referred and json can be validated for any semantic errors.
Hey, I'm glad you find the plugin useful 😄
There is no schema as of yet, but you're welcome to contribute one 😉 .
Is there any way to figure out what fields are required to make it work?